/* ==========================================================================
   Caki Games — Studio & Games Official Stylesheet
   Modern, trustworthy, vibrant sky blue palette & clean document styling.
   ========================================================================== */

:root {
  /* Core Tech & Studio Blue Palette */
  --bg-primary: #070d1e;
  --bg-secondary: #0d1730;
  --bg-tertiary: #132145;
  --bg-card: rgba(13, 23, 48, 0.75);
  --bg-card-hover: rgba(19, 33, 69, 0.95);
  
  /* Accent & Highlight Colors (Trustworthy Ocean / Sky Blue) */
  --blue-primary: #0284c7;
  --blue-accent: #38bdf8;
  --blue-bright: #7dd3fc;
  --blue-light: #e0f2fe;
  --cyan-accent: #06b6d4;
  --blue-glow: rgba(56, 189, 248, 0.22);

  /* Lines & Borders */
  --line-subtle: rgba(148, 163, 184, 0.14);
  --line-strong: rgba(56, 189, 248, 0.32);
  --line-focus: #38bdf8;

  /* Typography Colors */
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-subtle: #64748b;
  --text-inverse: #030712;

  /* Geometry & Shadows */
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --radius-pill: 9999px;
  --max-width: 1180px;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.28);
  --shadow-glow: 0 0 35px rgba(56, 189, 248, 0.18);

  /* Fonts */
  --font-head: "Bricolage Grotesque", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Document / Policy Page Palette (Ferah, Kurumsal & Okunabilir Açık Mavi/Beyaz) */
  --doc-bg: #f0f7ff;
  --doc-card: #ffffff;
  --doc-text: #1e293b;
  --doc-title: #0f172a;
  --doc-muted: #475569;
  --doc-border: #cbd5e1;
  --doc-accent: #0284c7;
  --doc-box: #e0f2fe;

  /* Backwards compatibility aliases */
  --bg: var(--bg-primary);
  --bg-2: var(--bg-secondary);
  --bg-3: var(--bg-tertiary);
  --line: var(--line-subtle);
  --text: var(--text-main);
  --muted: var(--text-muted);
  --subtle: var(--text-subtle);
  --accent: var(--blue-accent);
  --border-glass: var(--line-subtle);
  --text-muted: var(--text-muted);
  --text-subtle: var(--text-subtle);
  --accent-cyan: var(--blue-accent);
  --radius: var(--radius-lg);
  --radius-sm: var(--radius-md);
  --radius-md: var(--radius-md);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  transition: color 0.15s ease;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

p {
  margin: 0;
}

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

/* ==========================================================================
   Buttons & Interactive Elements
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font: 600 0.95rem/1 var(--font-body);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

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

.btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(56, 189, 248, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1 0%, #0ea5e9 100%);
  box-shadow: 0 6px 24px rgba(56, 189, 248, 0.5);
}

.btn-secondary {
  background: rgba(13, 23, 48, 0.6);
  color: var(--text-main);
  border-color: var(--line-strong);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(30, 58, 138, 0.4);
  border-color: var(--blue-accent);
  color: #ffffff;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px 10px 14px;
  background: #091122;
  color: #ffffff;
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.2s ease;
}

.store-btn:hover {
  border-color: var(--blue-accent);
  background: #0f1c38;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.2);
}

.store-btn svg {
  width: 24px;
  height: 24px;
  flex: none;
  fill: var(--blue-accent);
}

.store-btn small {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.2;
}

.store-btn strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.2;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 13, 30, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-subtle);
  transition: background 0.2s ease;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 72px;
}

.logo-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0f2757 0%, #1e40af 100%);
  border: 1px solid rgba(56, 189, 248, 0.4);
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: none;
  box-shadow: 0 2px 10px rgba(56, 189, 248, 0.2);
}

.brand-mark img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.brand-name {
  font: 800 1.25rem/1 var(--font-head);
  letter-spacing: -0.01em;
  background: linear-gradient(120deg, #ffffff 40%, var(--blue-bright) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 6px 0;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: #ffffff;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--blue-accent);
  transition: width 0.2s ease;
}

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

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

.nav-actions .btn {
  padding: 10px 20px;
  font-size: 0.88rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line-subtle);
  color: var(--text-main);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  font-size: 1.25rem;
  cursor: pointer;
}

/* ==========================================================================
   Hero Section — Modern Studio Look (No giant logo in the middle)
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 80px 0 70px;
  background: radial-gradient(80% 60% at 50% 15%, #0f2b5c 0%, #07122a 50%, var(--bg-primary) 100%);
}

.hero-glow-layer {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 450px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(1px 1px at 12% 20%, rgba(255,255,255,0.7) 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 45%, rgba(125,211,252,0.8) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 45% 15%, rgba(255,255,255,0.9) 50%, transparent 51%),
    radial-gradient(1px 1px at 65% 35%, rgba(125,211,252,0.7) 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 82% 18%, rgba(255,255,255,0.8) 50%, transparent 51%),
    radial-gradient(1px 1px at 92% 52%, rgba(125,211,252,0.6) 50%, transparent 51%);
  opacity: 0.65;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

/* Compact, elegant studio badge instead of massive circle */
.hero-emblem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.2) 0%, rgba(3, 105, 161, 0.4) 100%);
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 35px rgba(56, 189, 248, 0.25);
  margin-bottom: 24px;
  transition: transform 0.3s ease;
}

.hero-emblem:hover {
  transform: scale(1.05);
}

.hero-emblem img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.eyebrow {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue-accent);
  background: rgba(56, 189, 248, 0.1);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(56, 189, 248, 0.25);
  margin-bottom: 16px;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.hero-lead {
  margin: 18px auto 0;
  max-width: 38rem;
  color: #cbd5e1;
  font-size: 1.15rem;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 32px;
}

.ridges {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: clamp(80px, 12vw, 160px);
  margin-top: -30px;
}

/* ==========================================================================
   Sections & Cards
   ========================================================================== */

.section {
  padding: 88px 0;
  border-top: 1px solid var(--line-subtle);
  position: relative;
}

.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}

.section-head h2 {
  font-size: clamp(2rem, 3.8vw, 2.7rem);
  font-weight: 800;
}

.section-head p {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Featured Game: MMO11 */
.feature {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #09152e url("../../mmo11/img/stadium.webp") center 60% / cover no-repeat;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.feature::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 13, 30, 0.96) 0%, rgba(7, 13, 30, 0.85) 50%, rgba(7, 13, 30, 0.35) 100%);
}

.feature-body {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
  padding: 56px;
  max-width: 780px;
}

.feature-icon {
  width: 110px;
  height: 110px;
  border-radius: 24px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(56, 189, 248, 0.4);
}

.feature .tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  background: rgba(56, 189, 248, 0.16);
  color: var(--blue-bright);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.feature h3 {
  font-size: clamp(2rem, 3.8vw, 2.7rem);
  font-weight: 800;
  margin-top: 14px;
}

.feature p {
  color: #cbd5e1;
  margin-top: 12px;
  max-width: 34rem;
  line-height: 1.6;
}

.feature .hero-cta {
  justify-content: flex-start;
  margin-top: 24px;
}

/* Games Grid */
.games {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.game {
  display: flex;
  flex-direction: column;
  background: var(--bg-secondary);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.game:hover {
  border-color: var(--line-strong);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
}

.game-shot {
  aspect-ratio: 16 / 9;
  background: var(--bg-tertiary);
  overflow: hidden;
  cursor: zoom-in;
}

.game-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.game:hover .game-shot img {
  transform: scale(1.04);
}

.game-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.game-genre {
  color: var(--blue-accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.game h3 {
  font-size: 1.6rem;
  font-weight: 800;
}

.game p {
  color: var(--text-muted);
}

.game-links {
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.text-link {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
  border-bottom: 1px solid var(--line-subtle);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.text-link:hover {
  color: var(--blue-accent);
  border-color: var(--blue-accent);
}

/* About Studio */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.about-copy p + p {
  margin-top: 16px;
}

.about-copy p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.about-copy strong {
  color: #ffffff;
}

.pillars {
  display: grid;
  gap: 16px;
}

.pillar {
  padding: 22px 26px;
  background: var(--bg-secondary);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--blue-primary);
  transition: transform 0.2s ease;
}

.pillar:hover {
  transform: translateX(4px);
  border-color: var(--line-strong);
}

.pillar h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.pillar p {
  color: var(--text-muted);
  margin-top: 6px;
  font-size: 0.95rem;
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
}

.contact-card {
  padding: 34px;
  background: var(--bg-secondary);
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-lg);
}

.contact-card h3 {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.contact-card > p {
  color: var(--text-muted);
}

.contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding: 16px 20px;
  border: 1px solid var(--line-subtle);
  border-radius: var(--radius-md);
  background: var(--bg-primary);
}

.contact-row > div {
  min-width: 0;
}

.contact-row small {
  display: block;
  color: var(--text-subtle);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-row a,
.contact-row span {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.btn-copy {
  flex: none;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--blue-accent);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  font: 600 0.84rem var(--font-body);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
}

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

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.social-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-subtle);
  color: var(--text-muted);
  background: var(--bg-primary);
  transition: all 0.2s ease;
}

.social-btn:hover {
  color: #ffffff;
  border-color: var(--blue-accent);
  background: rgba(56, 189, 248, 0.15);
  transform: translateY(-2px);
}

.social-btn svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  border-top: 1px solid var(--line-subtle);
  padding: 56px 0 36px;
  color: var(--text-muted);
  font-size: 0.92rem;
  background: #040813;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}

.footer-grid h4 {
  color: #ffffff;
  font: 700 0.85rem var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.footer-grid a {
  text-decoration: none;
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.footer-grid a:hover {
  color: var(--blue-accent);
}

.footer-bottom {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid var(--line-subtle);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--text-subtle);
  font-size: 0.88rem;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  place-items: center;
  padding: 20px;
  background: rgba(4, 8, 19, 0.92);
  backdrop-filter: blur(8px);
}

.lightbox-modal.active {
  display: grid;
}

.lightbox-content {
  position: relative;
  max-width: 1200px;
  width: 100%;
}

.lightbox-img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.lightbox-close {
  position: absolute;
  top: -48px;
  right: 0;
  background: none;
  border: 0;
  color: #ffffff;
  font-size: 2.2rem;
  cursor: pointer;
}

/* ==========================================================================
   DOCUMENT & LEGAL PAGES — Ferah, Kurumsal, Açık Mavi & Beyaz Okuma Alanı
   (Google Play, Apple ve Oyuncu Hakları için En Yüksek Okunabilirlik Standardı)
   ========================================================================== */

.policy-page {
  padding: 56px 0 64px;
  background: linear-gradient(180deg, var(--bg-primary) 0%, #0d1b38 40%, #17274d 100%);
  min-height: calc(100vh - 72px);
}

.policy-paper {
  max-width: 880px;
  margin: 0 auto;
  padding: 56px;
  background: var(--doc-card);
  color: var(--doc-text);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
  position: relative;
}

.policy-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--doc-accent);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 28px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  background: var(--doc-highlight);
  border: 1px solid #bae6fd;
  transition: all 0.15s ease;
}

.policy-back-btn:hover {
  background: #bae6fd;
  color: #0369a1;
}

.policy-header {
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 2px solid #e2e8f0;
}

.policy-header h1 {
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 800;
  color: var(--doc-title);
  letter-spacing: -0.025em;
}

.policy-meta {
  color: var(--doc-muted);
  margin-top: 10px;
  font-size: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.policy-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: #dbeafe;
  color: #1e40af;
  font-size: 0.8rem;
  font-weight: 700;
}

.policy-body {
  color: #334155;
  font-size: 1.02rem;
  line-height: 1.75;
}

.policy-body h2 {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--doc-title);
  margin: 38px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e2e8f0;
}

.policy-body h3 {
  font-size: 1.18rem;
  font-weight: 700;
  color: #0369a1;
  margin: 24px 0 10px;
}

.policy-body p,
.policy-body li {
  margin: 0 0 14px;
}

.policy-body ul,
.policy-body ol {
  padding-left: 24px;
  margin: 0 0 18px;
}

.policy-body a {
  color: #0284c7;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.policy-body a:hover {
  color: #0369a1;
}

.policy-body strong {
  color: #0f172a;
}

.policy-box {
  background: #f0f9ff;
  border-left: 4px solid #0284c7;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 20px 24px;
  margin: 24px 0;
  color: #0369a1;
}

.policy-box strong {
  color: #0c4a6e;
}

.policy-box-alert {
  background: #fef2f2;
  border-left-color: #ef4444;
  color: #991b1b;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.96rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.legal-table th,
.legal-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid #e2e8f0;
}

.legal-table th {
  background: #f8fafc;
  color: #0f172a;
  font-weight: 700;
}

.legal-table tr:last-child td {
  border-bottom: 0;
}

/* ==========================================================================
   Account & Data Deletion Form Styles
   ========================================================================== */

.deletion-form-card {
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px;
  margin: 28px 0;
}

.deletion-form-group {
  margin-bottom: 20px;
}

.deletion-form-group label {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.deletion-form-group label small {
  font-weight: normal;
  color: #64748b;
}

.deletion-input,
.deletion-select,
.deletion-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  font-family: var(--font-body);
  font-size: 0.98rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  user-select: text !important;
  pointer-events: auto !important;
}

.deletion-input:focus,
.deletion-select:focus,
.deletion-textarea:focus {
  outline: none;
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.deletion-textarea {
  resize: vertical;
  min-height: 90px;
}

.form-submit-btn {
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  border: 0;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.form-submit-btn:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.45);
}

.in-app-deletion-box {
  background: #f0fdf4;
  border: 1.5px solid #bbf7d0;
  border-radius: 14px;
  padding: 24px;
  margin: 28px 0;
  color: #166534;
}

.in-app-deletion-box h3 {
  color: #14532d;
  margin-top: 0;
  margin-bottom: 10px;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */

@media (max-width: 980px) {
  .hero {
    padding: 60px 0 50px;
  }
  .about,
  .contact,
  .games {
    grid-template-columns: 1fr;
  }
  .feature-body {
    grid-template-columns: 1fr;
    padding: 36px 28px;
  }
  .feature::before {
    background: linear-gradient(180deg, rgba(7, 13, 30, 0.94) 0%, rgba(7, 13, 30, 0.88) 100%);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid > :first-child {
    grid-column: 1 / -1;
  }
  .policy-paper {
    padding: 36px 28px;
  }
}

@media (max-width: 720px) {
  .container {
    padding: 0 18px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--line-subtle);
    padding: 12px 20px 20px;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    display: block;
    padding: 12px 0;
    font-size: 1.05rem;
  }
  .mobile-toggle {
    display: inline-grid;
    place-items: center;
  }
  .nav-actions .btn {
    display: none;
  }
  .section {
    padding: 64px 0;
  }
  .game-body,
  .contact-card {
    padding: 22px;
  }
  .policy-paper {
    padding: 28px 18px;
    border-radius: 14px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .legal-table {
    font-size: 0.85rem;
  }
  .legal-table th,
  .legal-table td {
    padding: 10px 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .stars {
    animation: none;
  }
  * {
    transition: none !important;
  }
}
