/* homepage.css — cinematic scrolling home page (index.php only) */

html, body {
  height: auto !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(1400px 800px at 80% -10%, rgba(60, 0, 140, 0.35), transparent 60%),
    radial-gradient(1100px 700px at 5% 30%, rgba(0, 70, 160, 0.25), transparent 60%),
    #010208;
}

/* Canvas sits behind content; WebGL fallback keeps the gradient above */
canvas#spaceCanvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
  transition: opacity 3.5s ease;
}

body.no-webgl canvas#spaceCanvas { display: none; }

/* ---------- INTRO STATE: dark space first, chrome hidden ---------- */
body.intro canvas#spaceCanvas { opacity: 0; }

/* Pure black veil — fades away as the quote finishes forming */
.intro-veil {
  position: fixed;
  inset: 0;
  background: #000;
  z-index: 1;
  pointer-events: none;
  opacity: 1;
  transition: opacity 4s ease;
}

body:not(.intro) .intro-veil { opacity: 0; }

/* Frost over the whole scene — lifts only when the logo has arrived */
.frost-veil {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(2, 6, 18, 0.18);
  opacity: 1;
  transition: opacity 2.6s ease, backdrop-filter 2.6s ease;
}

body.defrost .frost-veil {
  opacity: 0;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
}

#burgerMenu, .float-stack, #musicPlayer {
  transition: opacity 1.6s ease;
}

body.intro #burgerMenu,
body.intro .float-stack,
body.intro #musicPlayer {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

/* Kill mainstyle breathing overlay (competes with the scene) */
body::before { display: none !important; }

/* ---------- SHARED TYPE (ink-style panels) ---------- */
.panel {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 90px 24px;
}

.eyebrow {
  font-size: clamp(10px, 1.6vw, 13px);
  letter-spacing: 8px;
  color: #6adfff;
  text-transform: uppercase;
  margin-bottom: 22px;
  text-shadow: 0 0 16px rgba(0, 200, 255, 0.7);
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.mega {
  font-size: clamp(34px, 7vw, 76px);
  line-height: 1.12;
  letter-spacing: 3px;
  color: #fff;
  text-transform: uppercase;
  text-shadow:
    0 0 26px rgba(0, 255, 255, 0.45),
    0 0 70px rgba(0, 150, 255, 0.3);
  margin-bottom: 26px;
  max-width: 1000px;
}

.panel-sub {
  color: #9fd8ff;
  font-size: clamp(12px, 2.2vw, 16px);
  letter-spacing: 1.5px;
  line-height: 1.75;
  max-width: 700px;
  margin: 0 auto 40px;
}

.btn-neon {
  display: inline-block;
  padding: 16px 46px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 4px;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(0, 255, 255, 0.75);
  background: linear-gradient(135deg, rgba(0, 90, 160, 0.8), rgba(0, 170, 230, 0.55));
  box-shadow: 0 0 26px rgba(0, 200, 255, 0.3);
  transition: all 0.35s ease;
  cursor: pointer;
}

.btn-neon:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 0 46px rgba(0, 255, 255, 0.6);
}

.btn-neon.ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: none;
}

.btn-neon.ghost:hover {
  border-color: #fff;
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.35);
}

/* ---------- HERO / INTRO ---------- */
.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 90px 24px 60px;
}

.hero blockquote {
  max-width: 900px;
  font-size: clamp(24px, 4.8vw, 48px);
  line-height: 1.35;
  color: #fff;
  text-shadow: none;
  margin-bottom: 18px;
  /* subtle frost, feathered softly at the edges */
  background: rgba(2, 6, 18, 0.22);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  border-radius: 34px;
  padding: 36px 48px;
  box-shadow: 0 0 90px 55px rgba(2, 6, 18, 0.22);
}

.hero blockquote .intro-line { display: block; }

.hero .quote-author {
  font-size: clamp(19px, 3.4vw, 24px);
  color: #9fd8ff;
  font-style: italic;
  letter-spacing: 2px;
  margin-bottom: 48px;
}

.quote-hide {
  transition: opacity 1s ease;
  opacity: 0 !important;
  pointer-events: none;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Word-by-word smoke assembly (self-starting, staggered inline) */
.word { display: inline-block; white-space: nowrap; }

.intro-line .word {
  display: inline-block;
  opacity: 0.01;
  -webkit-filter: blur(8px);
  filter: blur(8px);
  -webkit-transform: translate3d(0, 8px, 0);
  transform: translate3d(0, 8px, 0);
  -webkit-animation: smokeIn 1.2s ease forwards;
  animation: smokeIn 1.2s ease forwards;
}

.hero-tagline .word {
  display: inline-block;
  opacity: 0.01;
  -webkit-filter: blur(8px);
  filter: blur(8px);
  -webkit-transform: translate3d(0, 8px, 0);
  transform: translate3d(0, 8px, 0);
  -webkit-animation: smokeIn 1.2s ease forwards;
  animation: smokeIn 1.2s ease forwards;
}

@-webkit-keyframes smokeIn {
  to { opacity: 1; -webkit-filter: blur(0); filter: blur(0); -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
}

@keyframes smokeIn {
  to { opacity: 1; -webkit-filter: blur(0); filter: blur(0); -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
}

.ltr { display: inline-block; }

/* ENTER button appears after the letters finish */
.hero-cta {
  opacity: 0;
  transition: opacity 1.4s ease;
  pointer-events: none;
}

.hero-cta.show {
  opacity: 1;
  pointer-events: auto;
}

/* ENTER slowly pulses to invite the click */
.hero-cta.show #enterBtn {
  animation: enterPulse 2.6s ease-in-out infinite;
}

@keyframes enterPulse {
  0%, 100% {
    box-shadow: 0 0 24px rgba(0, 200, 255, 0.3);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 52px rgba(0, 255, 255, 0.85), 0 0 96px rgba(0, 200, 255, 0.5);
    transform: scale(1.045);
  }
}

/* Brand after ENTER: slogan dusts in big first, then the logo
   appears while the slogan scales down and settles beneath it */
.hero-brand { display: none; }

.hero-brand.show {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Logo space is reserved from the start — nothing shifts.
   The slogan dusts in below, then the logo slowly fades in, cinematic. */
/* Logo fades in DOWN — drifts from above into place */
.hero-brand {
  position: relative;
}

.hero-brand .hero-logo {
  width: min(520px, 82vw);
  height: auto;
  opacity: 0;
  filter: blur(24px);
  transform: translateY(-46px) scale(0.98);
  margin-bottom: 28px;
}

.hero-brand.settled .hero-logo {
  animation: logoDramaticReveal 4.0s ease-out forwards;
}

@keyframes logoDramaticReveal {
  0% {
    opacity: 0;
    filter: blur(24px);
    transform: translateY(-46px) scale(0.98);
  }
  50% {
    opacity: 1;
    /* Use drop-shadow instead of box-shadow to outline the PNG alpha channel correctly without a white background block */
    filter: blur(0px) drop-shadow(0 0 44px rgba(0, 220, 255, 0.85));
    transform: translateY(0) scale(1.02);
  }
  100% {
    opacity: 1;
    filter: blur(0px) drop-shadow(0 0 0px transparent);
    transform: translateY(0) scale(1);
  }
}

.mobile-br { display: none; }

.hero-brand .hero-tagline {
  display: none;
  /* use normal whitespace and wide width so it wraps nicely on mobile */
  white-space: normal;
  width: 95vw;
  text-align: center;
  position: absolute;
  top: 100%;
  left: 50%;
  font-size: clamp(18px, 2.5vw, 34px);
  font-weight: 700;
  letter-spacing: clamp(1px, 0.4vw, 4px);
  color: #ffffff;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(0, 0, 0, 1), 0 0 8px rgba(0, 0, 0, 0.8);
  opacity: 0;
  filter: blur(16px);
  transform: translateX(-50%) translateY(0);
  transition: opacity 1.8s ease, filter 1.8s ease, transform 1.3s ease;
}

.hero-brand .hero-tagline.dust-ready { display: block; }

/* slow fade IN (sharpens from blur) */
.hero-brand .hero-tagline.tag-in { opacity: 1; filter: blur(0); transform: translateX(-50%) translateY(0); }

/* slow blur OUT */
.hero-brand .hero-tagline.tag-out { opacity: 0; filter: blur(16px); }

/* CENTER variant — perfectly centers the big text on screen */
.hero-brand .hero-tagline.tag-center {
  top: 50%;
}
.hero-brand .hero-tagline.tag-center.tag-in {
  transform: translate(-50%, -50%);
}
.hero-brand .hero-tagline.tag-center:not(.tag-in) {
  transform: translate(-50%, -50%);
}

/* SMALL variant — starts low + invisible, then fades in UP */
.hero-brand .hero-tagline.tag-small {
  font-size: clamp(15px, 2.6vw, 27px);
  letter-spacing: clamp(2px, 0.5vw, 5px);
}

.hero-brand .hero-tagline.tag-small:not(.tag-in) {
  transform: translateX(-50%) translateY(22px);
}

/* SUBTAG variant — the extra message sitting below the tagline */
.hero-brand .hero-subtag {
  display: none;
  position: absolute;
  top: calc(100% + 40px); /* Just below the small tagline */
  left: 50%;
  width: 95vw;
  text-align: center;
  font-size: clamp(11px, 1.8vw, 18px);
  letter-spacing: clamp(1px, 0.2vw, 2px);
  color: #9fd8ff; /* slightly dimmer/different color to distinguish */
  text-transform: uppercase;
  opacity: 0;
  filter: blur(16px);
  transform: translateX(-50%) translateY(22px);
  transition: opacity 1.8s ease, filter 1.8s ease, transform 1.3s ease;
}

.hero-brand .hero-subtag.show {
  display: block;
}

.hero-brand .hero-subtag.sub-in {
  opacity: 1; filter: blur(0); transform: translateX(-50%) translateY(0);
}

/* Dust letters drift in from nothing (slow + easy) */
.hero-tagline .ltr {
  opacity: 0;
  filter: blur(14px);
  transform: translateY(-16px) scale(1.3);
  animation: dustIn 1.9s ease forwards;
}

@keyframes dustIn {
  to { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); }
}

.scroll-cue {
  position: absolute;
  bottom: 120px;
  left: 50%;
  transform: translateX(-50%);
  color: #6adfff;
  font-size: 11px;
  letter-spacing: 4px;
  opacity: 0.8;
  animation: cueBob 2.2s ease-in-out infinite;
  cursor: pointer; /* anchors down to the next section */
}

.scroll-cue:hover { color: #fff; }

.scroll-cue::after {
  content: '▾';
  display: block;
  font-size: 20px;
  margin-top: 4px;
}

@keyframes cueBob {
  0%, 100% { transform: translate(-50%, 0); opacity: 0.8; }
  50% { transform: translate(-50%, 10px); opacity: 0.4; }
}

/* Before exploring, everything below the intro stays hidden */
body.pre-explore .panel,
body.pre-explore .home-footer,
body.pre-explore .scroll-cue { display: none; }

/* ---------- SERVICE CARDS ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
  text-align: center;
  width: min(1150px, 100%);
  margin: 0 auto;
}

.svc-card {
  background: rgba(8, 14, 32, 0.72);
  border: 1px solid rgba(120, 200, 255, 0.16);
  border-radius: 20px;
  padding: 28px 22px;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.4s, box-shadow 0.4s;
}

.svc-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 255, 255, 0.7);
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.5), 0 0 50px rgba(0, 255, 255, 0.15);
}

.svc-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 27px;
  background: linear-gradient(135deg, rgba(0, 120, 200, 0.35), rgba(120, 0, 220, 0.3));
  border: 1px solid rgba(140, 220, 255, 0.35);
  box-shadow: 0 0 26px rgba(0, 180, 255, 0.25);
}

.svc-card h3 {
  color: #fff;
  font-size: clamp(14px, 2vw, 17px);
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  text-shadow: 0 0 14px rgba(0, 255, 255, 0.7);
}

.svc-card p {
  color: #b9e2ff;
  font-size: 12.5px;
  line-height: 1.65;
  letter-spacing: 0.5px;
}

.svc-card .svc-link {
  display: inline-block;
  margin-top: 14px;
  color: #00ccff;
  font-size: 11.5px;
  letter-spacing: 2px;
  text-decoration: none;
  text-shadow: 0 0 14px rgba(0, 204, 255, 0.8);
  transition: all 0.3s ease;
}

.svc-card .svc-link:hover { color: #fff; text-shadow: 0 0 20px #fff; }

/* ---------- GAMES SHOWCASE ---------- */
.games-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  gap: 22px;
  width: min(1150px, 100%);
  margin: 0 auto 40px;
}

/* Single featured game */
.games-showcase.featured-one {
  display: flex;
  justify-content: center;
}

.games-showcase.featured-one .gshow-card {
  width: min(400px, 88vw);
}

.panel-sub strong {
  color: #ff7ae8;
  text-shadow: 0 0 14px rgba(255, 43, 214, 0.7);
}

.gshow-card {
  display: block;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.gshow-card:hover {
  transform: translateY(-10px);
  border-color: #00ffff;
  box-shadow: 0 24px 50px rgba(0, 255, 255, 0.22), 0 0 60px rgba(0, 255, 255, 0.12);
}

.gshow-cover {
  aspect-ratio: 630 / 500;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.gshow-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gshow-cover span {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 0 26px rgba(255, 255, 255, 0.45);
  letter-spacing: 3px;
}

.cover-rdr {
  background:
    radial-gradient(circle at 30% 30%, rgba(0, 255, 255, 0.35), transparent 55%),
    linear-gradient(140deg, #021a33, #063a5e 55%, #021a33);
}
.cover-mn {
  background:
    radial-gradient(circle at 70% 25%, rgba(255, 0, 170, 0.4), transparent 55%),
    linear-gradient(140deg, #1a0433, #3d0a5e 55%, #12042b);
}
.cover-ffg {
  background:
    radial-gradient(circle at 35% 70%, rgba(255, 170, 0, 0.35), transparent 55%),
    linear-gradient(140deg, #330a04, #5e1e0a 55%, #2b0a04);
}
.cover-sna {
  background:
    radial-gradient(circle at 60% 40%, rgba(140, 255, 100, 0.18), transparent 55%),
    linear-gradient(140deg, #04110a, #0e2b16 55%, #030d08);
}

.gshow-info { padding: 16px 12px 18px; text-align: center; }

.gshow-info h4 {
  color: #fff;
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 8px;
  text-shadow: 0 0 14px rgba(0, 255, 255, 0.7);
}

.gshow-status {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 9.5px;
  letter-spacing: 2px;
}

.gshow-status.live {
  border: 1px solid rgba(60, 255, 140, 0.6);
  background: rgba(0, 90, 40, 0.4);
  color: #6dffab;
}

.gshow-status.dev {
  border: 1px solid rgba(255, 210, 90, 0.6);
  background: rgba(90, 60, 0, 0.4);
  color: #ffd95e;
}

/* ---------- POTOS HRS PRODUCT ---------- */
.potos-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0 auto 40px;
}

.potos-stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }

.potos-stat .ps-num {
  font-size: clamp(30px, 5vw, 48px);
  font-weight: 900;
  color: #fff;
  text-shadow: 0 0 20px rgba(0, 255, 255, 0.7);
}

.potos-stat .ps-lbl {
  font-size: 11px;
  letter-spacing: 1.5px;
  color: #9fd8ff;
  text-transform: uppercase;
}

.potos-preview {
  width: min(1000px, 100%);
  margin: 0 auto 34px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 255, 255, 0.4);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(0, 200, 255, 0.15);
}

.potos-browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(0, 20, 40, 0.9);
  border-bottom: 1px solid rgba(0, 255, 255, 0.25);
}

.pb-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(120, 200, 255, 0.4);
}
.pb-dot:nth-child(1) { background: #ff5f57; }
.pb-dot:nth-child(2) { background: #ffbd2e; }
.pb-dot:nth-child(3) { background: #28c940; }

.pb-url {
  margin-left: 12px;
  font-size: 12px;
  letter-spacing: 1px;
  color: #7dfcff;
}

.potos-frame {
  width: 100%;
  height: 60vh;
  min-height: 380px;
  border: 0;
  display: block;
  background: #fff;
}

.potos-features {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 760px;
  margin: 0 auto 34px;
}

.potos-features span {
  font-size: 12px;
  letter-spacing: 0.6px;
  color: #cdeeff;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid rgba(0, 255, 255, 0.25);
  background: rgba(8, 14, 32, 0.6);
}

@media (max-width: 768px) {
  .potos-stats { gap: 26px; }
  .potos-frame { height: 52vh; min-height: 300px; }
}

/* ---------- EXPLORE STRIP ---------- */
.explore-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  gap: 20px;
  width: min(1100px, 100%);
  margin: 0 auto;
}

.explore-card {
  display: block;
  text-decoration: none;
  background: rgba(8, 14, 32, 0.72);
  border: 1px solid rgba(120, 200, 255, 0.16);
  border-radius: 18px;
  padding: 26px 22px;
  text-align: center;
  transition: all 0.4s ease;
}

.explore-card:hover {
  border-color: rgba(0, 255, 255, 0.7);
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 255, 255, 0.12);
}

.explore-card .x-emoji { font-size: 28px; display: block; margin-bottom: 12px; }

.explore-card h4 {
  color: #fff;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 8px;
  text-shadow: 0 0 12px rgba(0, 255, 255, 0.6);
}

.explore-card p { color: #9fd8ff; font-size: 11.5px; letter-spacing: 1px; line-height: 1.6; }

/* ---------- SCROLL REVEAL ---------- */
[data-reveal] {
  opacity: 0;
  translate: 0 70px;
  transition: opacity 1.7s ease, translate 1.7s ease;
}

[data-reveal].visible {
  opacity: 1;
  translate: 0 0;
}

/* ---------- FOOTER ---------- */
.home-footer {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 14px 20px 20px;
  border-top: 1px solid rgba(120, 200, 255, 0.15);
  background: rgba(2, 4, 14, 0.6);
}

.home-footer nav {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.home-footer nav a {
  color: #9fd8ff;
  font-size: 10.5px;
  letter-spacing: 1.5px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.home-footer nav a:hover { color: #fff; }

.home-footer .copyright {
  color: #ffffff;
  font-size: 10px;
  letter-spacing: 1px;
}

/* ---------- COOKIE BANNER ---------- */
.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 100002;
  width: min(430px, calc(100vw - 40px));
  background: rgba(4, 12, 30, 0.97);
  border: 1px solid rgba(106, 223, 255, 0.5);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 40px rgba(0, 200, 255, 0.12);
  padding: 20px 20px 18px;
  color: #e7f7ff;
  display: none;
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

.cookie-banner.active { display: block; }

.cookie-banner h4 {
  font-size: 15px;
  letter-spacing: 1.5px;
  color: #6adfff;
  margin-bottom: 10px;
}

.cookie-banner > p {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.2px;
  color: #cdeeff;
  margin-bottom: 14px;
}

.cookie-banner a { color: #00ccff; text-decoration: underline; }
.cookie-banner a:hover { color: #fff; }

.cookie-option {
  border: 1px solid rgba(120, 200, 255, 0.2);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.cookie-option label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 13px;
  letter-spacing: 0.2px;
  color: #fff;
  cursor: pointer;
}

.cookie-option input[type="checkbox"] {
  width: 17px;
  height: 17px;
  accent-color: #00b7e6;
  cursor: pointer;
  flex: none;
}

.cookie-option input[type="checkbox"]:disabled { cursor: not-allowed; }

.cookie-option .cookie-desc {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 12px;
  line-height: 1.5;
  color: #a8d8f0;
  letter-spacing: 0.2px;
  margin-top: 8px;
}

.cookie-option .always-on {
  margin-left: auto;
  font-size: 9.5px;
  letter-spacing: 1.5px;
  color: #7de9ff;
  border: 1px solid rgba(0, 255, 255, 0.4);
  border-radius: 999px;
  padding: 3px 10px;
  white-space: nowrap;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.cookie-actions button {
  flex: 1;
  min-width: 130px;
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 11.5px;
  letter-spacing: 1.5px;
  cursor: pointer;
  border: 1px solid #6adfff;
  background: linear-gradient(135deg, rgba(0, 90, 160, 0.9), rgba(0, 170, 230, 0.7));
  color: #fff;
  transition: all 0.3s ease;
}

.cookie-actions button:hover { box-shadow: 0 0 24px rgba(0, 200, 255, 0.5); }

.cookie-actions .cookie-save {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.3);
}

/* ---------- INTRO GATE (cookie consent + audio unlock) ---------- */
.intro-gate {
  position: fixed;
  inset: 0;
  z-index: 200001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 2, 8, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: opacity 0.6s ease;
}

.intro-gate.closing { opacity: 0; pointer-events: none; }

.intro-gate-card {
  width: min(460px, 94vw);
  text-align: center;
  color: #dff6ff;
  background:
    linear-gradient(rgba(0, 30, 50, 0.25), rgba(0, 8, 20, 0.45)),
    rgba(3, 9, 22, 0.97);
  border: 1px solid rgba(0, 255, 255, 0.5);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 60px rgba(0, 200, 255, 0.2);
  padding: 34px 30px 28px;
  animation: svcModalIn 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.intro-gate-logo {
  width: 120px;
  max-width: 44vw;
  height: auto;
  margin: 0 auto 18px;
  filter: drop-shadow(0 0 20px rgba(0, 200, 255, 0.6));
}

.intro-gate-card h4 {
  font-size: 16px;
  letter-spacing: 2px;
  color: #6adfff;
  margin-bottom: 12px;
  text-shadow: 0 0 14px rgba(0, 200, 255, 0.6);
}

.intro-gate-card p {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.2px;
  color: #cdeeff;
  margin-bottom: 18px;
}

.intro-gate-card a { color: #00ccff; text-decoration: underline; }

.gate-analytics {
  display: flex;
  align-items: center;
  gap: 9px;
  justify-content: center;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 13px;
  letter-spacing: 0.2px;
  color: #b9e2ff;
  margin-bottom: 22px;
  cursor: pointer;
}

.gate-analytics input {
  width: 16px;
  height: 16px;
  accent-color: #00b7e6;
  cursor: pointer;
}

.intro-gate-card .btn-neon {
  width: 100%;
  margin-bottom: 12px;
  padding: 15px;
  font-size: 13px;
}

.gate-decline {
  background: none;
  border: none;
  color: #7fa8c4;
  font-size: 11px;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.gate-decline:hover { color: #fff; }

/* ---------- FLOATING WIDGETS (chatbot + scroll top) ---------- */
/* Music control — vertical volume slider + stop, themed */
.music-ctrl { position: relative; display: flex; justify-content: center; }

.music-pop {
  position: absolute;
  right: 50%;
  transform: translateX(50%) translateY(8px);
  bottom: calc(100% + 12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px 12px;
  border-radius: 16px;
  background: rgba(3, 9, 22, 0.96);
  border: 1px solid rgba(0, 255, 255, 0.45);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 200, 255, 0.2);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.music-ctrl.open .music-pop {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(50%) translateY(0);
}

/* vertical range */
.music-pop input[type="range"] {
  appearance: auto; /* Fallback for modern browsers */
  background: transparent;
  width: 6px;
  height: 120px;
  accent-color: #00e5ff;
  background: transparent;
  cursor: pointer;
}

.music-pop input[type="range"]::-webkit-slider-runnable-track {
  width: 6px;
  border-radius: 4px;
  background: linear-gradient(to top, #00e5ff, rgba(0, 90, 160, 0.5));
}

.music-pop input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid #00e5ff;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.8);
  margin-left: -5px;
}

.music-pop button {
  border: 1px solid rgba(255, 90, 110, 0.7);
  background: rgba(90, 10, 25, 0.6);
  color: #ffb3c0;
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 10px;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.music-pop button:hover {
  box-shadow: 0 0 16px rgba(255, 80, 100, 0.6);
  color: #fff;
}

.float-stack {
  position: fixed;
  right: 18px;
  bottom: 24px; /* pushed to the bottom */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 100001;
}

.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid rgba(0, 255, 255, 0.7);
  background: linear-gradient(135deg, rgba(0, 60, 120, 0.92), rgba(0, 140, 200, 0.85));
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.55), 0 0 24px rgba(0, 200, 255, 0.35);
  transition: all 0.3s ease;
}

.float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 40px rgba(0, 255, 255, 0.6);
}

#chatbotBtn { position: relative; }

#chatbotBtn::after {
  content: '';
  position: absolute;
  top: 4px;
  right: 4px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2bff88;
  box-shadow: 0 0 10px #2bff88;
}

#scrollTopBtn {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  font-size: 20px;
}

#scrollTopBtn.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* ---------- CHATBOT — FUTURISTIC CONSOLE ---------- */
.chat-window {
  position: fixed;
  right: 18px;
  bottom: 90px;
  width: min(390px, calc(100vw - 30px));
  height: min(500px, 62vh);
  background:
    linear-gradient(rgba(0, 30, 50, 0.25), rgba(0, 8, 20, 0.4)),
    rgba(2, 8, 20, 0.96);
  border: 1px solid rgba(0, 255, 255, 0.55);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.7), 0 0 50px rgba(0, 200, 255, 0.2),
              inset 0 0 40px rgba(0, 150, 255, 0.06);
  z-index: 100001;
  display: none;
  flex-direction: column;
  overflow: hidden;
}

/* CRT scanlines */
.chat-window::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 255, 255, 0.035) 0px,
    rgba(0, 255, 255, 0.035) 1px,
    transparent 1px,
    transparent 4px
  );
  mix-blend-mode: screen;
}

.chat-window.open { display: flex; }

.chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px 10px;
  background: linear-gradient(90deg, rgba(0, 90, 140, 0.5), rgba(60, 0, 140, 0.35) 70%, transparent);
  border-bottom: 1px solid rgba(0, 255, 255, 0.45);
}

.chat-header .bot-avatar {
  width: 34px;
  height: 34px;
  border-radius: 4px;
  background: rgba(0, 20, 40, 0.9);
  border: 1px solid rgba(0, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 0 14px rgba(0, 255, 255, 0.3);
}

.chat-header .chat-title {
  flex: 1;
  font-size: 12px;
  letter-spacing: 2.5px;
  color: #7dfcff;
  text-shadow: 0 0 12px rgba(0, 255, 255, 0.8);
}

.chat-header .chat-status {
  display: block;
  font-size: 8.5px;
  letter-spacing: 2px;
  color: #2bff88;
  margin-top: 3px;
  animation: statusBlink 2.4s infinite;
}

@keyframes statusBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.chat-close {
  background: none;
  border: 1px solid rgba(0, 255, 255, 0.35);
  border-radius: 4px;
  color: #9fd8ff;
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
  padding: 3px 8px;
  transition: all 0.25s ease;
}

.chat-close:hover { color: #fff; box-shadow: 0 0 14px rgba(0, 255, 255, 0.5); }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-messages::-webkit-scrollbar { width: 5px; }
.chat-messages::-webkit-scrollbar-thumb {
  background: rgba(0, 255, 255, 0.35);
  border-radius: 3px;
}

.chat-msg {
  max-width: 88%;
  padding: 9px 12px;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 13px;
  line-height: 1.65;
  letter-spacing: 0.4px;
  border-radius: 3px;
  position: relative;
  white-space: pre-wrap;
  word-wrap: break-word;
}

.chat-msg.bot {
  align-self: flex-start;
  background: rgba(0, 70, 110, 0.28);
  border-left: 2px solid #00e5ff;
  color: #d8f7ff;
}

.chat-msg.bot::before {
  content: 'AI ▸ ';
  color: #00e5ff;
  font-size: 10px;
  letter-spacing: 1px;
}

.chat-msg.user {
  align-self: flex-end;
  background: rgba(90, 30, 190, 0.25);
  border-right: 2px solid #c86bff;
  color: #f2eaff;
  text-align: right;
}

.chat-msg.user::after {
  content: ' ◂ YOU';
  color: #c86bff;
  font-size: 10px;
  letter-spacing: 1px;
}

.chat-msg.typing { color: #7de9ff; }

.chat-msg.typing::after {
  content: '▊';
  animation: statusBlink 0.8s infinite;
  margin-left: 4px;
}

.chat-input-row {
  display: flex;
  gap: 8px;
  padding: 12px 14px;
  border-top: 1px solid rgba(0, 255, 255, 0.35);
  background: rgba(0, 15, 30, 0.6);
}

.chat-input-row input {
  flex: 1;
  min-width: 0;
  background: rgba(0, 40, 70, 0.35);
  border: 1px solid rgba(0, 220, 255, 0.35);
  border-radius: 4px;
  padding: 10px 12px;
  color: #baf3ff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 12px;
  letter-spacing: 0.5px;
  outline: none;
  caret-color: #00e5ff;
}

.chat-input-row input:focus {
  border-color: rgba(0, 255, 255, 0.8);
  box-shadow: 0 0 16px rgba(0, 220, 255, 0.25);
}

.chat-input-row button {
  border: 1px solid rgba(0, 255, 255, 0.6);
  background: rgba(0, 70, 120, 0.7);
  color: #baf3ff;
  border-radius: 4px;
  padding: 10px 13px;
  font-size: 12px;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.chat-input-row button:hover {
  box-shadow: 0 0 18px rgba(0, 255, 255, 0.4);
  color: #fff;
}

#chatMic.listening {
  border-color: #ff5470;
  color: #ff98aa;
  background: rgba(120, 10, 40, 0.6);
  animation: statusBlink 1s infinite;
  box-shadow: 0 0 20px rgba(255, 60, 100, 0.5);
}

.chat-agent-link {
  display: block;
  text-align: center;
  padding: 8px;
  font-size: 9.5px;
  letter-spacing: 2px;
  color: #7de9ff;
  text-decoration: none;
  border-top: 1px solid rgba(0, 255, 255, 0.25);
  background: rgba(0, 20, 40, 0.6);
}

.chat-agent-link:hover { color: #fff; }

/* ---------- PLAY BADGE on game covers ---------- */
.gshow-cover { position: relative; }
.gshow-play-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 6, 16, 0.5);
  color: #fff;
  font-size: 18px;
  letter-spacing: 4px;
  text-shadow: 0 0 18px #00ffff;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 2;
}
.gshow-card:hover .gshow-play-badge { opacity: 1; }

/* ---------- PLAYABLE GAME MODAL ---------- */
.game-modal {
  position: fixed;
  inset: 0;
  z-index: 100010;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 2, 8, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 18px;
}

.game-modal.open { display: flex; }

.game-modal-card {
  width: min(1100px, 98vw);
  max-height: 94vh;
  display: flex;
  flex-direction: column;
  background: rgba(3, 9, 22, 0.98);
  border: 1px solid rgba(0, 255, 255, 0.5);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85), 0 0 60px rgba(0, 200, 255, 0.2);
}

.game-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  background: linear-gradient(90deg, rgba(0, 90, 140, 0.5), rgba(60, 0, 140, 0.35));
  border-bottom: 1px solid rgba(0, 255, 255, 0.3);
}

.game-modal-title {
  font-size: 14px;
  letter-spacing: 3px;
  color: #7dfcff;
  text-shadow: 0 0 12px rgba(0, 255, 255, 0.7);
}

.game-modal-tools { display: flex; align-items: center; gap: 8px; }

.game-modal-tools button,
.game-modal-tools a {
  border: 1px solid rgba(0, 255, 255, 0.5);
  background: rgba(0, 70, 120, 0.6);
  color: #baf3ff;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 11px;
  letter-spacing: 1px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
}

.game-modal-tools button:hover,
.game-modal-tools a:hover { box-shadow: 0 0 16px rgba(0, 255, 255, 0.5); color: #fff; }

.game-modal-close {
  border-color: rgba(255, 90, 110, 0.6) !important;
  background: rgba(90, 10, 25, 0.6) !important;
  color: #ffb3c0 !important;
  font-size: 16px !important;
  padding: 6px 12px !important;
}

.game-frame-wrap {
  flex: 1;
  min-height: 340px;
  background: #05060f;
  display: flex;
}

.game-frame-wrap iframe {
  width: 100%;
  height: 66vh;
  border: 0;
  display: block;
}

.game-frame-wrap:fullscreen { background: #000; }
.game-frame-wrap:fullscreen iframe { height: 100%; }

@media (max-width: 768px) {
  .game-modal-head { flex-wrap: wrap; }
  .game-frame-wrap iframe { height: 60vh; }
}

/* ---------- SERVICE DETAIL MODAL (futuristic) ---------- */
.svc-modal {
  position: fixed;
  inset: 0;
  z-index: 100006;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 3, 14, 0.85);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  padding: 20px;
}

.svc-modal.open { display: flex; }

.svc-modal-card {
  position: relative;
  width: min(560px, 96vw);
  max-height: 92vh;
  overflow-y: auto;
  padding: 40px 34px 32px;
  text-align: center;
  color: #dff6ff;
  background:
    linear-gradient(rgba(0, 30, 50, 0.22), rgba(0, 8, 20, 0.4)),
    rgba(3, 9, 22, 0.97);
  border: 1px solid rgba(0, 255, 255, 0.5);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 60px rgba(0, 200, 255, 0.2),
              inset 0 0 44px rgba(0, 150, 255, 0.06);
  animation: svcModalIn 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes svcModalIn {
  from { opacity: 0; transform: translateY(30px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.svc-modal-scan {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  pointer-events: none;
  background: repeating-linear-gradient(
    to bottom,
    rgba(0, 255, 255, 0.03) 0px,
    rgba(0, 255, 255, 0.03) 1px,
    transparent 1px,
    transparent 4px
  );
  mix-blend-mode: screen;
}

.svc-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(0, 255, 255, 0.5);
  background: rgba(0, 30, 60, 0.8);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 2;
}

.svc-modal-close:hover { box-shadow: 0 0 22px rgba(0, 255, 255, 0.5); transform: scale(1.08); }

.svc-modal-icon {
  width: 78px;
  height: 78px;
  margin: 0 auto 18px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  background: linear-gradient(135deg, rgba(0, 120, 200, 0.4), rgba(120, 0, 220, 0.35));
  border: 1px solid rgba(140, 220, 255, 0.4);
  box-shadow: 0 0 30px rgba(0, 180, 255, 0.3);
}

.svc-modal-title {
  font-size: clamp(18px, 3.4vw, 24px);
  letter-spacing: 3px;
  color: #fff;
  text-shadow: 0 0 18px rgba(0, 255, 255, 0.7);
  margin-bottom: 8px;
}

.svc-modal-tag {
  font-size: 12.5px;
  letter-spacing: 1px;
  line-height: 1.6;
  color: #9fd8ff;
  margin-bottom: 22px;
}

.svc-modal-features {
  list-style: none;
  text-align: left;
  max-width: 400px;
  margin: 0 auto 26px;
  padding: 0;
}

.svc-modal-features li {
  position: relative;
  padding: 9px 0 9px 28px;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.4px;
  color: #cdeeff;
  border-bottom: 1px solid rgba(0, 255, 255, 0.1);
  opacity: 0;
  animation: svcFeatureIn 0.5s ease forwards;
}

.svc-modal-features li::before {
  content: '▸';
  position: absolute;
  left: 6px;
  color: #00e5ff;
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.8);
}

@keyframes svcFeatureIn {
  from { opacity: 0; transform: translateX(-10px); }
  to { opacity: 1; transform: translateX(0); }
}

.svc-modal-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.svc-modal-actions .btn-neon { padding: 13px 28px; font-size: 12px; }

/* ---------- WEBSITE / MOBILE PREVIEW MODAL ---------- */
.preview-modal {
  position: fixed;
  inset: 0;
  z-index: 100006;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 3, 14, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 20px;
}

.preview-modal.open { display: flex; }

.preview-card {
  width: min(1000px, 96vw);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  background: rgba(4, 10, 26, 0.97);
  border: 1px solid rgba(0, 255, 255, 0.45);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8), 0 0 60px rgba(0, 200, 255, 0.18);
  overflow: hidden;
}

.preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: linear-gradient(90deg, rgba(0, 90, 140, 0.5), rgba(60, 0, 140, 0.35));
  border-bottom: 1px solid rgba(0, 255, 255, 0.3);
}

.preview-title {
  font-size: 13px;
  letter-spacing: 2px;
  color: #7dfcff;
  text-shadow: 0 0 12px rgba(0, 255, 255, 0.7);
}

.preview-close {
  background: none;
  border: 1px solid rgba(0, 255, 255, 0.4);
  border-radius: 6px;
  color: #9fd8ff;
  font-size: 20px;
  line-height: 1;
  padding: 3px 10px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.preview-close:hover { color: #fff; box-shadow: 0 0 14px rgba(0, 255, 255, 0.5); }

.preview-frame-wrap {
  flex: 1;
  min-height: 320px;
  background: #05060f;
}

.preview-frame-wrap iframe {
  width: 100%;
  height: 58vh;
  border: 0;
  display: block;
}

.preview-note {
  padding: 10px 16px;
  text-align: center;
  font-size: 11.5px;
  letter-spacing: 0.4px;
  color: #bfefff;
  background: rgba(0, 40, 70, 0.4);
  border-top: 1px solid rgba(0, 255, 255, 0.2);
}

.preview-note code {
  color: #7dfcff;
  background: rgba(0, 0, 0, 0.35);
  padding: 2px 7px;
  border-radius: 5px;
  font-family: 'Orbitron', monospace;
  letter-spacing: 0.5px;
}

.preview-note strong { color: #6adfff; letter-spacing: 1px; }

.preview-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  padding: 16px;
  border-top: 1px solid rgba(0, 255, 255, 0.2);
}

.preview-actions .btn-neon { padding: 12px 30px; font-size: 12px; }

@media (max-width: 768px) {
  .preview-frame-wrap iframe { height: 48vh; }
}

/* ---------- STAR WIPE PAGE TRANSITION ---------- */
.page-wipe {
  position: fixed;
  inset: 0;
  z-index: 200000;
  pointer-events: none;
  background:
    radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,0.9), transparent 60%),
    radial-gradient(1.5px 1.5px at 70% 20%, rgba(255,255,255,0.8), transparent 60%),
    radial-gradient(2px 2px at 40% 70%, rgba(255,255,255,0.85), transparent 60%),
    radial-gradient(1.5px 1.5px at 85% 60%, rgba(255,255,255,0.8), transparent 60%),
    radial-gradient(1px 1px at 55% 45%, rgba(255,255,255,0.7), transparent 60%),
    radial-gradient(900px 500px at 50% 50%, rgba(20, 0, 60, 0.9), rgba(0, 0, 6, 1));
  clip-path: circle(0% at 50% 50%);
  transition: clip-path 0.65s cubic-bezier(0.65, 0, 0.35, 1);
}

.page-wipe.cover {
  clip-path: circle(142% at 50% 50%);
}

/* On page load we start covered, then iris-open */
.page-wipe.boot {
  transition: none;
  clip-path: circle(142% at 50% 50%);
}

/* ---------- MOBILE ---------- */
@media (max-width: 768px) {
  .panel { padding: 70px 18px; }
  .hero { padding-top: 110px; }
  .cta-buttons { display: flex; flex-direction: column; gap: 16px; align-items: center; }
  .hero blockquote { padding: 24px 22px; font-size: clamp(20px, 6vw, 30px); }
  .home-footer { padding-bottom: 90px; }
  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    width: auto;
  }
  .float-stack { right: 12px; bottom: 24px; }
  .float-btn { width: 48px; height: 48px; font-size: 21px; }
  .chat-window { right: 10px; left: 10px; width: auto; bottom: 90px; height: min(60vh, 440px); }
  .chat-input-row input { font-size: 16px; }
  .mobile-br { display: block; }
  .hero-brand .hero-tagline { font-size: clamp(10px, 3.5vw, 16px); letter-spacing: 2px; line-height: 1.4; }
  .hero-brand .hero-tagline.tag-small { font-size: clamp(12px, 3.8vw, 18px); letter-spacing: 2px; }
}

/* ---------- LANDSCAPE PHONES / SHORT VIEWPORTS ---------- */
@media (max-height: 520px) and (orientation: landscape) {
  .hero { min-height: 100vh; padding: 74px 24px 40px; }
  .hero blockquote { font-size: clamp(18px, 4.2vw, 30px); padding: 18px 26px; margin-bottom: 12px; }
  .hero .quote-author { margin-bottom: 22px; }
  .scroll-cue { bottom: 14px; }
  .hero-brand .hero-logo { width: min(300px, 46vw); margin-bottom: 16px; }
  .panel { min-height: auto; padding: 60px 22px; }
  .float-stack { bottom: 16px; }
  .chat-window { height: 76vh; bottom: 100px; }
}

/* ---------- TABLET ---------- */
@media (min-width: 769px) and (max-width: 1024px) {
  .panel { padding: 80px 26px; }
  .mega { font-size: clamp(30px, 6vw, 52px); }
}

@media (min-width: 769px) and (max-width: 1024px) and (orientation: portrait) {
  .mobile-br { display: block; }
}
