/* ==========================================================================
   NaDhX Studio / NadhX Apps — Design System
   Clean, human, modern, high-contrast independent game studio styling.
   ========================================================================== */

:root {
  /* Colors */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  --bg-dark: #070d1e;
  --bg-dark-card: #0f182e;
  --bg-dark-hover: #152240;

  --text-main: #0b1329;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #f8fafc;
  --text-light-muted: #94a3b8;

  --brand-red: #ff2c38;
  --brand-red-hover: #e51d28;
  --brand-red-subtle: rgba(255, 44, 56, 0.08);
  --brand-red-glow: rgba(255, 44, 56, 0.22);
  --brand-navy: #050b20;

  --border-light: #e2e8f0;
  --border-subtle: #edf2f7;
  --border-dark: #1e293b;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Elevation */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 20px 40px -15px rgba(15, 23, 42, 0.12), 0 10px 15px -8px rgba(15, 23, 42, 0.06);
  --shadow-glow: 0 12px 30px -4px var(--brand-red-glow);

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Container */
  --container-width: 1180px;
  --nav-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 20px);
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background-color: var(--bg-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

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

::selection {
  background: var(--brand-red);
  color: #ffffff;
}

/* Accessibility */
.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--brand-navy);
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius-sm);
  transform: translateY(-200%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
  outline: 3px solid var(--brand-red);
}

.container {
  width: min(var(--container-width), calc(100% - 48px));
  margin-inline: auto;
}

/* ==========================================================================
   Navigation Header
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.brand-logo {
  height: 38px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.brand-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-subtle);
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  letter-spacing: 0.04em;
}

.brand-badge span {
  color: var(--brand-red);
}

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

.site-nav a:not(.btn) {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-body);
  position: relative;
  padding: 8px 0;
}

.site-nav a:not(.btn):hover {
  color: var(--brand-red);
}

.site-nav a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-red);
  transition: width 0.2s ease;
  border-radius: 1px;
}

.site-nav a:not(.btn):hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
  background: var(--bg-surface);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Buttons & CTAs
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-md);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--brand-red);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background: var(--brand-red-hover);
  box-shadow: 0 16px 32px -4px var(--brand-red-glow);
}

.btn-outline {
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  border-color: var(--text-main);
  box-shadow: var(--shadow-md);
}

.btn-dark {
  background: var(--bg-dark);
  color: #ffffff;
}

.btn-dark:hover {
  background: #111a33;
  box-shadow: var(--shadow-md);
}

/* Official Google Play Badge Style */
.btn-play-store {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-dark);
  color: #ffffff;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 28px rgba(5, 11, 32, 0.2);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-play-store:hover {
  background: #111b38;
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 0 18px 36px rgba(5, 11, 32, 0.28);
  transform: translateY(-2px);
}

.play-store-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.play-store-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}

.play-store-text small {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-light-muted);
  font-weight: 600;
}

.play-store-text strong {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  padding: 70px 0 90px;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-body) 100%);
  border-bottom: 1px solid var(--border-light);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-red);
  background: var(--brand-red-subtle);
  border: 1px solid rgba(255, 44, 56, 0.15);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  letter-spacing: 0.03em;
}

.badge-tag::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-red);
}

.hero h1 {
  font-size: clamp(38px, 4.5vw, 56px);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.hero h1 span {
  color: var(--brand-red);
}

.hero-desc {
  font-size: 18px;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 34px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}

.hero-metrics {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
}

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

.metric-value {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.metric-value span {
  color: var(--brand-red);
}

.metric-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* Hero Visual Showcase */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  perspective: 1200px;
}

.hero-card {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: var(--bg-dark);
  border-radius: var(--radius-xl);
  padding: 16px;
  border: 1px solid var(--border-dark);
  box-shadow: 0 30px 60px -15px rgba(5, 11, 32, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: transform 0.2s ease-out, box-shadow 0.2s ease;
  transform-style: preserve-3d;
}

.hero-card-inner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #020718;
}

.hero-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  transition: transform 0.4s ease;
}

.hero-card-badge {
  position: absolute;
  top: 28px;
  right: 28px;
  background: rgba(7, 13, 30, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-card-badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
}

.hero-card-footer {
  padding: 16px 8px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-light-muted);
  font-size: 13px;
}

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

/* ==========================================================================
   Section Headers
   ========================================================================== */
.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--bg-surface);
  border-block: 1px solid var(--border-light);
}

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

.section-header.center {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
}

.section-subtitle {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-red);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(30px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.section-title span {
  color: var(--brand-red);
}

.section-lead {
  font-size: 17px;
  color: var(--text-body);
  line-height: 1.6;
}

/* ==========================================================================
   Featured Game Showcase
   ========================================================================== */
.game-showcase-card {
  display: grid;
  grid-template-columns: 380px 1fr;
  background: var(--bg-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.game-art-column {
  background: linear-gradient(135deg, #090f23 0%, #030611 100%);
  padding: 48px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.game-art-column::before {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(255, 44, 56, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.game-icon-frame {
  position: relative;
  z-index: 2;
  width: 170px;
  height: 170px;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.45);
  border: 4px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 24px;
  transition: transform 0.3s ease;
}

.game-showcase-card:hover .game-icon-frame {
  transform: scale(1.04);
}

.game-icon-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.game-meta-tags {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.game-status {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: #10b981;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-inline: auto;
}

.game-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}

.game-platform {
  color: var(--text-light-muted);
  font-size: 12px;
  font-weight: 500;
}

.game-info-column {
  padding: clamp(32px, 5vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.game-tagline {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-red);
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.game-title {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.game-story {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 28px;
}

.game-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-block: 1px solid var(--border-light);
  margin-bottom: 28px;
}

.highlight-box {
  display: flex;
  flex-direction: column;
}

.highlight-box strong {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.highlight-box span {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 2px;
}

.tag-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.tag-pill {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-body);
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  padding: 6px 14px;
  border-radius: var(--radius-full);
}

.game-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.package-info {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-muted);
}

/* ==========================================================================
   Studio Values / Philosophy
   ========================================================================== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--bg-surface);
  padding: 36px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.value-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-red);
  box-shadow: var(--shadow-md);
}

.value-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--brand-red-subtle);
  color: var(--brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 22px;
}

.value-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
}

.value-card p {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.65;
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}

.about-mark-card {
  background: var(--bg-dark);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-lg);
}

.about-mark-card img {
  width: 140px;
  height: auto;
  margin-bottom: 20px;
}

.about-mark-card span {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light-muted);
  letter-spacing: 0.08em;
}

.about-content h2 {
  font-size: clamp(30px, 3.5vw, 42px);
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.about-content h2 span {
  color: var(--brand-red);
}

.about-content p {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 20px;
}

.about-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
}

.pillar-item {
  display: flex;
  flex-direction: column;
}

.pillar-item strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.pillar-item span {
  font-size: 13px;
  color: var(--text-muted);
}

/* ==========================================================================
   Contact / Support Section
   ========================================================================== */
.contact-card-box {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #0d162d 100%);
  border-radius: var(--radius-xl);
  padding: clamp(36px, 6vw, 64px);
  color: #ffffff;
  border: 1px solid var(--border-dark);
  box-shadow: 0 24px 60px -12px rgba(5, 11, 32, 0.3);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.contact-content h2 {
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.contact-content h2 span {
  color: var(--brand-red);
}

.contact-content p {
  font-size: 16px;
  color: var(--text-light-muted);
  line-height: 1.65;
  margin-bottom: 28px;
  max-width: 500px;
}

.contact-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-info-panel {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.contact-info-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--brand-red);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.contact-email-link {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  word-break: break-all;
  margin-bottom: 16px;
  transition: color 0.15s ease;
}

.contact-email-link:hover {
  color: var(--brand-red);
}

.contact-notes {
  font-size: 13px;
  color: var(--text-light-muted);
  line-height: 1.5;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  padding: 56px 0 32px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border-light);
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-logo {
  height: 36px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
}

.footer-brand p {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-body);
}

.footer-links a:hover {
  color: var(--brand-red);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-top: 28px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.footer-bottom a {
  color: var(--text-body);
  font-weight: 600;
}

.footer-bottom a:hover {
  color: var(--brand-red);
}

/* ==========================================================================
   Privacy Policy Page Styles
   ========================================================================== */
.policy-page .site-header {
  background: #ffffff;
}

.policy-hero-wrap {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-body) 100%);
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--border-light);
}

.policy-badge {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-red);
  background: var(--brand-red-subtle);
  border: 1px solid rgba(255, 44, 56, 0.15);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 16px;
}

.policy-hero-wrap h1 {
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.policy-hero-wrap h1 span {
  color: var(--brand-red);
}

.policy-intro {
  font-size: 17px;
  color: var(--text-body);
  max-width: 680px;
  line-height: 1.65;
  margin-bottom: 20px;
}

.policy-date-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-muted);
}

.policy-body-wrap {
  padding: 64px 0 96px;
}

.policy-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
}

.policy-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.sidebar-title {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.policy-nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.policy-nav-list a {
  font-size: 13px;
  color: var(--text-body);
  font-weight: 500;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.policy-nav-list a:hover {
  background: var(--bg-subtle);
  color: var(--brand-red);
}

.policy-article {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: clamp(32px, 5vw, 56px);
  box-shadow: var(--shadow-sm);
}

.policy-section {
  padding-bottom: 36px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--border-light);
}

.policy-section:last-of-type {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.policy-section h2 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 16px;
  letter-spacing: -0.015em;
}

.policy-section p {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 14px;
}

.policy-section p:last-child {
  margin-bottom: 0;
}

.policy-section code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--bg-subtle);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--brand-navy);
}

.policy-section a {
  color: var(--brand-red);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-section a:hover {
  color: var(--brand-red-hover);
}

.policy-contact-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 16px;
}

.policy-contact-box strong {
  display: block;
  font-size: 16px;
  color: var(--text-main);
  margin-bottom: 6px;
}

.policy-contact-box a {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-red);
  text-decoration: none;
  margin-bottom: 4px;
}

.policy-disclaimer-box {
  margin-top: 36px;
  padding: 20px;
  background: #fffbeb;
  border: 1px solid #fef3c7;
  border-radius: var(--radius-md);
  font-size: 13px;
  color: #92400e;
  line-height: 1.6;
}

/* ==========================================================================
   Animations & Reveals
   ========================================================================== */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease-out, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

  .hero-visual {
    order: -1;
  }

  .hero-card {
    max-width: 440px;
    margin-inline: auto;
  }

  .game-showcase-card {
    grid-template-columns: 1fr;
  }

  .game-art-column {
    padding: 40px 24px;
  }

  .game-icon-frame {
    width: 140px;
    height: 140px;
  }

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-mark-card {
    padding: 36px;
  }

  .contact-card-box {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .policy-sidebar {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 70px;
  }

  .container {
    width: calc(100% - 32px);
  }

  .site-header {
    height: var(--nav-height);
  }

  .menu-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 16px;
    right: 16px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a:not(.btn) {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 16px;
  }

  .site-nav a:not(.btn)::after {
    display: none;
  }

  .site-nav .btn {
    margin-top: 8px;
    width: 100%;
  }

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

  .hero h1 {
    font-size: 34px;
  }

  .hero-desc {
    font-size: 16px;
  }

  .hero-metrics {
    gap: 20px;
    flex-wrap: wrap;
  }

  .game-highlights-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-pillars {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-in-up {
    opacity: 1 !important;
    transform: none !important;
  }
}
