/* ===================================================================
   Hunter X Online — Promotional Site
   Bright, high-saturation 2D anime MMORPG aesthetic.
   Cel-shaded surfaces (thin dark outline + hard-edge shadow),
   pastel environment backgrounds, neon VFX accents.
   Pure CSS, no image dependencies.
   =================================================================== */

:root {
  /* --- environment / natural (vibrant) --- */
  --sky:       #38b6ff;   /* ocean / sky blue */
  --sky-deep:  #1f8fe0;
  --grass:     #3fd267;   /* grass green */
  --teal:      #19d3c5;

  /* --- page surfaces: dark navy below the hero --- */
  --bg:        #131c33;   /* dark navy page */
  --bg-2:      #0f1830;
  --surface:   #1e2942;   /* dark card */
  --surface-2: #18223a;
  --ink:       #0b1224;   /* deep outline */
  --text:      #e9edf7;   /* light text on dark */
  --muted:     #9aa6c4;
  --line:      rgba(255, 255, 255, 0.12);

  /* --- neon VFX accents --- */
  --violet:    #9b4dff;   /* tím rực */
  --violet-2:  #b985ff;
  --gold:      #ffc01e;   /* vàng óng */
  --fire:      #ff4338;   /* đỏ lửa */

  --accent:    var(--violet);
  --accent-2:  #b58bff;   /* readable violet on dark */

  --grad:      linear-gradient(115deg, #9b4dff 0%, #ff4338 55%, #ffc01e 100%);
  --grad-cool: linear-gradient(120deg, #38b6ff 0%, #19d3c5 100%);
  --grad-hero: linear-gradient(160deg, #4cc2ff 0%, #2aa8e8 45%, #19c7b6 100%);

  /* cel-shaded surface kit */
  --ol:        2px solid var(--ink);
  --shadow-cel: 5px 6px 0 rgba(0, 0, 0, 0.45);
  --shadow-cel-hover: 7px 9px 0 rgba(0, 0, 0, 0.55);

  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-head: "Oswald", "Be Vietnam Pro", sans-serif;
  --font-body: "Be Vietnam Pro", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Buttons (cel-shaded) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: var(--ol);
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.25s;
}
.btn-sm { padding: 8px 20px; font-size: 13px; }
.btn-lg { padding: 14px 34px; font-size: 16px; }

.btn-primary {
  background: var(--grad);
  color: #fff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
  box-shadow: var(--shadow-cel);
}
.btn-primary:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-cel-hover); }
.btn-primary:active { transform: translate(2px, 3px); box-shadow: 1px 1px 0 rgba(28, 39, 66, 0.18); }

.btn-ghost {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-cel);
}
.btn-ghost:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-cel-hover); }

/* ===================== HEADER / NAV ===================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}
.site-header.scrolled {
  background: rgba(15, 24, 48, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.3);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand { display: flex; align-items: center; gap: 11px; }
.brand-logo {
  height: 50px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4));
  transition: transform 0.2s var(--ease);
}
.brand:hover .brand-logo { transform: scale(1.05); }
.brand-logo--footer { height: 56px; }
.brand-mark {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 12px;
  border: var(--ol);
  background: var(--grad);
  color: #fff;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.4);
  box-shadow: 3px 3px 0 rgba(28, 39, 66, 0.18);
}
.brand-text {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: color 0.3s, text-shadow 0.3s;
}
.brand-text em { color: var(--gold); font-style: normal; }
.site-header.scrolled .brand-text { color: #fff; text-shadow: none; }

.main-nav { display: flex; gap: 6px; }
.main-nav a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
  -webkit-text-stroke: 0.6px var(--ink);
  paint-order: stroke fill;
  padding: 8px 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  transition: color 0.2s, background 0.2s, border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.main-nav a:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--fire);
  box-shadow: 0 0 0 3px rgba(255, 67, 56, 0.25);
}
.site-header.scrolled .main-nav a { color: var(--muted); text-shadow: none; }
.site-header.scrolled .main-nav a:hover { color: var(--accent-2); background: rgba(124, 43, 255, 0.08); }

.nav-actions { display: flex; align-items: center; gap: 14px; }

/* ===================== AUTH NAV WIDGET ===================== */
.auth-slot { display: flex; align-items: center; }
.user-menu { position: relative; }
.user-menu-btn { gap: 6px; max-width: 200px; }
.user-menu-btn .user-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 130px; }
.user-menu-btn .user-caret { font-size: 11px; }
.user-menu-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 212px;
  background: var(--surface);
  border: var(--ol);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-cel);
  padding: 6px;
  display: none;
  z-index: 200;
}
.user-menu-dropdown.open { display: block; }
.user-menu-dropdown a,
.user-menu-dropdown button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 14px;
  border: none;
  background: none;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s var(--ease), color 0.18s var(--ease);
}
.user-menu-dropdown a:hover,
.user-menu-dropdown button:hover { background: rgba(124, 43, 255, 0.12); color: var(--accent-2); }
.user-menu-dropdown .menu-sep { height: 1px; background: var(--line); margin: 6px 4px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 24px; height: 3px;
  background: #fff;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s, opacity 0.3s, background 0.3s;
}
.site-header.scrolled .nav-toggle span { background: #fff; box-shadow: none; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 110px 0 90px;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 520px at 80% 12%, rgba(255, 255, 255, 0.45), transparent 60%),
    radial-gradient(700px 500px at 8% 88%, rgba(63, 210, 103, 0.45), transparent 60%),
    var(--grad-hero);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.14) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(circle at 55% 45%, black, transparent 78%);
  -webkit-mask-image: radial-gradient(circle at 55% 45%, black, transparent 78%);
}
.hero-fade {
  position: absolute; bottom: 0; left: 0; right: 0; height: 140px;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}
.hero-clouds {
  position: absolute; inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
}
.cloud {
  position: absolute;
  height: auto;
  opacity: 0.9;
  filter: drop-shadow(0 8px 14px rgba(28, 39, 66, 0.18));
  will-change: transform;
}
.cloud--1 { top: 12%;  width: 220px; animation: cloudDrift 48s linear infinite; }
.cloud--2 { top: 30%;  width: 320px; opacity: 0.75; animation: cloudDrift 72s linear infinite; animation-delay: -20s; }
.cloud--3 { top: 58%;  width: 180px; opacity: 0.65; animation: cloudDrift 60s linear infinite; animation-delay: -38s; }
.cloud--4 { top: 74%;  width: 280px; opacity: 0.7;  animation: cloudDrift 86s linear infinite; animation-delay: -55s; }
.cloud--5 { top: 4%;   width: 160px; opacity: 0.6;  animation: cloudDrift 54s linear infinite; animation-delay: -12s; }
.cloud--6 { top: 44%;  width: 240px; opacity: 0.7;  animation: cloudDrift 66s linear infinite; animation-delay: -47s; }
.cloud--7 { top: 86%;  width: 200px; opacity: 0.6;  animation: cloudDrift 78s linear infinite; animation-delay: -30s; }
@keyframes cloudDrift {
  from { transform: translateX(-30vw); }
  to { transform: translateX(130vw); }
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.hero-content { position: relative; z-index: 2; max-width: 660px; }

.hero-banner {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: -4%;
  width: clamp(520px, 60vw, 880px);
  transform: translateY(-50%);
  animation: heroBannerFloat 2.6s ease-in-out infinite alternate;
}
.hero-banner-img {
  display: block;
  width: 100%;
  height: auto;
  opacity: 0.96;
  transform-origin: center center;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.4));
  transition: transform 0.45s var(--ease), filter 0.45s var(--ease), opacity 0.45s var(--ease);
}
.hero-banner-img:hover {
  transform: scale(1.12);
  opacity: 1;
  filter:
    brightness(1.12) saturate(1.1)
    drop-shadow(0 0 18px rgba(255, 213, 84, 0.7))
    drop-shadow(0 20px 34px rgba(0, 0, 0, 0.45));
}
@keyframes heroBannerFloat {
  from { transform: translateY(-50%) scale(1); }
  to { transform: translateY(-50%) scale(1.04); }
}

.hero-logo {
  width: clamp(260px, 38vw, 440px);
  height: auto;
  display: block;
  margin-bottom: 22px;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.35));
}

.hero-eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: rgba(28, 39, 66, 0.28);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
  padding: 7px 16px;
  border-radius: 999px;
  display: inline-block;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}
.hero-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(50px, 8.5vw, 100px);
  line-height: 0.96;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin-bottom: 26px;
  color: #fff;
  -webkit-text-stroke: 2.5px var(--ink);
  paint-order: stroke fill;
  text-shadow: 0 7px 0 rgba(28, 39, 66, 0.22);
}
.hero-title .grad-text {
  background: none;
  -webkit-text-fill-color: var(--gold);
  color: var(--gold);
}
.hero-sub {
  font-size: 18px;
  color: #fff;
  font-weight: 500;
  max-width: 560px;
  margin-bottom: 36px;
  -webkit-text-stroke: 0.6px var(--ink);
  paint-order: stroke fill;
  text-shadow:
    -1px -1px 0 var(--ink), 1px -1px 0 var(--ink),
    -1px 1px 0 var(--ink), 1px 1px 0 var(--ink),
    0 2px 10px rgba(28, 39, 66, 0.55);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }

.hero-platforms {
  margin-top: 8px;
  max-width: 380px;
  gap: 10px;
}
.hero-platforms .store-btn {
  min-width: 0;
  gap: 10px;
  padding: 9px 13px;
}
.hero-platforms .store-ico {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}
.hero-platforms .store-txt b { font-size: 14px; }
.hero-platforms .store-txt small { font-size: 10px; }

.hero-side {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: 230px;
}
.hero-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.hero-meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  border: var(--ol);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-cel);
  padding: 10px 8px;
  min-width: 0;
}
.hero-meta-item .num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 28px;
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-meta-item .lbl {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #5e6c86;
  font-weight: 600;
  margin-top: 3px;
}

.hero-release {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  padding: 14px 18px;
  border: var(--ol);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-cel);
}
.release-tag {
  font-family: var(--font-head);
  letter-spacing: 0.2em;
  font-size: 11px;
  font-weight: 600;
  color: var(--fire);
}
.release-date {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 24px;
  text-transform: uppercase;
  color: var(--ink);
  margin: 2px 0 5px;
}
.release-plat { font-size: 13px; color: #5e6c86; letter-spacing: 0.04em; font-weight: 500; }

/* ===================== SECTIONS (shared) ===================== */
.section { padding: 100px 0; position: relative; }
.section-head { text-align: center; max-width: 740px; margin: 0 auto 60px; }
.section-eyebrow {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-2);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 54px);
  text-transform: uppercase;
  line-height: 1.04;
  letter-spacing: 0.01em;
  color: var(--text);
}
.section-lead { color: var(--muted); font-size: 17px; margin-top: 16px; }

/* ===================== CLASSES ===================== */
.classes { background: var(--surface-2); }
.class-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.class-card {
  position: relative;
  padding: 26px 22px 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: var(--ol);
  box-shadow: var(--shadow-cel);
  overflow: hidden;
  text-align: center;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), border-color 0.18s var(--ease);
}
.class-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 6px;
  background: var(--grad);
}
.class-card:hover {
  transform: translate(-3px, -4px);
  border-color: var(--fire);
  box-shadow: 7px 9px 0 rgba(255, 67, 56, 0.4);
}
.class-icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
  display: block;
  margin: 2px auto 14px;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.45));
}
.class-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.class-card h3 span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent-2);
  margin-top: 4px;
  text-transform: none;
}
.class-card p { font-size: 14px; color: var(--muted); }

/* per-class accent bar */
.c-kyouka::before   { background: linear-gradient(120deg, #ff4338, #ffc01e); }
.c-henka::before    { background: linear-gradient(120deg, #ffc01e, #19d3c5); }
.c-gugenka::before  { background: linear-gradient(120deg, #b985ff, #ff4338); }
.c-hoshutsu::before { background: linear-gradient(120deg, #19d3c5, #38b6ff); }
.c-sosa::before     { background: linear-gradient(120deg, #9b4dff, #38b6ff); }
.c-tokushitsu::before { background: linear-gradient(120deg, #9b4dff, #19d3c5); }

/* affinity bar + signature ultimate */
.class-meta {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1.5px dashed var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.class-affinity {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.class-affinity b:first-child { color: var(--fire); }
.class-affinity b:last-child { color: var(--violet); }
.class-affinity i {
  flex: 1;
  height: 8px;
  border-radius: 99px;
  border: 1.5px solid var(--ink);
  /* left = physical (VL), right = spiritual (TT) */
  background: linear-gradient(90deg, var(--fire) var(--w), var(--violet) var(--w));
}
.class-ult {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--accent-2);
}
.ult-ico {
  width: 42px;
  height: 42px;
  object-fit: contain;
  border-radius: 6px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.35));
}

.class-card--cta {
  background: var(--grad-cool);
  border: var(--ol);
  color: #fff;
}
.class-card--cta::before { background: var(--grad); }
.class-card--cta h3, .class-card--cta p { color: #fff; }
.class-card--cta p { opacity: 0.95; }
.card-link {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #fff;
  background: rgba(28, 39, 66, 0.22);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  padding: 6px 14px;
  border-radius: 999px;
  transition: transform 0.2s, background 0.2s;
}
.card-link:hover { background: rgba(28, 39, 66, 0.38); transform: translateX(3px); }

/* ===================== FEATURES ===================== */
.features { background: var(--bg-2); }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  padding: 26px 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: var(--ol);
  box-shadow: var(--shadow-cel);
  text-align: center;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), border-color 0.18s var(--ease);
}
.feature-card:hover {
  transform: translate(-3px, -4px);
  border-color: var(--fire);
  box-shadow: 7px 9px 0 rgba(255, 67, 56, 0.4);
}

/* icon zoom + breathing pulse on card hover */
.class-icon, .feature-ico { transition: transform 0.25s var(--ease); will-change: transform; }
.class-card:hover .class-icon,
.feature-card:hover .feature-ico {
  animation: iconBreath 1.5s ease-in-out infinite;
}
@keyframes iconBreath {
  0%, 100% { transform: scale(1.12); opacity: 0.92; }
  50%      { transform: scale(1.26); opacity: 1; }
}
.feature-ico {
  font-size: 34px;
  display: block;
  margin-bottom: 14px;
  filter: drop-shadow(0 3px 4px rgba(28, 39, 66, 0.2));
}
.feature-card h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.02em;
  color: var(--text);
  margin-bottom: 9px;
}
.feature-card p { font-size: 14px; color: var(--muted); }

/* ===================== ROADMAP ===================== */
.roadmap { background: var(--bg); }
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 10px; left: 12px; right: 12px;
  height: 4px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--grass), var(--violet), var(--gold));
}
.tl-item { position: relative; padding-top: 40px; }
.tl-dot {
  position: absolute;
  top: 0; left: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--ink);
  z-index: 2;
}
.tl-item.done .tl-dot { background: var(--grass); }
.tl-item.active .tl-dot { background: var(--violet); animation: pulse 1.8s infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(155, 77, 255, 0.45); }
  50%      { box-shadow: 0 0 0 10px rgba(155, 77, 255, 0); }
}
.tl-body {
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface);
  border: var(--ol);
  box-shadow: var(--shadow-cel);
}
.tl-phase {
  font-family: var(--font-head);
  letter-spacing: 0.1em;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-2);
}
.tl-body h3 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 24px;
  text-transform: uppercase;
  color: var(--text);
  margin: 6px 0 10px;
}
.tl-body p { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.tl-status {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--ink);
  background: var(--surface-2);
  color: var(--muted);
}
.tl-item.done .tl-status { background: var(--grass); color: #0b3d1c; }
.tl-item.active .tl-status { background: var(--violet); color: #fff; }

/* ===================== PLATFORMS ===================== */
.platforms { background: var(--bg-2); padding-bottom: 110px; }
.platform-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  padding: 50px 48px;
  border-radius: 26px;
  border: var(--ol);
  background:
    radial-gradient(500px 280px at 88% 0%, rgba(255, 255, 255, 0.3), transparent 70%),
    var(--grad);
  box-shadow: var(--shadow-cel-hover);
}
.platform-text { max-width: 440px; }
.platform-text .section-title { text-align: left; color: #fff; text-shadow: 0 2px 0 rgba(28, 39, 66, 0.25); }
.platform-text p { color: #fff; opacity: 0.95; margin-top: 14px; font-size: 17px; font-weight: 500; }
.platform-buttons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.store-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 13px 20px;
  border-radius: var(--radius-sm);
  background: linear-gradient(150deg, #2c4a60 0%, #1f3445 100%);
  border: var(--ol);
  min-width: 200px;
  box-shadow: 3px 4px 0 rgba(11, 18, 36, 0.4);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
              background 0.18s var(--ease), border-color 0.18s var(--ease);
}
.store-btn:hover {
  transform: translate(-2px, -3px);
  background: linear-gradient(150deg, #375c76 0%, #284156 100%);
  border-color: var(--fire);
  box-shadow: 5px 7px 0 rgba(255, 67, 56, 0.4);
}
.store-ico {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
}
.store-ico svg { width: 100%; height: 100%; display: block; }
.store-txt { display: flex; flex-direction: column; line-height: 1.25; }
.store-txt b { font-family: var(--font-head); font-weight: 600; font-size: 18px; color: #fff; letter-spacing: 0.01em; }
.store-txt small { font-size: 11.5px; color: #aeb6d0; letter-spacing: 0.02em; margin-top: 1px; }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--ink); color: #cfd6e8; padding-top: 64px; }
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand .brand-text { color: #fff; text-shadow: none; }
.footer-brand p { color: #97a0bd; font-size: 14px; max-width: 320px; }
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
.footer-col a {
  display: block;
  color: #97a0bd;
  font-size: 14px;
  padding: 6px 0;
  transition: color 0.2s, transform 0.2s;
}
.footer-col a:hover { color: var(--gold); transform: translateX(3px); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 13px; color: #6f7896; text-align: center; margin: 0; }
.company-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.company-logo { display: block; object-fit: contain; }
.company-logo--mark { height: 34px; }
.company-logo--word { height: 20px; }

@media (max-width: 560px) {
  .footer-bottom-inner { flex-direction: column; gap: 14px; }
}

/* ===================== REVEAL ANIMATION ===================== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 980px) {
  .class-grid, .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { flex-direction: column; align-items: center; }
  .hero-banner {
    top: 50%; right: 50%; left: auto;
    width: clamp(360px, 120vw, 620px);
    transform: translate(50%, -50%);
    animation-name: heroBannerFloatMobile;
  }
  .hero-banner-img { opacity: 0.32; }
  .hero-banner-img:hover { transform: scale(1.06); opacity: 0.4; }
  @keyframes heroBannerFloatMobile {
    from { transform: translate(50%, -50%) scale(1); }
    to { transform: translate(50%, -50%) scale(1.04); }
  }
  .hero-content { text-align: center; max-width: 100%; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .hero-platforms { margin-left: auto; margin-right: auto; }
  .hero-platforms .store-btn { justify-content: center; }
  .hero-side { width: 100%; max-width: 360px; align-self: center; align-items: center; margin-top: 8px; }
  .hero-release { align-items: center; text-align: center; }
}

@media (max-width: 820px) {
  .main-nav {
    position: fixed;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(15, 24, 48, 0.98);
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    padding: 12px 24px 20px;
    transform: translateY(-130%);
    transition: transform 0.35s var(--ease);
    z-index: 90;
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { color: #fff; text-shadow: none; padding: 14px 8px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: flex; }
  .timeline { grid-template-columns: 1fr; }
  .timeline::before { display: none; }
  .platform-box { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
  .platform-buttons { grid-template-columns: 1fr 1fr; width: 100%; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .container { padding: 0 18px; }
  .section { padding: 72px 0; }
  .hero-grid {
    mask-image: radial-gradient(circle at 50% 42%, black, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at 50% 42%, black, transparent 80%);
  }
  .hero-bg {
    background:
      radial-gradient(640px 480px at 50% 10%, rgba(255, 255, 255, 0.45), transparent 60%),
      radial-gradient(620px 480px at 50% 90%, rgba(63, 210, 103, 0.4), transparent 60%),
      var(--grad-hero);
  }
  .class-grid, .feature-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 10px; width: 100%; }
  .hero-meta-item { min-width: 0; flex: 1; padding: 10px 8px; }
  .hero-meta-item .num { font-size: 30px; }
  .hero-title { -webkit-text-stroke-width: 2px; }
  .platform-buttons { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .btn-lg { padding: 13px 26px; font-size: 15px; }
  .brand-text { font-size: 16px; }

  /* smaller hero download buttons on mobile only */
  .hero-platforms { max-width: 320px; gap: 8px; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; }
  .hero-platforms .store-btn { gap: 8px; padding: 7px 10px; height: 100%; align-items: center; justify-content: center; }
  .hero-platforms .store-ico { width: 20px; height: 20px; flex: 0 0 20px; }
  .hero-platforms .store-txt { min-width: 0; }
  .hero-platforms .store-txt b { font-size: 12.5px; white-space: nowrap; }
  .hero-platforms .store-txt small { font-size: 8.5px; white-space: nowrap; }
}
