/* ==========================================================================
   Tremix Entertainment LLC — Cinematic Sci-Fi Cyberpunk Design System
   ========================================================================== */

:root {
  --bg-void: #04060d;
  --bg-obsidian: #080d1a;
  --bg-panel: rgba(12, 18, 36, 0.76);
  --bg-panel-solid: #0c1224;
  --bg-panel-hover: rgba(18, 27, 52, 0.9);

  --cyan: #00f0ff;
  --cyan-dim: rgba(0, 240, 255, 0.14);
  --cyan-glow: rgba(0, 240, 255, 0.42);
  --magenta: #ff2e93;
  --magenta-dim: rgba(255, 46, 147, 0.14);
  --violet: #8b5cf6;
  --amber: #ffb800;
  --amber-dim: rgba(255, 184, 0, 0.14);
  --emerald: #10b981;

  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --border-subtle: rgba(148, 163, 184, 0.16);
  --border-cyan: rgba(0, 240, 255, 0.35);
  --border-magenta: rgba(255, 46, 147, 0.35);

  --font-display: 'Orbitron', sans-serif;
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --container-max: 1240px;
  --nav-height: 76px;
  --transition: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-void);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-void);
  background-image:
    radial-gradient(circle at 15% 10%, rgba(0, 240, 255, 0.06), transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.07), transparent 42%),
    radial-gradient(circle at 50% 85%, rgba(255, 46, 147, 0.05), transparent 45%);
  min-height: 100vh;
  position: relative;
}

/* Subtle Cyberpunk Grid Overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(0, 240, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 240, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at center, black 35%, transparent 90%);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 100;
  transition: background-color var(--transition), border-color var(--transition), backdrop-filter var(--transition);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background-color: rgba(4, 6, 13, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: rgba(0, 240, 255, 0.16);
}

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

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

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border-cyan);
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.25);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-primary);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--magenta));
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--text-primary);
}

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

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

.mobile-menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, #00f0ff 0%, #3b82f6 55%, #a855f7 100%);
  color: #030712;
  box-shadow: 0 0 26px rgba(0, 240, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 36px rgba(0, 240, 255, 0.55);
}

.btn-outline {
  background: rgba(8, 13, 26, 0.65);
  border: 1px solid var(--border-cyan);
  color: var(--cyan);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: var(--cyan-dim);
  transform: translateY(-2px);
  box-shadow: 0 0 22px rgba(0, 240, 255, 0.25);
}

.btn-ghost {
  padding: 10px 18px;
  font-size: 0.82rem;
  border: 1px solid var(--border-subtle);
  background: rgba(12, 18, 36, 0.6);
  color: var(--text-primary);
}

.btn-ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.btn-sm {
  padding: 9px 16px;
  font-size: 0.78rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--border-cyan);
  background: rgba(0, 240, 255, 0.08);
  color: var(--cyan);
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: pulse 2s infinite;
}

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

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.status-playtest {
  background: rgba(0, 240, 255, 0.16);
  border: 1px solid rgba(0, 240, 255, 0.55);
  color: var(--cyan);
}

.status-alpha {
  background: rgba(255, 46, 147, 0.16);
  border: 1px solid rgba(255, 46, 147, 0.55);
  color: #ff6eb4;
}

.status-prototype {
  background: rgba(255, 184, 0, 0.15);
  border: 1px solid rgba(255, 184, 0, 0.5);
  color: var(--amber);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + 48px) 0 80px;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.56;
  transform: scale(1.03);
  filter: saturate(1.15) contrast(1.05);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 6, 13, 0.94) 0%, rgba(4, 6, 13, 0.74) 48%, rgba(4, 6, 13, 0.35) 100%),
    linear-gradient(180deg, rgba(4, 6, 13, 0.55) 0%, transparent 25%, rgba(4, 6, 13, 0.98) 100%);
}

.hero-scanline {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.015) 0px,
    rgba(255, 255, 255, 0.015) 1px,
    transparent 1px,
    transparent 4px
  );
  pointer-events: none;
}

.hero-content {
  max-width: 780px;
  position: relative;
  z-index: 2;
}

.hero-eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-loc {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
  text-transform: uppercase;
}

.text-gradient {
  background: linear-gradient(110deg, #ffffff 10%, #00f0ff 52%, #c084fc 85%, #ff2e93 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-desc {
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  color: #cbd5e1;
  max-width: 650px;
  margin-bottom: 34px;
  line-height: 1.75;
}

.hero-desc strong {
  color: #ffffff;
  font-weight: 600;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding-top: 28px;
  border-top: 1px solid rgba(148, 163, 184, 0.2);
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-val {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cyan);
  letter-spacing: 0.05em;
}

.metric-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ==========================================================================
   Section Common Styles
   ========================================================================== */

section.section {
  padding: 108px 0;
  position: relative;
  z-index: 2;
}

.section-header {
  max-width: 760px;
  margin-bottom: 56px;
}

.section-tag {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--cyan);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-tag::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--cyan);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-subtitle {
  font-size: 1.04rem;
  color: var(--text-secondary);
  line-height: 1.72;
}

/* ==========================================================================
   Games Showcase
   ========================================================================== */

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

.game-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
  position: relative;
}

.game-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--magenta), transparent);
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 4;
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-cyan);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), 0 0 32px rgba(0, 240, 255, 0.12);
}

.game-card:hover::before {
  opacity: 1;
}

.game-thumb-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #050814;
}

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

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

.game-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 6, 13, 0.15) 0%, rgba(4, 6, 13, 0.85) 100%);
}

.game-badges-top {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.gemini-chip {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 4px 9px;
  border-radius: 4px;
  background: rgba(139, 92, 246, 0.25);
  border: 1px solid rgba(168, 85, 247, 0.6);
  color: #e9d5ff;
  backdrop-filter: blur(8px);
}

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

.game-genre {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.game-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 12px;
  color: #ffffff;
}

.game-summary {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
  line-height: 1.65;
}

.toc-highlights {
  background: rgba(4, 6, 13, 0.6);
  border: 1px solid rgba(0, 240, 255, 0.16);
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 20px;
}

.toc-highlights-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toc-list li {
  font-size: 0.83rem;
  color: #cbd5e1;
  padding-left: 14px;
  position: relative;
  line-height: 1.48;
}

.toc-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--magenta);
  font-size: 0.8rem;
}

.toc-list strong {
  color: #ffffff;
  font-weight: 600;
}

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

.game-platform {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
}

.prestore-note {
  margin-top: 32px;
  padding: 18px 24px;
  border-radius: var(--radius-md);
  background: rgba(12, 18, 36, 0.65);
  border: 1px dashed rgba(0, 240, 255, 0.3);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.prestore-note p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  max-width: 780px;
}

.prestore-note strong {
  color: var(--cyan);
}

/* ==========================================================================
   Gemini ToC AI-Native Architecture Section
   ========================================================================== */

.arch-section {
  background: linear-gradient(180deg, rgba(8, 13, 26, 0.2) 0%, rgba(8, 13, 26, 0.85) 50%, rgba(8, 13, 26, 0.2) 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.arch-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 32px;
  align-items: start;
}

.arch-tabs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.arch-tab {
  text-align: left;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  background: rgba(12, 18, 36, 0.55);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.arch-tab:hover {
  border-color: rgba(0, 240, 255, 0.35);
  background: rgba(18, 27, 52, 0.7);
}

.arch-tab.active {
  border-color: var(--cyan);
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.14), rgba(139, 92, 246, 0.12));
  box-shadow: 0 0 28px rgba(0, 240, 255, 0.14);
}

.arch-tab-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--cyan);
  letter-spacing: 0.12em;
}

.arch-tab-title {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 600;
  color: #ffffff;
}

.arch-tab-sub {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

.arch-panel {
  background: var(--bg-panel);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.arch-panel::after {
  content: 'GEMINI // TOC PIPELINE';
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  color: rgba(0, 240, 255, 0.45);
}

.arch-panel-kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--magenta);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 10px;
}

.arch-panel-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: #ffffff;
}

.arch-panel-desc {
  font-size: 0.98rem;
  color: #cbd5e1;
  margin-bottom: 26px;
  line-height: 1.72;
}

.arch-touchpoints {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.touchpoint-card {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(4, 6, 13, 0.68);
  border: 1px solid var(--border-subtle);
}

.touchpoint-card h4 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--cyan);
  margin-bottom: 6px;
}

.touchpoint-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.arch-stack-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--border-subtle);
}

.stack-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 6px 12px;
  border-radius: 4px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.35);
  color: #ddd6fe;
}

/* ==========================================================================
   Studio / About Section
   ========================================================================== */

.studio-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}

.studio-story p {
  color: #cbd5e1;
  font-size: 1rem;
  margin-bottom: 18px;
  line-height: 1.78;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.principle-box {
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
}

.principle-box h4 {
  font-family: var(--font-heading);
  font-size: 0.96rem;
  color: #ffffff;
  margin-bottom: 6px;
}

.principle-box p {
  font-size: 0.84rem;
  color: var(--text-secondary);
  margin-bottom: 0;
  line-height: 1.55;
}

.studio-dossier {
  background: linear-gradient(160deg, rgba(12, 18, 36, 0.92), rgba(6, 10, 22, 0.95));
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
}

.dossier-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--border-subtle);
}

.dossier-logo {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  border: 1px solid var(--border-cyan);
  object-fit: cover;
}

.dossier-rows {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.dossier-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.dossier-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.dossier-key {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.dossier-val {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  color: #ffffff;
  text-align: right;
}

/* ==========================================================================
   Playtest & Contact Section
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.contact-info-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.contact-channel-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 24px;
}

.contact-channel {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(4, 6, 13, 0.65);
  border: 1px solid var(--border-subtle);
}

.contact-channel-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--cyan);
  margin-bottom: 4px;
}

.contact-channel-val {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: #ffffff;
}

.contact-channel-val a:hover {
  color: var(--cyan);
}

.contact-form-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-lg);
  padding: 36px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 6px;
  background: rgba(4, 6, 13, 0.85);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.94rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.14);
}

.form-textarea {
  min-height: 112px;
  resize: vertical;
}

.form-feedback {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  display: none;
}

.form-feedback.show {
  display: block;
}

.form-feedback.success {
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #a7f3d0;
}

/* ==========================================================================
   Modal (Game Gemini Deep-Dive)
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(2, 4, 10, 0.84);
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

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

.modal-box {
  width: 100%;
  max-width: 820px;
  max-height: 88vh;
  overflow-y: auto;
  background: #080d1a;
  border: 1px solid var(--border-cyan);
  border-radius: var(--radius-lg);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.85), 0 0 40px rgba(0, 240, 255, 0.16);
  position: relative;
}

.modal-hero {
  position: relative;
  aspect-ratio: 21 / 9;
  overflow: hidden;
}

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

.modal-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 13, 26, 0.1) 0%, #080d1a 100%);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(4, 6, 13, 0.8);
  border: 1px solid var(--border-cyan);
  color: #ffffff;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: var(--cyan);
  color: #04060d;
}

.modal-content {
  padding: 0 32px 32px;
  margin-top: -28px;
  position: relative;
  z-index: 2;
}

.modal-toc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 22px 0 26px;
}

.modal-toc-item {
  padding: 16px;
  border-radius: 8px;
  background: rgba(12, 18, 36, 0.8);
  border: 1px solid var(--border-subtle);
}

.modal-toc-item h5 {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

.modal-toc-item p {
  font-size: 0.86rem;
  color: #cbd5e1;
  line-height: 1.55;
}

/* ==========================================================================
   Footer & Legal Pages
   ========================================================================== */

.footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(4, 6, 13, 0.92);
  padding: 64px 0 36px;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 44px;
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 14px;
  max-width: 340px;
}

.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}

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

.footer-col li a {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Legal Document Layout */
.legal-page {
  padding: calc(var(--nav-height) + 56px) 0 88px;
}

.legal-card {
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.legal-card h1 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin-bottom: 8px;
}

.legal-meta {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--cyan);
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-card h2 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: #ffffff;
  margin: 28px 0 10px;
}

.legal-card p,
.legal-card li {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.78;
  margin-bottom: 12px;
}

.legal-card ul {
  padding-left: 22px;
  margin-bottom: 16px;
}

/* ==========================================================================
   Scroll Reveal & Responsive
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

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

@media (max-width: 1080px) {
  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .arch-layout {
    grid-template-columns: 1fr;
  }
  .studio-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-actions {
    display: none;
  }
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(4, 6, 13, 0.96);
    backdrop-filter: blur(18px);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border-cyan);
  }
  .mobile-menu-btn {
    display: flex;
  }
  .hero-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .games-grid,
  .arch-touchpoints,
  .principles-grid,
  .form-grid,
  .modal-toc-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .legal-card {
    padding: 28px 22px;
  }
}
