/* =============================================
   Lazy-Load Placeholders — Static dark gradients
   Each nth-child gets a slightly different angle/accent
   ============================================= */

/* Hide unloaded images (SVG placeholder still in src) — wrapper gradient shows through */
img[src^="data:"] {
  opacity: 0 !important;
  transition: opacity 0.4s ease !important;
}

/* Reveal when real src is loaded (LiteSpeed swaps data-src into src) */
img:not([src^="data:"]) {
  opacity: 1 !important;
}

/* Base portfolio placeholder — visible dark with subtle gold accent */
.portfolio-image-wrapper {
  background: linear-gradient(135deg, #111111 0%, #1a1a1a 40%, rgba(201, 169, 98, 0.10) 70%, #131313 100%);
}

/* Variations per item — different angles and accent positions */
.portfolio-image-wrapper:nth-child(6n+2) {
  background: linear-gradient(160deg, #131313 0%, #1b1b1b 35%, rgba(201, 169, 98, 0.08) 60%, #111111 100%);
}
.portfolio-image-wrapper:nth-child(6n+3) {
  background: linear-gradient(110deg, #121212 0%, rgba(201, 169, 98, 0.09) 40%, #191919 65%, #111111 100%);
}
.portfolio-image-wrapper:nth-child(6n+4) {
  background: linear-gradient(190deg, #111111 0%, #1c1c1c 45%, rgba(180, 155, 80, 0.08) 75%, #131313 100%);
}
.portfolio-image-wrapper:nth-child(6n+5) {
  background: linear-gradient(145deg, #141414 0%, rgba(201, 169, 98, 0.10) 45%, #1a1a1a 70%, #111111 100%);
}
.portfolio-image-wrapper:nth-child(6n+6) {
  background: linear-gradient(125deg, #111111 0%, #1d1d1d 50%, rgba(190, 160, 85, 0.07) 80%, #131313 100%);
}

/* =============================================
   CSS Variables
   ============================================= */
:root {
  /* Neon Glass (used by notifications dropdown + mobile) */
  --hue1: 255;
  --hue2: 222;
  --border: 1px;
  --border-color: hsl(var(--hue2), 12%, 20%);
  --radius: 12px;
  --ease: cubic-bezier(0.5, 1, 0.89, 1);
  --neon-bg:
    linear-gradient(235deg, hsl(var(--hue1) 50% 10% / 0.8), hsl(var(--hue1) 50% 10% / 0) 33%),
    linear-gradient(45deg, hsl(var(--hue2) 50% 10% / 0.8), hsl(var(--hue2) 50% 10% / 0) 33%),
    linear-gradient(hsl(220deg 25% 4.8% / 0.66));
  --neon-shadow:
    hsl(var(--hue2) 50% 2%) 0px 10px 16px -8px,
    hsl(var(--hue2) 50% 4%) 0px 20px 36px -14px;

  /* Film Strip Header */
  --film-bg: #060608;
  --film-gold: #C9A962;
  --film-gold-dim: rgba(201, 169, 98, 0.25);
  --film-gold-glow: rgba(201, 169, 98, 0.4);
  --film-text: rgba(255, 255, 255, 0.45);
  --film-text-active: #ffffff;
  --film-clip-bg: rgba(255, 255, 255, 0.04);
  --film-clip-border: rgba(255, 255, 255, 0.08);
  --film-clip-active-bg: rgba(201, 169, 98, 0.12);
  --film-clip-active-border: rgba(201, 169, 98, 0.5);
  --film-perf: rgba(255, 255, 255, 0.06);
  --film-height: 72px;
}

/* Reset */
.offart-desktop-header *,
.offart-mobile-header * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* =============================================
   FILM STRIP HEADER — Desktop Only
   ============================================= */

.offart-desktop-header {
  font-family: 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  position: sticky;
  top: 0;
  z-index: 1000;
  /* Visible by default — never hidden */
  opacity: 1;
  visibility: visible;
}

/* --- Top Spacing (replaces sprocket perforations) --- */
.filmstrip-perforations {
  height: 6px;
  background: var(--film-bg);
}

/* --- Main Bar --- */
.filmstrip-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--film-height);
  padding: 6px 28px;
  background: var(--film-bg);
  position: relative;
}

/* --- Bottom Gold Border --- */
.filmstrip-bottom-border {
  height: 1px;
  background: linear-gradient(90deg, transparent 5%, var(--film-gold-dim) 30%, var(--film-gold-dim) 70%, transparent 95%);
}

/* --- Brand (Left) --- */
.filmstrip-brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.filmstrip-project-label {
  display: none;
}

.filmstrip-logo {
  display: block;
  height: 30px;
  width: auto;
}

/* --- Timeline (Center) --- */
.filmstrip-timeline {
  flex: 1;
  position: relative;
  margin: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
}

.timeline-track {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-50%);
  z-index: 1;
}

/* --- Clips --- */
.timeline-clips {
  display: flex;
  gap: 6px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.timeline-clip {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  flex: 1;
  cursor: pointer;
  transition: all 0.3s ease;
}

.clip-block {
  width: 100%;
  height: 38px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.clip-name {
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  transition: color 0.3s ease;
}


/* Contact clip — CTA highlight (distinct from active) */
.timeline-clip[data-page="contact-desktop"] .clip-name {
  color: rgba(201, 169, 98, 0.85);
  font-weight: 700;
  letter-spacing: 1.5px;
}
.timeline-clip[data-page="contact-desktop"]:hover .clip-name {
  color: #c9a962;
  text-shadow: 0 0 8px rgba(201, 169, 98, 0.4);
}

/* Active clip */
.timeline-clip.active .clip-block {
  background: var(--film-clip-active-bg);
  border-color: var(--film-clip-active-border);
  box-shadow: 0 0 16px rgba(201, 169, 98, 0.15), inset 0 0 12px rgba(201, 169, 98, 0.05);
}

.timeline-clip.active .clip-name {
  color: var(--film-gold);
}


/* Hover */
.timeline-clip:hover .clip-block {
  background: rgba(0, 180, 248, 0.06);
  border-color: rgba(0, 180, 248, 0.3);
}

.timeline-clip:hover .clip-name {
  color: var(--brand-blue, #00b4f8);
}

.timeline-clip.active:hover .clip-block {
  background: var(--film-clip-active-bg);
  border-color: var(--film-clip-active-border);
}

.timeline-clip.active:hover .clip-name {
  color: var(--film-gold);
}

/* --- Playhead --- */
.timeline-playhead {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  left: 0%;
  transition: left 0.5s ease;
}

.playhead-triangle {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid var(--film-gold);
  margin-bottom: -1px;
  filter: drop-shadow(0 0 4px var(--film-gold-glow));
}

.playhead-line {
  width: 2px;
  height: 54px;
  background: var(--film-gold);
  box-shadow: 0 0 8px var(--film-gold-glow), 0 0 16px rgba(201, 169, 98, 0.15);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

/* While the playhead travels it is "alive": brand blue, gold again at rest. */
.timeline-playhead.is-moving .playhead-line {
  background: var(--brand-blue, #00b4f8);
  box-shadow: 0 0 8px rgba(0, 180, 248, 0.6), 0 0 18px rgba(0, 180, 248, 0.25);
}
.timeline-playhead.is-moving .playhead-triangle {
  border-top-color: var(--brand-blue, #00b4f8);
  filter: drop-shadow(0 0 4px rgba(0, 180, 248, 0.6));
}

/* --- Expanded Clip (Inner Pages) --- */
.timeline-clip.expanded {
  flex: 3;
}

.timeline-clip.expanded .clip-block {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%
  );
}

.timeline-clip.expanded .clip-name {
  display: none;
}

.clip-subsections {
  display: flex;
  gap: 16px;
  padding: 0 24px;
  align-items: center;
  will-change: transform;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.clip-subsection-item {
  flex-shrink: 0;
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 500;
  /* 0.5 white = 5.21:1 on the active clip (0.3 was 2.71:1), still quieter than the clip names at 0.55 */
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
  transition: color 0.3s ease, transform 0.3s ease;
}

.clip-subsection-item.current {
  color: var(--film-gold);
  font-weight: 600;
  transform: scale(1.05);
}

/* --- Actions (Right) --- */
.filmstrip-actions {
  flex-shrink: 0;
  min-width: 50px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  position: relative;
  align-self: flex-start;
  margin-top: 9px;
}

.filmstrip-notifications-btn {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--film-gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  position: relative;
  font-size: 14px;
}

.filmstrip-notifications-btn:hover {
  background: rgba(201, 169, 98, 0.1);
  border-color: var(--film-gold-dim);
  color: var(--film-gold);
}

.filmstrip-notifications-btn .notification-dot {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  background: #ff5f57;
  border-radius: 50%;
  border: 2px solid var(--film-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(255, 95, 87, 0.4);
  animation: subtle-pulse 2s infinite;
  z-index: 10;
}

@keyframes subtle-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* --- Responsive (Desktop) --- */
@media (max-width: 1024px) {
  :root {
    --film-height: 64px;
  }
  .filmstrip-bar { padding: 0 16px; }
  .filmstrip-timeline { margin: 0 16px; }
  .clip-name { font-size: 9px; letter-spacing: 0.5px; }

  .timeline-clips { gap: 4px; }
  .clip-block { height: 34px; }
  .playhead-line { height: 48px; }
  .filmstrip-actions { margin-top: 7px; }
  .filmstrip-notifications-btn { width: 32px; height: 32px; }
}

/* Desktop Notifications Dropdown - Neon Glass */
.desktop-notifications-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  left: auto;
  width: 320px;
  max-height: 450px;
  overflow: visible !important;
  z-index: 9999 !important;

  /* NEON GLASS BASE STYLES */
  border-radius: var(--radius);
  border: var(--border) solid var(--border-color);
  padding: 0;

  /* Dark gradient background - More transparent glass effect */
  background:
    linear-gradient(
      235deg,
      hsl(var(--hue1) 50% 10% / 0.8),
      hsl(var(--hue1) 50% 10% / 0.2) 33%
    ),
    linear-gradient(
      45deg,
      hsl(var(--hue2) 50% 10% / 0.8),
      hsl(var(--hue2) 50% 10% / 0.2) 33%
    ),
    linear-gradient(hsl(220deg 25% 4.8% / 0.7)) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
  box-shadow:
    hsl(var(--hue2) 50% 2%) 0px 10px 16px -8px,
    hsl(var(--hue2) 50% 4%) 0px 20px 36px -14px;

  /* Transition states */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition: all 0.3s var(--ease);
  filter: blur(4px);
}

.desktop-notifications-dropdown.is-open {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
  filter: blur(0px);
}

/* Neon Glow Elements */
.desktop-notifications-dropdown .shine,
.desktop-notifications-dropdown .glow {
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  pointer-events: none;
  z-index: 1;
}

.desktop-notifications-dropdown .shine-top {
  top: 0;
}

.desktop-notifications-dropdown .shine-bottom {
  bottom: 0;
}

.desktop-notifications-dropdown .shine::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.5),
    transparent
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.desktop-notifications-dropdown.is-open .shine::before {
  opacity: 1;
  animation: shine-sweep 2s ease-in-out infinite;
}

@keyframes shine-sweep {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

.desktop-notifications-dropdown .glow {
  height: 2px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.desktop-notifications-dropdown.is-open .glow {
  opacity: 1;
  animation: glow-pulse 2s ease-in-out infinite;
}

.desktop-notifications-dropdown .glow-top {
  top: -1px;
  background: linear-gradient(
    90deg,
    transparent,
    hsl(var(--hue2), 70%, 60%),
    transparent
  );
  box-shadow: 0 0 10px hsl(var(--hue2), 70%, 60%);
}

.desktop-notifications-dropdown .glow-bottom {
  bottom: -1px;
  background: linear-gradient(
    90deg,
    transparent,
    hsl(var(--hue2), 70%, 60%),
    transparent
  );
  box-shadow: 0 0 10px hsl(var(--hue2), 70%, 60%);
}

.desktop-notifications-dropdown .glow-bright {
  height: 3px;
}

.desktop-notifications-dropdown .glow-bright.glow-top {
  box-shadow:
    0 0 20px hsl(var(--hue2), 80%, 70%),
    0 0 30px hsl(var(--hue2), 80%, 70%);
}

.desktop-notifications-dropdown .glow-bright.glow-bottom {
  box-shadow:
    0 0 20px hsl(var(--hue2), 80%, 70%),
    0 0 30px hsl(var(--hue2), 80%, 70%);
}

@keyframes glow-pulse {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

.notifications-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid var(--border-color);
  background: transparent !important;
  position: relative;
  z-index: 10;
}

.notifications-header h3 {
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  font-size: 14px !important;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 280px;
  text-transform: none !important;
}

.close-notifications {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #aaa;
  font-size: 16px;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: all 0.2s;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.close-notifications:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #00b4f8;
}

#desktop-notifications-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 350px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #555 transparent;
}

#desktop-notifications-list::-webkit-scrollbar {
  width: 6px;
}

#desktop-notifications-list::-webkit-scrollbar-track {
  background: transparent;
}

#desktop-notifications-list::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 3px;
}

#desktop-notifications-list::-webkit-scrollbar-thumb:hover {
  background: #777;
}

#desktop-notifications-list {
  padding: 10px;
}

#desktop-notifications-list li {
  --item-hue: var(--hue2);
  position: relative;
  padding: 12px 15px;
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 0.5em;
  border-radius: calc(var(--radius) * 0.5);
  border: 1px solid transparent;
  transition: all 0.3s ease-in;
  background: transparent;
  margin-bottom: 5px;
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);

  /* Neon hover effect gradient base */
  background: linear-gradient(
      90deg in oklch,
      hsl(var(--item-hue) 29% 13% / 0),
      hsl(var(--item-hue) 30% 15% / 0) 24% 32%,
      hsl(var(--item-hue) 5% 7% / 0) 95%
    )
    border-box;
}

#desktop-notifications-list li:hover {
  background: linear-gradient(
      90deg in oklch,
      hsl(var(--item-hue) 29% 13% / 0.5),
      hsl(var(--item-hue) 30% 15% / 0.5) 24% 32%,
      hsl(var(--item-hue) 5% 7% / 0) 95%
    )
    border-box;
  border-color: rgba(255, 255, 255, 0.1);
}

#desktop-notifications-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: calc(var(--radius) * 0.5) 0 0 calc(var(--radius) * 0.5);
  background: #666;
  flex-shrink: 0;
}

#desktop-notifications-list li[data-type="system"]::before {
  background: linear-gradient(45deg, #4caf50, #66bb6a);
  box-shadow: 0 0 8px rgba(76, 175, 80, 0.3);
}

#desktop-notifications-list li[data-type="robocute"]::before {
  background: linear-gradient(45deg, #2196f3, #42a5f5);
  box-shadow: 0 0 8px rgba(33, 150, 243, 0.3);
}

#desktop-notifications-list li[data-type="testimonial"]::before {
  background: linear-gradient(45deg, #ff9800, #ffb74d);
  box-shadow: 0 0 8px rgba(255, 152, 0, 0.3);
}

#desktop-notifications-list li[data-type="message"]::before {
  background: linear-gradient(45deg, #9c27b0, #ba68c8);
  box-shadow: 0 0 8px rgba(156, 39, 176, 0.3);
}

#desktop-notifications-list li:last-child {
  margin-bottom: 0;
}

/* Reset inner link styling to let LI handle it */
#desktop-notifications-list li a {
  background: transparent !important;
  padding: 0;
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  text-decoration: none;
  line-height: 1.4;
  display: flex;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

/* Force all text in dropdown to white */
.desktop-notifications-dropdown * {
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* ===== MOBILE HEADER ===== */
.offart-mobile-header {
  font-family:
    "Montserrat", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.mobile-top-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  z-index: 1101;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(201, 169, 98, 0.2);
  box-shadow: 0 1px 4px -2px rgba(201, 169, 98, 0.3);
  transition: box-shadow 0.3s ease;
  min-height: 60px !important;
  max-height: 60px !important;
}

.mobile-top-bar.is-scrolled {
  box-shadow:
    0 2px 8px rgba(0, 0, 0, 0.3),
    0 1px 4px -2px rgba(201, 169, 98, 0.25);
}

.header-left,
.header-right {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.header-left {
  gap: 10px;
}
.header-right {
  gap: 5px;
  position: relative;
}

.header-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  overflow: visible;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: calc(100% - 130px);
  max-width: 280px;
}

.mobile-logo img {
  height: 28px !important;
  max-height: 28px !important;
  width: auto !important;
}

.mobile-logo {
  margin-right: 10px !important; /* Gap between Logo and Dot */
}

.header-online-status {
  width: 8px;
  height: 8px;
  background-color: #28ca42;
  border-radius: 50%;
  box-shadow: 0 0 8px #28ca42;
  margin: 0 !important; /* Reset */
}

/* ── Mobile App Bar (Center 3D Logo) ── */
.mobile-app-bar {
  display: flex;
  align-items: center;
  justify-content: center;
}

.app-bar-brand {
  display: block;
  height: 26px;
  width: auto;
  max-width: 100%;
}

.app-bar-page {
  display: none;
}

.mobile-icon-btn {
  position: relative;
  background: none;
  border: none;
  color: #e0e0e0;
  font-size: 22px;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 8px;
  transition: all 0.2s ease;
  outline: none;
}

/* Notification bell — gold by default */
#mobile-notifications-btn {
  color: var(--film-gold);
}

.mobile-icon-btn:hover {
  background-color: rgba(0, 180, 248, 0.1);
  color: #00b4f8;
}

.mobile-icon-btn.active-icon {
  /* Remove solid color */
  background: rgba(0, 180, 248, 0.15) !important;
  color: #00b4f8 !important;
  /* Add Border & Glow */
  border: 1px solid rgba(0, 180, 248, 0.4) !important;
  box-shadow:
    0 0 15px rgba(0, 180, 248, 0.2),
    inset 0 0 10px rgba(0, 180, 248, 0.1) !important;
  border-radius: 50%;
  height: 40px; /* Ensure circular shape holds */
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

#mobile-notifications-btn {
  color: rgba(255, 255, 255, 0.55);
  font-size: 18px;
}

/* Bell in Header Right */
.header-right #mobile-notifications-btn {
  margin: 0 !important;
}

.menu-hint-text {
  font-size: 12px !important; /* mobile text floor: 12px for short uppercase labels (site check 24.09) */
  color: #e2cc8a !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  margin-right: 0 !important;
  line-height: 1 !important;
  text-transform: uppercase;
  opacity: 1 !important;
  text-shadow:
    0 0 8px rgba(201, 169, 98, 0.55),
    0 0 2px rgba(0, 0, 0, 0.8);
  transition:
    color 0.25s ease,
    text-shadow 0.25s ease,
    transform 0.25s ease;
}

.menu-hint-text.flash {
  opacity: 1 !important;
}

#mobile-menu-btn {
  color: #d4b96a;
  border: 1px solid rgba(201, 169, 98, 0.4);
  background: radial-gradient(
    100% 100% at 50% 20%,
    rgba(160, 130, 60, 0.18),
    rgba(20, 18, 12, 0.15)
  );
  box-shadow:
    0 0 12px rgba(201, 169, 98, 0.2),
    inset 0 0 10px rgba(201, 169, 98, 0.1);
  animation: menuSoftBreath 3.8s ease-in-out infinite;
}

#mobile-menu-btn i {
  filter: drop-shadow(0 0 6px rgba(201, 169, 98, 0.4));
}

#mobile-menu-btn.menu-attention {
  animation: menuAttentionPulse 1.1s ease-out;
  border-color: rgba(218, 190, 110, 0.85);
  box-shadow:
    0 0 18px rgba(201, 169, 98, 0.4),
    0 0 30px rgba(201, 169, 98, 0.2),
    inset 0 0 12px rgba(201, 169, 98, 0.18);
}

.menu-hint-text.menu-attention {
  color: #f0dda0 !important;
  transform: translateY(-1px);
  text-shadow:
    0 0 11px rgba(201, 169, 98, 0.9),
    0 0 20px rgba(201, 169, 98, 0.45);
}

@keyframes menuSoftBreath {
  0%,
  100% {
    box-shadow:
      0 0 10px rgba(201, 169, 98, 0.15),
      inset 0 0 10px rgba(201, 169, 98, 0.08);
  }
  50% {
    box-shadow:
      0 0 14px rgba(201, 169, 98, 0.3),
      inset 0 0 12px rgba(201, 169, 98, 0.15);
  }
}

@keyframes menuAttentionPulse {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}

.notification-dot {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 8px;
  height: 8px;
  background-color: #ff5f57;
  border-radius: 50%;
  border: 1px solid #1a1a1a;
  display: block;
}

/* Hide notification dot on homepage */
.is-homepage .notification-dot {
  display: none !important;
}

/* Mobile Menu */
.slide-in-menu {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  bottom: 0 !important;
  width: 290px;
  max-width: 85%;
  height: 100vh !important;
  height: 100dvh !important;
  max-height: none !important;
  /* Force Neon Glass Background */
  background:
    linear-gradient(235deg, rgba(30, 20, 50, 0.95), rgba(20, 20, 20, 0.4) 33%),
    linear-gradient(45deg, rgba(30, 50, 90, 0.95), rgba(20, 20, 20, 0.4) 33%),
    linear-gradient(rgba(10, 12, 16, 0.9)) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5) !important;
  border-right: 1px solid rgba(0, 180, 248, 0.1) !important;
  z-index: 9500 !important;
  transform: translateX(-100%);
  transition: transform 0.4s ease;
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
  -webkit-overflow-scrolling: touch !important;
}

.slide-in-menu.is-open {
  transform: translateX(0) !important;
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 16px 14px;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
  background: transparent !important;
}

.menu-branding {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-logo {
  height: 26px !important;
  max-height: 26px !important;
  width: auto !important;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(255, 255, 255, 0.04);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(0, 180, 248, 0.14);
}

.status-dot {
  width: 7px;
  height: 7px;
  background-color: #00b4f8;
  border-radius: 50%;
  box-shadow: 0 0 4px rgba(0, 180, 248, 0.6);
}

.status-text {
  font-size: 10px;
  color: #b8b8b8;
  font-weight: 600;
  letter-spacing: 1px;
}

.close-menu-btn {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #b0b0b0;
  font-size: 16px;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.25s ease;
  outline: none;
}

.close-menu-btn:hover {
  background: rgba(201, 168, 76, 0.08);
  border-color: rgba(201, 168, 76, 0.28);
  color: #d4b96a;
  transform: rotate(90deg);
}

.main-nav-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 16px 14px;
  flex-shrink: 0;
}

.main-nav-links a {
  color: #d8d8d8;
  text-decoration: none;
  font-size: 16px;
  padding: 11px 14px;
  border-radius: 10px;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.18s ease;
  display: block;
  outline: none;
  letter-spacing: 0.2px;
}

.main-nav-links a:hover {
  background-color: rgba(0, 180, 248, 0.08);
  color: var(--brand-blue, #00b4f8);
  transform: translateX(2px);
}

/* Contact link — CTA highlight in mobile menu */
.main-nav-links a.contact-cta-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
  padding: 11px 14px;
  font-size: 17px;
  line-height: 1.2;
  min-height: 46px;
  color: #d4b96a;
  font-weight: 600;
  border: 1px solid rgba(201, 169, 98, 0.25);
  background: rgba(201, 169, 98, 0.06);
  position: relative;
  overflow: hidden;
}
.main-nav-links a.contact-cta-link span {
  line-height: 1.2;
}
.main-nav-links a.contact-cta-link i {
  font-size: 14px;
  opacity: 0.7;
  transition: all 0.3s ease;
  transform: translateX(0);
}
.main-nav-links a.contact-cta-link:hover {
  background: rgba(201, 169, 98, 0.15);
  border-color: rgba(201, 169, 98, 0.45);
  color: #f0dda0;
  box-shadow:
    0 0 15px rgba(201, 169, 98, 0.15),
    inset 0 0 20px rgba(201, 169, 98, 0.08);
}
.main-nav-links a.contact-cta-link:hover i {
  opacity: 1;
  transform: translateX(3px);
  color: #f0dda0;
}
/* Contact stays gold even when active */
.main-nav-links a.contact-cta-link.active-link {
  background: rgba(201, 169, 98, 0.15) !important;
  border-color: rgba(201, 169, 98, 0.45) !important;
  color: #f0dda0 !important;
  box-shadow: 0 0 15px rgba(201, 169, 98, 0.2) !important;
  text-shadow: 0 0 5px rgba(201, 169, 98, 0.4) !important;
}

/* Contact link in social links section — premium gold CTA */
.social-links-section a.contact-cta-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  margin-bottom: 10px;
  color: #d4b96a !important;
  font-weight: 600;
  font-size: 16px;
  border: 1px solid rgba(201, 169, 98, 0.4);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 50%),
    linear-gradient(135deg, rgba(201, 169, 98, 0.16), rgba(201, 169, 98, 0.06)) !important;
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  letter-spacing: 0.2px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.social-links-section a.contact-cta-link:hover {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), transparent 50%),
    linear-gradient(135deg, rgba(201, 169, 98, 0.22), rgba(201, 169, 98, 0.10)) !important;
  border-color: rgba(201, 169, 98, 0.55);
  color: #f0dda0 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 4px 14px -6px rgba(201, 169, 98, 0.5);
  transform: none;
}
.social-links-section a.contact-cta-link i {
  font-size: 13px;
  opacity: 0.85;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.social-links-section a.contact-cta-link:hover i {
  opacity: 1;
  transform: translateX(3px);
  color: #f0dda0;
}

/* Active page — premium glass pill with glowing dot + subtle pulse */
/* Scoped to non-contact links; Contact CTA keeps its own gold active style */
.main-nav-links a.active-link:not(.contact-cta-link) {
  align-self: flex-start;            /* shrink to content width */
  padding: 9px 16px 9px 14px !important;
  border-radius: 999px !important;
  font-size: 16px !important;
  font-weight: 600;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  /* Two-layer gradient: top highlight + blue tint = glass surface */
  background:
    linear-gradient(180deg, rgba(255,255,255,0.05), transparent 45%),
    linear-gradient(135deg, rgba(0, 180, 248, 0.20), rgba(0, 180, 248, 0.05)) !important;
  border: 1px solid rgba(0, 180, 248, 0.38) !important;
  color: #ffffff !important;
  text-shadow: 0 0 6px rgba(0, 180, 248, 0.3);
  box-shadow:
    0 2px 8px -2px rgba(0, 180, 248, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  margin: 3px 0;
  letter-spacing: 0.2px;
}
.main-nav-links a.active-link:not(.contact-cta-link)::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00b4f8;
  box-shadow:
    0 0 0 2px rgba(0, 180, 248, 0.18),
    0 0 6px #00b4f8,
    0 0 12px rgba(0, 180, 248, 0.55);
  flex-shrink: 0;
  animation: offart-active-pulse 2.4s ease-in-out infinite;
}
@keyframes offart-active-pulse {
  0%, 100% {
    box-shadow:
      0 0 0 2px rgba(0, 180, 248, 0.18),
      0 0 6px #00b4f8,
      0 0 12px rgba(0, 180, 248, 0.5);
  }
  50% {
    box-shadow:
      0 0 0 3px rgba(0, 180, 248, 0.10),
      0 0 10px #00b4f8,
      0 0 18px rgba(0, 180, 248, 0.65);
  }
}
@media (prefers-reduced-motion: reduce) {
  .main-nav-links a.active-link:not(.contact-cta-link)::before {
    animation: none !important;
  }
  .main-nav-links a:hover,
  .social-links-section a:hover,
  .close-menu-btn:hover {
    transform: none !important;
  }
}

/* Bottom block — visual section with engraved gold divider */
.mobile-menu-bottom {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(201, 168, 76, 0.32);
  background: rgba(255, 255, 255, 0.04);
  /* Engraving effect: hairline highlight under the gold line + soft inset depth */
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 8px 16px -12px rgba(0, 0, 0, 0.5);
  position: relative;
}
/* Decorative blurred glow above the gold line — adds premium feel without strong color */
.mobile-menu-bottom::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, 0.55), transparent);
  filter: blur(0.5px);
  pointer-events: none;
}

.social-links-section {
  padding: 14px 16px 6px;
  flex-shrink: 0;
}

/* Unified section heading style — small gold accent dot before label */
.links-heading,
.links-heading--legal {
  font-size: 11px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.42);
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.links-heading::before,
.links-heading--legal::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  background: #c9a84c;
  border-radius: 1px;
  opacity: 0.75;
  flex-shrink: 0;
}

.social-links-section a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c5c5c5;
  text-decoration: none;
  font-size: 15px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: transparent;
  margin-bottom: 4px;
  letter-spacing: 0.2px;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.18s ease;
  outline: none;
}

.social-links-section a:hover {
  background-color: rgba(201, 168, 76, 0.06);
  border-color: rgba(201, 168, 76, 0.22);
  color: #d4b96a;
  transform: translateX(2px);
}

/* --- Mobile menu Legal section (bottom) --- */
.mobile-menu-legal {
  padding: 6px 16px calc(22px + env(safe-area-inset-bottom, 16px));
  margin-top: 8px;
  flex-shrink: 0;
  background: transparent;
}

.mobile-legal-link {
  display: flex !important;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.6) !important;
  text-decoration: none !important;
  font-size: 13px !important;
  padding: 8px 12px !important;
  border-radius: 8px;
  letter-spacing: 0.3px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.mobile-legal-link i {
  width: 16px;
  text-align: center;
  font-size: 12px;
  opacity: 0.55;
  color: #c9a84c;
  transition: opacity 0.2s ease;
}

.mobile-legal-link:hover {
  background-color: rgba(201, 168, 76, 0.06) !important;
  color: #c9a84c !important;
}

.mobile-legal-link:hover i {
  opacity: 1;
}

.mobile-menu-copyright {
  margin: 14px 12px 0 12px;
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.4px;
  text-align: center;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
}

.menu-content-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: 9400;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.4s ease,
    visibility 0.4s ease;
}

.menu-content-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

/* Mobile Notifications - תיקון מיקום */
.mobile-notifications-dropdown {
  position: fixed;
  top: 60px;
  right: 0px;
  width: 320px;
  max-width: calc(100vw - 30px);
  /* Deep Dark Neon Glass Background */
  background:
    linear-gradient(
      235deg,
      hsl(var(--hue1) 50% 10% / 0.9),
      hsl(var(--hue1) 50% 10% / 0.4) 33%
    ),
    linear-gradient(
      45deg,
      hsl(var(--hue2) 50% 10% / 0.9),
      hsl(var(--hue2) 50% 10% / 0.4) 33%
    ),
    linear-gradient(hsl(220deg 25% 4.8% / 0.8)) !important;
  backdrop-filter: blur(15px) !important;
  -webkit-backdrop-filter: blur(15px) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px;
  box-shadow:
    hsl(var(--hue2) 50% 2%) 0px 10px 16px -8px,
    hsl(var(--hue2) 50% 4%) 0px 20px 36px -14px !important;
  z-index: 9999999 !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  max-height: 400px;
  overflow: hidden;
  pointer-events: none;
  /* Ensure text is visible */
  color: white !important;
}

.mobile-notifications-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-notifications-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: transparent !important;
  border-radius: 12px 12px 0 0;
}

.mobile-notifications-dropdown h3 {
  color: #fff !important;
}

.mobile-notifications-header h3 {
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 600;
  margin: 0;
  text-align: center;
  line-height: 1.3;
  text-transform: none !important;
}

#notifications-list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 350px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #555 transparent;
}

#notifications-list::-webkit-scrollbar {
  width: 6px;
}

#notifications-list::-webkit-scrollbar-track {
  background: transparent;
}

#notifications-list::-webkit-scrollbar-thumb {
  background: #555;
  border-radius: 3px;
}

#notifications-list::-webkit-scrollbar-thumb:hover {
  background: #777;
}

#notifications-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  position: relative;
  padding-left: 0;
  margin-bottom: 0;
  border-radius: 0;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  min-height: 50px;
}

#notifications-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  border-radius: 0;
  background: #666;
  flex-shrink: 0;
}

#notifications-list li[data-type="system"]::before {
  background: linear-gradient(45deg, #4caf50, #66bb6a);
  box-shadow: 0 0 8px rgba(76, 175, 80, 0.3);
}

#notifications-list li[data-type="robocute"]::before {
  background: linear-gradient(45deg, #2196f3, #42a5f5);
  box-shadow: 0 0 8px rgba(33, 150, 243, 0.3);
}

#notifications-list li[data-type="testimonial"]::before {
  background: linear-gradient(45deg, #ff9800, #ffb74d);
  box-shadow: 0 0 8px rgba(255, 152, 0, 0.3);
}

#notifications-list li[data-type="message"]::before {
  background: linear-gradient(45deg, #9c27b0, #ba68c8);
  box-shadow: 0 0 8px rgba(156, 39, 176, 0.3);
}

#notifications-list li:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

#notifications-list li a,
#notifications-list li {
  display: flex;
  align-items: center;
  padding: 15px 20px 15px 24px;
  color: #ffffff !important;
  text-decoration: none;
  line-height: 1.4;
  transition: all 0.2s ease;
  background: rgba(0, 0, 0, 0.1);
  margin: 0;
  border-radius: 0;
  width: 100%;
  box-sizing: border-box;
}

#notifications-list li a:hover {
  background: rgba(0, 180, 248, 0.1);
  transform: translateX(2px);
}

/* Responsive */
.offart-mobile-header {
  display: none;
}

@media (max-width: 768px) {
  .offart-desktop-header {
    display: none !important;
  }
  .offart-mobile-header {
    display: block;
  }
  body {
    padding-top: 60px !important;
    background-color: #1a1a1a !important;
  }
  body.offart-modal-open {
    overflow: hidden;
  }

  .page-id-32,
  body[class*="page-id-32"],
  body[class*="faq"] {
    padding-top: 60px !important;
  }
}

@media (min-width: 769px) {
  .offart-desktop-header {
    display: block;
  }
  .offart-mobile-header {
    display: none;
  }
}

/* =============================================
   NARROW VIEWPORT — ≤ 374px
   ============================================= */
@media (max-width: 374px) {
  .mobile-top-bar {
    padding: 6px 8px !important;
    gap: 6px;
  }
  .mobile-icon-btn {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }
  .app-bar-brand {
    height: 20px;
  }
  .app-bar-page {
    font-size: 9px;
    letter-spacing: 0.8px;
  }
  .menu-hint-text {
    letter-spacing: 1px;
  }
  .slide-in-menu {
    width: min(280px, 92vw);
  }
  .menu-logo {
    max-width: 110px;
  }
  body {
    padding-top: 56px !important;
  }
}

/* =============================================
   STAGE 5 — NAVIGATION WAKE-UP SEQUENCE
   When user reaches Stage 5, header "wakes up"
   to signal: the site continues beyond the homepage.
   ============================================= */

/* --- Gold glow colors for wake-up --- */
:root {
  --wake-gold: rgba(212, 175, 85, 0.95);
  --wake-gold-soft: rgba(201, 169, 98, 0.5);
  --wake-gold-glow: rgba(201, 169, 98, 0.35);
}

/* --- Desktop: Clip glow animation (sequential wave) --- */
.timeline-clip.wake-glow .clip-block {
  animation: clipWakeGlow 0.8s ease-out forwards;
}

.timeline-clip.wake-glow .clip-name {
  animation: clipTextWake 0.8s ease-out forwards;
}

@keyframes clipWakeGlow {
  0% {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  }
  50% {
    border-color: var(--wake-gold);
    box-shadow:
      0 0 20px var(--wake-gold-glow),
      0 0 35px rgba(201, 169, 98, 0.2),
      inset 0 0 12px rgba(201, 169, 98, 0.1);
  }
  100% {
    border-color: var(--wake-gold-soft);
    box-shadow: 0 0 12px rgba(201, 169, 98, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  }
}

@keyframes clipTextWake {
  0% {
    color: rgba(255, 255, 255, 0.55);
  }
  50% {
    color: var(--wake-gold);
    text-shadow: 0 0 8px var(--wake-gold-glow);
  }
  100% {
    color: rgba(201, 169, 98, 0.85);
  }
}

/* --- Desktop: All clips lit together (unified moment) --- */
.timeline-clip.wake-all-lit .clip-block {
  border-color: var(--wake-gold-soft) !important;
  box-shadow:
    0 0 15px rgba(201, 169, 98, 0.25),
    inset 0 0 8px rgba(201, 169, 98, 0.08);
  transition: all 0.8s ease-out;
}

.timeline-clip.wake-all-lit .clip-name {
  color: rgba(201, 169, 98, 0.9) !important;
  transition: all 0.8s ease-out;
}

/* --- Desktop: Header "awake" sustained state --- */
.filmstrip-header.header-awake .filmstrip-bottom-border {
  background: linear-gradient(90deg, transparent 5%, var(--film-gold) 30%, var(--film-gold) 70%, transparent 95%);
  opacity: 0.6;
  transition: all 0.8s ease;
}

.filmstrip-header.header-awake .timeline-clip .clip-name {
  color: rgba(255, 255, 255, 0.7);
}

.filmstrip-header.header-awake .timeline-clip .clip-block {
  border-color: rgba(255, 255, 255, 0.18);
}

/* --- Mobile: Menu button Stage 5 wake-up (PROMINENT) --- */
#mobile-menu-btn.stage5-wake {
  animation: mobileMenuWake 3s ease-out forwards;
  border-color: #f0d080 !important;
  z-index: 100;
}

#mobile-menu-btn.stage5-wake i {
  animation: mobileIconWake 3s ease-out forwards;
}

.menu-hint-text.stage5-wake {
  animation: mobileHintWake 3s ease-out forwards;
}

/* Pulsing ring around menu button */
#mobile-menu-btn.stage5-wake::before {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border: 2px solid rgba(240, 210, 120, 0.6);
  border-radius: 12px;
  animation: menuRingPulse 1.5s ease-out 2;
}

@keyframes menuRingPulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.4;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

@keyframes mobileMenuWake {
  0% {
    transform: scale(1);
    box-shadow: 0 0 12px rgba(201, 169, 98, 0.2), inset 0 0 10px rgba(201, 169, 98, 0.1);
    background: radial-gradient(100% 100% at 50% 20%, rgba(160, 130, 60, 0.18), rgba(20, 18, 12, 0.15));
  }
  10%, 30% {
    transform: scale(1.12);
    box-shadow:
      0 0 40px rgba(240, 210, 120, 0.7),
      0 0 70px rgba(201, 169, 98, 0.4),
      0 0 100px rgba(201, 169, 98, 0.2),
      inset 0 0 20px rgba(240, 210, 120, 0.3);
    border-color: #f5e0a0 !important;
    background: radial-gradient(100% 100% at 50% 20%, rgba(240, 200, 100, 0.35), rgba(160, 130, 60, 0.2));
  }
  50% {
    transform: scale(1.08);
    box-shadow:
      0 0 35px rgba(220, 190, 100, 0.6),
      0 0 60px rgba(201, 169, 98, 0.35),
      inset 0 0 18px rgba(220, 190, 100, 0.25);
  }
  100% {
    transform: scale(1);
    box-shadow:
      0 0 20px rgba(201, 169, 98, 0.4),
      0 0 35px rgba(201, 169, 98, 0.2),
      inset 0 0 14px rgba(201, 169, 98, 0.15);
    border-color: rgba(230, 195, 110, 0.8) !important;
    background: radial-gradient(100% 100% at 50% 20%, rgba(180, 150, 70, 0.22), rgba(20, 18, 12, 0.15));
  }
}

@keyframes mobileIconWake {
  0% {
    filter: drop-shadow(0 0 6px rgba(201, 169, 98, 0.4));
    color: #d4b96a;
    transform: scale(1);
  }
  10%, 30% {
    filter: drop-shadow(0 0 18px rgba(255, 230, 150, 0.9));
    color: #fff8e0;
    transform: scale(1.15);
  }
  50% {
    filter: drop-shadow(0 0 14px rgba(240, 210, 120, 0.8));
    color: #f8eecc;
    transform: scale(1.1);
  }
  100% {
    filter: drop-shadow(0 0 10px rgba(220, 190, 100, 0.6));
    color: #e8d8a0;
    transform: scale(1);
  }
}

@keyframes mobileHintWake {
  0% {
    opacity: 0.6;
    color: #bba05a;
    transform: scale(1);
  }
  10%, 30% {
    opacity: 1;
    color: #fff8e0;
    text-shadow: 0 0 15px rgba(255, 230, 150, 0.8);
    transform: scale(1.1);
    letter-spacing: 2px;
  }
  50% {
    opacity: 1;
    color: #f0dda0;
    text-shadow: 0 0 12px rgba(220, 190, 100, 0.6);
  }
  100% {
    opacity: 0.9;
    color: #e0c880;
    text-shadow: 0 0 8px rgba(201, 169, 98, 0.4);
    transform: scale(1);
  }
}

/* --- Mobile: Header bar subtle glow --- */
.mobile-top-bar.stage5-awake {
  box-shadow: 0 2px 15px rgba(201, 169, 98, 0.15);
}


