/* ==========================================================================
   19Nova Interactive — Official Website Design System
   Theme: Bright Cosmic Play (Warm Ivory Canvas + Nova Coral + Starlight Violet)
   ========================================================================== */

:root {
  /* Core Palette */
  --bg-canvas: #FAF8F5;
  --bg-surface: #FFFFFF;
  --bg-soft-lavender: #F2EFFB;
  --bg-soft-peach: #FFF2EA;
  --bg-soft-cyan: #ECFAFD;
  --bg-dark: #16142A;
  --bg-dark-card: #211E3D;

  /* Ink */
  --ink-primary: #16142A;
  --ink-secondary: #514C6B;
  --ink-muted: #7B7694;
  --ink-on-dark: #F8F7FC;
  --ink-on-dark-muted: #B9B4D4;

  /* Brand Accents */
  --nova-coral: #FF5E3A;
  --nova-coral-dark: #E24420;
  --nova-violet: #5B4BFF;
  --nova-violet-dark: #4535E0;
  --nova-cyan: #00B4D8;
  --nova-gold: #FFB703;
  --nova-mint: #10B981;

  /* Borders & Shadows */
  --border-subtle: rgba(22, 20, 42, 0.08);
  --border-strong: rgba(22, 20, 42, 0.14);
  --shadow-sm: 0 2px 8px rgba(22, 20, 42, 0.05);
  --shadow-md: 0 12px 32px rgba(22, 20, 42, 0.08);
  --shadow-lg: 0 24px 56px rgba(22, 20, 42, 0.12);
  --shadow-coral: 0 10px 26px rgba(255, 94, 58, 0.30);
  --shadow-violet: 0 10px 26px rgba(91, 75, 255, 0.25);

  /* Radii */
  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --radius-xl: 34px;
  --radius-pill: 9999px;

  /* Layout */
  --container-max: 1180px;
  --nav-height: 76px;

  /* Typography */
  --font-display: 'Plus Jakarta Sans', 'Outfit', 'PingFang SC', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', 'Inter', 'PingFang SC', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Reset & Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-primary);
  background-color: var(--bg-canvas);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Typography Helpers */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  margin: 0;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink-primary);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--nova-violet);
  background: var(--bg-soft-lavender);
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}

.section-eyebrow.coral {
  color: var(--nova-coral-dark);
  background: var(--bg-soft-peach);
}

.section-eyebrow.on-dark {
  color: #FFE066;
  background: rgba(255, 224, 102, 0.14);
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--ink-secondary);
  max-width: 660px;
  margin: 0;
}

.section-header {
  margin-bottom: 48px;
}

.section-header.centered {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gradient-text {
  background: linear-gradient(110deg, var(--nova-coral) 0%, #FF8243 45%, var(--nova-violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Tactile Buttons (Playful Game Studio Feel) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 24px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.18s ease,
              background-color 0.18s ease,
              border-color 0.18s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn-primary {
  background: var(--nova-coral);
  color: #FFFFFF;
  box-shadow: 0 5px 0 var(--nova-coral-dark), var(--shadow-coral);
}

.btn-primary:hover {
  background: #FF6B4A;
  transform: translateY(-2px);
  box-shadow: 0 7px 0 var(--nova-coral-dark), 0 14px 30px rgba(255, 94, 58, 0.38);
}

.btn-primary:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 var(--nova-coral-dark), 0 4px 12px rgba(255, 94, 58, 0.25);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--ink-primary);
  border-color: var(--border-strong);
  box-shadow: 0 4px 0 rgba(22, 20, 42, 0.08), var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--nova-violet);
  color: var(--nova-violet);
  transform: translateY(-2px);
  box-shadow: 0 6px 0 rgba(91, 75, 255, 0.14), var(--shadow-md);
}

.btn-dark {
  background: var(--bg-dark);
  color: #FFFFFF;
  box-shadow: 0 4px 0 #090814;
}

.btn-dark:hover {
  background: #252246;
  transform: translateY(-2px);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.10);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.24);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.875rem;
}

/* ==========================================================================
   Navigation Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(250, 248, 245, 0.86);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.site-header.scrolled {
  background: rgba(250, 248, 245, 0.96);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.38rem;
  letter-spacing: -0.03em;
  color: var(--ink-primary);
}

.brand-logo img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(91, 75, 255, 0.22);
}

.brand-logo .accent {
  color: var(--nova-coral);
}

.brand-logo-sub {
  display: none;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
  margin-left: 2px;
}

@media (min-width: 1120px) {
  .brand-logo-sub {
    display: inline-block;
    padding-left: 10px;
    border-left: 1px solid var(--border-strong);
  }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--ink-secondary);
  position: relative;
  padding: 6px 0;
  transition: color 0.18s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink-primary);
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2.5px;
  border-radius: 4px;
  background: var(--nova-coral);
  transition: width 0.22s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Language Switcher */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-strong);
  border-radius: var(--radius-pill);
  padding: 3px;
  box-shadow: var(--shadow-sm);
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--ink-secondary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  transition: background-color 0.18s ease, color 0.18s ease;
}

.lang-btn.active {
  background: var(--ink-primary);
  color: #FFFFFF;
}

.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1.5px solid var(--border-strong);
  background: var(--bg-surface);
  color: var(--ink-primary);
}

/* Mobile Drawer */
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--nav-height) 0 auto 0;
  background: rgba(250, 248, 245, 0.98);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-strong);
  padding: 20px 24px 28px;
  z-index: 99;
  box-shadow: var(--shadow-lg);
}

.mobile-nav.open {
  display: block;
}

.mobile-nav ul {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav a {
  display: block;
  padding: 10px 12px;
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: var(--radius-sm);
}

.mobile-nav a:hover {
  background: var(--bg-soft-lavender);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  padding: 56px 0 88px;
  overflow: hidden;
}

/* Ambient Bright Cosmic Gradients */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}

.hero::before {
  width: 520px;
  height: 520px;
  top: -140px;
  right: -100px;
  background: radial-gradient(circle, rgba(255, 94, 58, 0.22) 0%, rgba(255, 183, 3, 0.10) 60%, transparent 75%);
}

.hero::after {
  width: 480px;
  height: 480px;
  bottom: -120px;
  left: -120px;
  background: radial-gradient(circle, rgba(91, 75, 255, 0.16) 0%, rgba(0, 180, 216, 0.10) 60%, transparent 75%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink-primary);
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}

.hero-pill .spark-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--nova-coral);
  box-shadow: 0 0 0 4px rgba(255, 94, 58, 0.18);
  animation: pulseDot 2.2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.22); opacity: 0.8; }
}

.hero-title {
  font-size: clamp(2.55rem, 5.2vw, 4rem);
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 22px;
}

.hero-lead {
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  color: var(--ink-secondary);
  margin: 0 0 32px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 28px;
  padding-top: 22px;
  border-top: 1px dashed var(--border-strong);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-secondary);
}

.trust-icon {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-soft-lavender);
  color: var(--nova-violet);
  flex-shrink: 0;
}

/* Hero Visual Showcase */
.hero-visual {
  position: relative;
}

.hero-art-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, #FFE4D6 0%, #E7E2FF 100%);
  box-shadow: var(--shadow-lg), 0 0 0 6px rgba(255, 255, 255, 0.88);
  aspect-ratio: 16 / 11;
}

.hero-art-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-art-frame:hover img {
  transform: scale(1.03);
}

.hero-float-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: floatY 5.5s ease-in-out infinite;
}

.hero-float-badge.top-right {
  top: -16px;
  right: -12px;
  animation-delay: -1.2s;
}

.hero-float-badge.bottom-left {
  bottom: -18px;
  left: -14px;
}

@keyframes floatY {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-7px); }
}

.float-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  flex-shrink: 0;
}

.float-badge-icon.coral { background: linear-gradient(135deg, #FF5E3A, #FF8E53); }
.float-badge-icon.violet { background: linear-gradient(135deg, #5B4BFF, #00B4D8); }

.float-badge-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--ink-primary);
  line-height: 1.2;
}

.float-badge-sub {
  font-size: 0.76rem;
  color: var(--ink-muted);
  font-weight: 600;
}

/* ==========================================================================
   Generic Section Spacing
   ========================================================================== */
.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-dark {
  background: var(--bg-dark);
  color: var(--ink-on-dark);
  position: relative;
  overflow: hidden;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #FFFFFF;
}

.section-dark .section-subtitle {
  color: var(--ink-on-dark-muted);
}

/* ==========================================================================
   Brand Story: 19 + Nova + 一九互创
   ========================================================================== */
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.story-card {
  background: var(--bg-canvas);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.story-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: rgba(91, 75, 255, 0.24);
}

.story-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.story-glyph.one {
  background: var(--bg-soft-peach);
  color: var(--nova-coral);
}

.story-glyph.nine {
  background: var(--bg-soft-lavender);
  color: var(--nova-violet);
}

.story-glyph.nova {
  background: var(--bg-soft-cyan);
  color: #0089A7;
}

.story-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.story-card p {
  margin: 0;
  color: var(--ink-secondary);
  font-size: 0.96rem;
}

.story-banner {
  margin-top: 28px;
  background: linear-gradient(110deg, #16142A 0%, #2C2366 58%, #4838B8 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 28px 34px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.story-banner-text h3 {
  color: #FFFFFF;
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.story-banner-text p {
  margin: 0;
  color: var(--ink-on-dark-muted);
  font-size: 0.95rem;
}

.story-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
}

.pill-tag.on-dark {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

/* ==========================================================================
   Games Showcase (In-Development Portfolio)
   ========================================================================== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.game-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.28s ease,
              border-color 0.28s ease;
}

.game-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 94, 58, 0.28);
}

.game-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-soft-lavender);
}

.game-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.game-card:hover .game-thumb img {
  transform: scale(1.06);
}

.game-status-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(22, 20, 42, 0.78);
  color: #FFFFFF;
  backdrop-filter: blur(8px);
}

.game-status-badge.coral {
  background: rgba(255, 94, 58, 0.92);
}

.game-status-badge.violet {
  background: rgba(91, 75, 255, 0.92);
}

.game-body {
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.game-genre {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--nova-violet);
  margin-bottom: 8px;
}

.game-title {
  font-size: 1.38rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.game-desc {
  font-size: 0.94rem;
  color: var(--ink-secondary);
  margin: 0 0 20px;
  flex: 1;
}

.game-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.platform-pills {
  display: flex;
  gap: 6px;
}

.platform-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--bg-canvas);
  color: var(--ink-secondary);
  border: 1px solid var(--border-subtle);
}

.game-detail-btn {
  border: none;
  background: transparent;
  color: var(--nova-coral-dark);
  font-weight: 800;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 0;
  transition: gap 0.18s ease, color 0.18s ease;
}

.game-detail-btn:hover {
  gap: 9px;
  color: var(--nova-violet);
}

/* ==========================================================================
   Genre Focus & Global Capabilities (Bento Grid)
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}

.bento-card {
  background: var(--bg-canvas);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.bento-span-7 { grid-column: span 7; }
.bento-span-5 { grid-column: span 5; }
.bento-span-4 { grid-column: span 4; }
.bento-span-6 { grid-column: span 6; }

.bento-card.highlight-peach {
  background: linear-gradient(145deg, #FFF5EE 0%, #FFE8DC 100%);
  border-color: rgba(255, 94, 58, 0.18);
}

.bento-card.highlight-lavender {
  background: linear-gradient(145deg, #F5F3FF 0%, #E9E5FF 100%);
  border-color: rgba(91, 75, 255, 0.18);
}

.bento-card.highlight-cyan {
  background: linear-gradient(145deg, #EEFBFE 0%, #DCF4FA 100%);
  border-color: rgba(0, 180, 216, 0.18);
}

.bento-icon {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  color: var(--nova-coral);
  box-shadow: var(--shadow-sm);
  margin-bottom: 18px;
}

.bento-icon.violet { color: var(--nova-violet); }
.bento-icon.cyan { color: #0089A7; }
.bento-icon.gold { color: #D98A00; }

.bento-card h3 {
  font-size: 1.32rem;
  margin-bottom: 10px;
}

.bento-card p {
  margin: 0;
  color: var(--ink-secondary);
  font-size: 0.95rem;
}

.capability-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.cap-tag {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink-primary);
  border: 1px solid var(--border-subtle);
}

/* ==========================================================================
   Global Publishing & Partnership (Dark Cosmic Band)
   ========================================================================== */
.dark-glow {
  position: absolute;
  width: 540px;
  height: 540px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 75, 255, 0.28) 0%, rgba(255, 94, 58, 0.12) 55%, transparent 72%);
  top: -160px;
  right: -120px;
  pointer-events: none;
}

.publishing-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.publishing-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.dark-pillar {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: background-color 0.22s ease, transform 0.22s ease;
}

.dark-pillar:hover {
  background: rgba(255, 255, 255, 0.085);
  transform: translateY(-3px);
}

.dark-pillar-num {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 800;
  color: #FFB703;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.dark-pillar h4 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.dark-pillar p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-on-dark-muted);
}

/* ==========================================================================
   Company Verification & Contact Hub (Crucial for Google Play / Apple / DUNS)
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 32px;
  align-items: start;
}

.company-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 34px;
  box-shadow: var(--shadow-md);
}

.company-card h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.company-card-sub {
  color: var(--ink-secondary);
  font-size: 0.95rem;
  margin: 0 0 24px;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-row {
  display: flex;
  gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
}

.info-row-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--bg-surface);
  color: var(--nova-violet);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.info-row-label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  margin-bottom: 3px;
}

.info-row-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-primary);
  word-break: break-word;
}

.info-row-sub {
  font-size: 0.85rem;
  color: var(--ink-secondary);
  margin-top: 2px;
}

/* Email Channel Cards */
.channel-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 22px;
}

.channel-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.channel-card:hover {
  transform: translateY(-3px);
  border-color: var(--nova-coral);
  box-shadow: var(--shadow-md);
}

.channel-tag {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--nova-coral-dark);
}

.channel-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--ink-primary);
}

.channel-email {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--nova-violet);
  word-break: break-all;
}

.channel-actions {
  margin-top: 8px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.copy-btn {
  border: 1px solid var(--border-strong);
  background: var(--bg-canvas);
  color: var(--ink-secondary);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.copy-btn:hover {
  background: var(--ink-primary);
  color: #FFFFFF;
}

.compliance-box {
  background: var(--bg-soft-lavender);
  border: 1.5px solid rgba(91, 75, 255, 0.18);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}

.compliance-box h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.compliance-box p {
  margin: 0 0 14px;
  font-size: 0.88rem;
  color: var(--ink-secondary);
}

.compliance-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.compliance-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: var(--bg-surface);
  border: 1px solid rgba(91, 75, 255, 0.22);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--nova-violet-dark);
  transition: background-color 0.18s ease, color 0.18s ease;
}

.compliance-link:hover {
  background: var(--nova-violet);
  color: #FFFFFF;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-dark);
  color: var(--ink-on-dark-muted);
  padding: 64px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.footer-brand .brand-logo {
  color: #FFFFFF;
  margin-bottom: 14px;
}

.footer-brand p {
  margin: 0 0 14px;
  font-size: 0.92rem;
  max-width: 340px;
  color: var(--ink-on-dark-muted);
}

.footer-legal-name {
  font-size: 0.84rem;
  color: #FFFFFF;
  font-weight: 600;
  line-height: 1.6;
}

.footer-col h4 {
  color: #FFFFFF;
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--ink-on-dark-muted);
  transition: color 0.18s ease;
}

.footer-col a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  padding-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.84rem;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom-links a:hover {
  color: #FFFFFF;
}

/* ==========================================================================
   Project Preview Modal
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(22, 20, 42, 0.62);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.modal-dialog {
  width: 100%;
  max-width: 660px;
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(16px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-hero {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-soft-lavender);
}

.modal-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(22, 20, 42, 0.75);
  color: #FFFFFF;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.modal-close:hover {
  background: var(--nova-coral);
  transform: rotate(90deg);
}

.modal-content {
  padding: 28px 30px 32px;
}

.modal-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 12px;
}

.modal-content h3 {
  font-size: 1.65rem;
  margin-bottom: 12px;
}

.modal-content p {
  color: var(--ink-secondary);
  margin: 0 0 18px;
}

.modal-features {
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.modal-features li {
  background: var(--bg-canvas);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-primary);
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--bg-dark);
  color: #FFFFFF;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  z-index: 300;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   Legal & Support Sub-Pages
   ========================================================================== */
.page-banner {
  background: linear-gradient(135deg, #FFF4EC 0%, #F1EEFF 55%, #EAF9FD 100%);
  border-bottom: 1px solid var(--border-subtle);
  padding: 56px 0 46px;
}

.page-banner h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  margin-bottom: 12px;
}

.page-banner-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.9rem;
  color: var(--ink-secondary);
  font-weight: 600;
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 44px;
  padding: 56px 0 88px;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
}

.legal-toc h4 {
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  margin-bottom: 12px;
}

.legal-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-toc a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink-secondary);
  display: block;
  padding: 4px 0;
}

.legal-toc a:hover {
  color: var(--nova-violet);
}

.legal-article {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  box-shadow: var(--shadow-sm);
}

.legal-article h2 {
  font-size: 1.45rem;
  margin: 34px 0 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.legal-article h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.legal-article h3 {
  font-size: 1.1rem;
  margin: 20px 0 8px;
}

.legal-article p,
.legal-article li {
  color: var(--ink-secondary);
  font-size: 0.96rem;
}

.legal-article ul {
  padding-left: 20px;
}

.legal-article li {
  margin-bottom: 8px;
}

.callout-box {
  background: var(--bg-soft-peach);
  border-left: 4px solid var(--nova-coral);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 16px 20px;
  margin: 18px 0;
}

.callout-box.violet {
  background: var(--bg-soft-lavender);
  border-left-color: var(--nova-violet);
}

.callout-box strong {
  color: var(--ink-primary);
}

/* Support FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 20px;
}

.faq-item {
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-canvas);
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 20px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--nova-violet);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 20px 18px;
  color: var(--ink-secondary);
  font-size: 0.94rem;
}

/* ==========================================================================
   Scroll Reveal Utility
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-float-badge, .hero-pill .spark-dot { animation: none; }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid,
  .publishing-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    max-width: 680px;
    margin-inline: auto;
  }

  .games-grid,
  .story-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-span-7,
  .bento-span-5,
  .bento-span-4,
  .bento-span-6 {
    grid-column: span 6;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-cta {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .hero {
    padding: 36px 0 64px;
  }

  .hero-float-badge.top-right {
    top: 10px;
    right: 10px;
  }

  .hero-float-badge.bottom-left {
    bottom: 10px;
    left: 10px;
  }

  .section {
    padding: 64px 0;
  }

  .games-grid,
  .story-grid,
  .publishing-pillars,
  .channel-grid,
  .modal-features {
    grid-template-columns: 1fr;
  }

  .bento-span-7,
  .bento-span-5,
  .bento-span-4,
  .bento-span-6 {
    grid-column: span 12;
  }

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

  .legal-article {
    padding: 26px 22px;
  }
}
