/* =========================
   GLOBAL & BASE
========================= */

html,
body {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: #000;
  color: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

img,
video {
  max-width: 100%;
  display: block;
}

/* Anchor offsets for smooth section jumps */
section {
  scroll-margin-top: 90px;
}

/* Header glass + sticky */
header {
  position: sticky;
  top: 0;
  z-index: 80;
}

header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
  z-index: -1;
}

/* =========================
   BACKGROUND VIDEO
========================= */

.video-wrapper {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none !important;
}

.bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.55) contrast(1.05);
  pointer-events: none !important;
}

.overlay-dark,
.overlay-gradient {
  position: absolute;
  inset: 0;
  pointer-events: none !important;
}

.overlay-dark {
  background: rgba(0, 0, 0, 0.674);
}

.overlay-gradient {
  background: radial-gradient(
    ellipse at top right,
    rgba(99, 101, 241, 0.071),
    rgba(0, 0, 0, 0.9) 60%
  );
}

/* Ensure main content sits above video */
main,
footer {
  position: relative;
  z-index: 10;
}

/* =========================
   NAVBAR + DESKTOP SHRINK
========================= */

.nav-shell {
  position: relative;
  min-height: 72px;
  transition:
    padding 0.25s ease,
    background 0.25s ease,
    border-bottom 0.25s ease;
}

/* Desktop shrink state (JS toggles .is-shrunk) */
@media (min-width: 768px) {
  .nav-shell {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    background: transparent;
    border-bottom: 1px solid transparent;
  }

  .nav-shell.is-shrunk {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
    background: rgba(0, 0, 0, 0.82);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
}

/* Brand left (desktop) */
.brand-left {
  min-width: 220px;
}

/* Desktop nav links */
.nav-link {
  position: relative;
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.6);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: rgba(255, 255, 255, 0.9);
}

.nav-link:hover::after {
  width: 100%;
}

/* Small nav icons (email, phone) */
.nav-mini-icon {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  transition:
    background 200ms ease,
    color 200ms ease,
    transform 200ms ease;
}

.nav-mini-icon:hover {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.95);
  transform: translateY(-1px);
}

/* iPad/tablet tweak */
@media (min-width: 768px) and (max-width: 1023px) {
  .nav-shell {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .nav-shell .nav-link {
    font-size: 11px;
    letter-spacing: 0.18em;
  }
}

/* =========================
   MOBILE NAV
========================= */

/* keep nav shell relative so center logo works */
.nav-shell {
  position: relative;
}

/* Center logo on mobile */
.brand-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Right spacer to balance menu button */
.mobile-right-spacer {
  width: 44px;
  height: 44px;
}

/* Menu button */
.mobile-menu-btn {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 220ms ease,
    background 220ms ease,
    border-color 220ms ease;
}

.mobile-menu-btn:active {
  transform: scale(0.98);
}

/* Burger icon */
.burger {
  width: 18px;
  height: 12px;
  position: relative;
}

.burger::before,
.burger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.86);
  transition:
    transform 260ms cubic-bezier(.2, .7, .2, 1),
    top 260ms cubic-bezier(.2, .7, .2, 1),
    opacity 200ms ease;
}

.burger::before {
  top: 0;
}

.burger::after {
  top: 10px;
}

/* X morph */
.mobile-menu-btn.is-open .burger::before {
  top: 5px;
  transform: rotate(45deg);
}

.mobile-menu-btn.is-open .burger::after {
  top: 5px;
  transform: rotate(-45deg);
}

/* FULLSCREEN MOBILE MENU */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background:
    radial-gradient(800px 400px at top right, rgba(99, 102, 241, 0.18), transparent 60%),
    rgba(0, 0, 0, 0.96);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 320ms ease,
    visibility 320ms ease,
    transform 320ms cubic-bezier(.2, .7, .2, 1);
  transform: translateY(-12px);
}

/* support both .open and .is-open from JS */
.mobile-menu.open,
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* Backdrop layer (if used) */
.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Panel content */
.mobile-menu-inner {
  position: relative;
  z-index: 2;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  gap: 28px;
  align-items: center;
}

/* Links in mobile menu */
.mobile-menu-inner .nav-link {
  font-size: 20px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border: 0;
}

.mobile-menu-inner .nav-link:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* CTA in mobile menu */
.mobile-cta {
  margin-top: 24px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
}

/* Close button */
.mobile-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}

.mobile-close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 2px;
  background: rgba(255, 255, 255, 0.9);
  transform-origin: center;
}

.mobile-close span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-close span:nth-child(2) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* =========================
   HERO HELPERS
========================= */

.text-accent {
  background: linear-gradient(135deg, #818cf8, #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* fade-in utility */
.fade {
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 1.2s ease forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Buttons */
.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.35);
}

.btn-ghost {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  transition: background 0.3s ease;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* =========================
   TICKER (Services & Tools)
========================= */

.ticker-wrap {
  position: relative;
  padding: 22px 0;
  border-top: none !important;
  border-bottom: none !important;
  background: transparent !important;
  overflow: hidden;
}

.ticker-wrap::before {
  content: "";
  position: absolute;
  inset: -40px 0 auto 0;
  height: 80px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0)
  );
  pointer-events: none;
}

.ticker-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18px;
}

.ticker-title {
  margin: 0 0 12px;
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.ticker {
  position: relative;
  overflow: hidden;
}

.ticker::before,
.ticker::after {
  content: "";
  position: absolute;
  top: 0;
  width: 90px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.ticker::before {
  left: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.85), transparent);
}

.ticker::after {
  right: 0;
  background: linear-gradient(to left, rgba(0, 0, 0, 0.85), transparent);
}

.ticker-track {
  display: flex;
  align-items: center;
  gap: 14px;
  width: max-content;
  padding: 6px 0;
  animation: tickerMove 45s linear infinite;
}

/* Service pill */
.pill,
.stack {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  white-space: nowrap;
}

.pill:hover {
  transform: translateY(-1px);
  background: rgba(0, 0, 0, 0.61);
  border-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.95);
}

.stack i {
  font-size: 15px;
  opacity: 0.85;
}

@keyframes tickerMove {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .ticker::before,
  .ticker::after {
    width: 55px;
  }
  .ticker-track {
    gap: 10px;
    animation-duration: 30s;
  }
  .pill,
  .stack {
    padding: 9px 12px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
  }
}

/* =========================
   PLATFORM SECTION
========================= */

.platform-section {
  position: relative;
}

.platform-section::before {
  content: "";
  position: absolute;
  inset: -120px -80px -140px -80px;
  background:
    radial-gradient(900px 520px at 78% 18%, rgba(99, 101, 241, 0.011), transparent 62%),
    radial-gradient(760px 520px at 18% 60%, rgba(138, 92, 246, 0.032), transparent 60%),
    radial-gradient(900px 520px at 55% 95%, rgba(255, 255, 255, 0.06), transparent 60%);
  filter: blur(2px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.95;
}

.platform-section > div {
  position: relative;
  z-index: 1;
}

.feature-card {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 18px;
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(129, 140, 248, 0.95);
  font-size: 18px;
}

.feature-title {
  margin-top: 14px;
  font-size: 16px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.feature-text {
  margin-top: 10px;
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
  max-width: 28ch;
}

/* =========================
   PROCESS SQUARE
========================= */

.process-square {
  width: min(560px, 100%);
  aspect-ratio: 1 / 1;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(3px);
  padding: 26px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.process-square::before {
  content: "";
  position: absolute;
  inset: -60px;
  background:
    radial-gradient(circle at 35% 25%, rgba(120, 90, 255, 0.18), transparent 55%),
    radial-gradient(circle at 70% 70%, rgba(60, 190, 255, 0.12), transparent 55%);
  filter: blur(18px);
  opacity: 0.9;
  pointer-events: none;
}

.process-step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: start;
  padding: 10px 0;
}

.process-num {
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.2em;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  padding-top: 2px;
}

.process-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.process-text {
  margin: 6px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.62);
}

.process-divider {
  position: relative;
  z-index: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 8px 0;
}

.process-cta {
  position: relative;
  z-index: 1;
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.process-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  text-decoration: none;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.process-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

.process-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.48);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .process-square {
    aspect-ratio: auto;
    padding: 20px;
    border-radius: 20px;
  }
  .process-step {
    grid-template-columns: 52px 1fr;
  }
  .process-note {
    white-space: normal;
    text-align: right;
  }
}

/* =========================
   COMMAND / COLLAGE SECTION
========================= */

.command-stage {
  position: relative;
  height: 420px;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.command-collage {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.c-img {
  position: absolute;
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
  opacity: 0.92;
  filter: saturate(1.05) contrast(1.05);
  transform: translateZ(0);
}

/* positions */
.c-1 { left: 3%;  top: 18%; transform: rotate(-2deg); }
.c-2 { left: 18%; top: 10%; transform: rotate(3deg); }
.c-3 { left: 42%; top: 2%;  transform: rotate(-1deg); width: 420px; height: 270px; }
.c-4 { right: 16%; top: 12%; transform: rotate(2deg); }
.c-5 { right: 3%;  top: 20%; transform: rotate(-2deg); }

.command-collage::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.2) 55%, rgba(0, 0, 0, 0.55)),
    radial-gradient(900px 420px at 50% 45%, rgba(120, 90, 255, 0.12), transparent 55%),
    radial-gradient(700px 360px at 20% 65%, rgba(60, 190, 255, 0.1), transparent 60%);
  z-index: 2;
}

.command-card {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  padding: 18px;
}

.command-inner {
  width: min(980px, 100%);
  background: rgba(255, 255, 255, 0.96);
  border-radius: 22px;
  padding: 34px 34px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.command-text {
  margin: 0;
  color: #0b0b10;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: clamp(30px, 4.5vw, 62px);
  line-height: 1.05;
}

.command-caret {
  margin-left: 8px;
  opacity: 0.6;
  animation: cmdBlink 1.05s steps(2, end) infinite;
}

@keyframes cmdBlink {
  50% {
    opacity: 0;
  }
}

.command-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  padding: 14px 22px;
  border-radius: 14px;
  background: rgba(79, 70, 229, 1);
  box-shadow: 0 18px 40px rgba(79, 70, 229, 0.35);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.command-btn:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.command-edge {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background:
    radial-gradient(900px 420px at 50% 65%, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.2) 65%, rgba(0, 0, 0, 0.55) 100%),
    linear-gradient(to top, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0) 60%);
  opacity: 0.55;
}

@media (max-width: 900px) {
  .command-stage {
    height: 480px;
  }
  .c-img {
    width: 300px;
    height: 200px;
  }
  .c-3 {
    width: 350px;
    height: 230px;
  }
}

@media (max-width: 640px) {
  .command-stage {
    height: 340px;
    border-radius: 22px;
  }
  .command-inner {
    padding: 22px 18px;
    border-radius: 18px;
    flex-direction: column;
    align-items: flex-start;
  }
  .command-btn {
    width: 100%;
  }

  .c-img {
    width: 240px;
    height: 165px;
  }
  .c-1 { left: -10%; top: 18%; }
  .c-2 { left: 8%;   top: 6%; }
  .c-3 { left: 22%;  top: 42%; width: 280px; height: 190px; }
  .c-4 { right: -12%; top: 14%; }
  .c-5 { right: -10%; top: 58%; }
}

/* =========================
   PORTFOLIO SECTION
========================= */

.portfolio-section {
  padding: clamp(2.25rem, 4vw, 3.5rem) 0;
  position: relative;
  z-index: 15;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 24px);
}

.portfolio-head {
  max-width: 720px;
  margin: 0 auto clamp(2.5rem, 5vw, 4.5rem);
  text-align: center;
}

.kicker {
  font-size: 12px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.sub {
  margin-top: 14px;
  font-size: clamp(15px, 1.8vw, 17px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}

/* Work list */
.work-list {
  display: flex;
  flex-direction: column;
  gap: clamp(2.75rem, 6vw, 6rem);
}

.work-item {
  display: block;
  max-width: 980px;
  margin: 0 auto;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  text-align: center;
}

/* Always visible – no JS needed */
.work-reveal-lr {
  opacity: 1 !important;
  transform: none !important;
}

.work-heading {
  margin: 0 0 18px;
  font-size: clamp(20px, 4.2vw, 34px);
  font-weight: 600;
  letter-spacing: 0.06em;
  font-family: "Orbitron", sans-serif;
  color: rgba(255, 255, 255, 0.92);
  overflow-wrap: anywhere;
}

.work-media {
  position: relative;
  height: clamp(220px, 52vw, 420px);
  border-radius: clamp(14px, 3vw, 20px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
}

.work-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
  transform: scale(1.02);
  transition:
    transform 700ms ease,
    opacity 400ms ease;
}

.work-item:hover img {
  transform: scale(1.01);
  opacity: 1;
}

.work-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.6),
    rgba(0, 0, 0, 0.12)
  );
  pointer-events: none;
}

@media (max-width: 768px) {
  .portfolio-head {
    margin-bottom: 2.75rem;
  }
  .work-heading {
    margin-bottom: 14px;
  }
}

/* =========================
   REVIEWS
========================= */

.review-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-text {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
}

.review-footer {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.review-name {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

.review-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.review-stars {
  font-size: 14px;
  letter-spacing: 0.15em;
  color: #f5c77a;
}

/* =========================
   FOOTER
========================= */

.glass-footer {
  position: relative;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0.01)
  );
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-shell {
  max-width: 1300px;
  margin: 0 auto;
  padding: 64px 24px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 60px;
}

.footer-brand img {
  height: 46px;
  opacity: 0.9;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 48px;
}

.footer-col h4 {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  margin-bottom: 10px;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.footer-col a:hover {
  opacity: 1;
  transform: translateX(2px);
}

.footer-muted {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 8px;
  display: block;
}

.footer-bottom-simple {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 16px 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copy {
  font-size: 12px;
  opacity: 0.65;
  letter-spacing: 0.1em;
}

@media (max-width: 900px) {
  .footer-shell {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .footer-brand {
    display: flex;
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* =========================
   FOOTER LOGO EASTER EGG
========================= */

.footer-logo-easter {
  cursor: pointer;
  transition:
    filter 0.35s ease,
    transform 0.15s ease;
}

.footer-logo-easter:active {
  transform: scale(0.96);
}

.footer-logo-easter.glow-1 {
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.25));
}

.footer-logo-easter.glow-2 {
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.45));
}

.footer-logo-easter.glow-3 {
  filter:
    drop-shadow(0 0 8px rgba(140, 190, 255, 0.7))
    drop-shadow(0 0 14px rgba(140, 190, 255, 0.4));
}

.footer-logo-easter.glow-4 {
  filter:
    drop-shadow(0 0 12px rgba(140, 190, 255, 0.9))
    drop-shadow(0 0 22px rgba(140, 190, 255, 0.7));
}

.footer-logo-easter.glow-5 {
  filter:
    drop-shadow(0 0 14px rgba(180, 220, 255, 1))
    drop-shadow(0 0 28px rgba(140, 190, 255, 0.9))
    drop-shadow(0 0 48px rgba(140, 190, 255, 0.6));
  animation: logoPulse 1.2s infinite alternate;
}

@keyframes logoPulse {
  from {
    opacity: 0.85;
  }
  to {
    opacity: 1;
  }
}

/* =========================
   EGG BUTTON / RIDDLE
========================= */

.egg-inline {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.egg-hint {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-left: 12px;
  position: relative;
  vertical-align: middle;
}

.egg-btn {
  background: transparent;
  border: none;
  padding: 10px;
  cursor: pointer;
  line-height: 0;
  opacity: 0.8;
  transition:
    opacity 200ms ease,
    transform 200ms ease;
}

.egg-btn:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.egg-img {
  width: 76px;
  height: 76px;
  display: block;
  object-fit: contain;
  opacity: 0.92;
  transition:
    transform 180ms ease,
    opacity 180ms ease,
    filter 180ms ease;
}

.egg-btn:hover .egg-img {
  opacity: 1;
  transform: translateY(-2px) scale(1.06);
  filter: drop-shadow(0 0 14px rgba(255, 255, 255, 0.38));
}

.egg-q {
  position: absolute;
  left: 50%;
  top: -14px;
  transform: translateX(-50%) translateY(6px);
  opacity: 0;
  font-weight: 800;
  font-size: 13px;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.25);
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.egg-q.show {
  opacity: 0.9;
  transform: translateX(-50%) translateY(0);
}

.egg-riddle {
  max-width: 640px;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: none !important;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.4;
  text-align: center;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 260ms ease,
    transform 260ms ease;
  user-select: none;
}

.egg-riddle.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 520px) {
  .egg-riddle.show {
    display: block;
    margin-top: 8px;
  }
}

/* =========================
   RPG EASTER EGG (dialog)
========================= */

.rpg-egg {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.rpg-egg.show {
  display: block;
}

.rpg-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.rpg-box {
  position: absolute;
  left: 50%;
  bottom: 8%;
  transform: translateX(-50%);
  width: min(720px, calc(100% - 28px));
  border-radius: 18px;
  background: rgba(10, 10, 14, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 35px 120px rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 16px 16px 14px;
}

.rpg-box::before {
  content: "";
  position: absolute;
  inset: 10px;
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.1);
  pointer-events: none;
}

.rpg-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 2px 4px 12px;
}

.rpg-title {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.rpg-close {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.75);
  font-size: 18px;
  line-height: 1;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.rpg-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.rpg-close:active {
  transform: translateY(1px);
}

.rpg-text {
  padding: 10px 8px 14px;
  min-height: 92px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  font-size: clamp(14px, 2.8vw, 16px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.02em;
}

.rpg-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 4px 2px;
  position: relative;
}

.rpg-hint {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rpg-key {
  padding: 2px 7px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.75);
}

.rpg-next {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 11px;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.rpg-next:hover {
  background: rgba(255, 255, 255, 0.12);
}

.rpg-next:active {
  transform: translateY(1px);
}

.rpg-arrow {
  font-size: 12px;
  opacity: 0.9;
}

.rpg-caret {
  position: absolute;
  right: 18px;
  bottom: 16px;
  opacity: 0.85;
  animation: rpgBlink 0.9s steps(1, end) infinite;
}

@keyframes rpgBlink {
  50% {
    opacity: 0;
  }
}

@media (max-width: 520px) {
  .rpg-box {
    bottom: 6%;
  }
  .rpg-bottom {
    flex-direction: column;
    align-items: stretch;
  }
  .rpg-next {
    width: 100%;
    justify-content: center;
  }
  .rpg-caret {
    right: 18px;
    bottom: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .rpg-caret {
    animation: none;
  }
}

/* =========================
   ZOMBIES EGG OVERLAY
========================= */

.zombies-overlay {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.zombies-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

#zombies-video {
  width: min(80vw, 420px);
  height: auto;
  filter:
    drop-shadow(0 0 14px rgba(120, 255, 120, 0.85))
    drop-shadow(0 0 40px rgba(120, 255, 120, 0.55));
}
