/* ============ Game Page — Kurumsal Site ============ */

:root {
  --bg: #0b0d17;
  --bg-alt: #10132200;
  --surface: #151829;
  --surface-2: #1c2038;
  --border: #262b47;
  --text: #eef0ff;
  --text-muted: #9aa1c4;
  --primary: #7c5cff;
  --accent: #00d4ff;
  --gradient: linear-gradient(120deg, #7c5cff, #00d4ff);
  --radius: 16px;
  --font-display: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}

h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; }

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

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(11, 13, 23, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { width: 34px; height: 34px; }
.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.logo-accent {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-menu { display: flex; align-items: center; gap: 28px; }

.nav-links {
  display: flex;
  gap: 26px;
  list-style: none;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.lang-toggle {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 7px 14px;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.15s;
}
.lang-toggle:hover { border-color: var(--primary); transform: translateY(-1px); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 170px 0 90px;
  text-align: center;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  pointer-events: none;
}
.hero-glow-1 {
  width: 480px; height: 480px;
  background: var(--primary);
  top: -140px; left: -120px;
}
.hero-glow-2 {
  width: 420px; height: 420px;
  background: var(--accent);
  bottom: -160px; right: -100px;
  opacity: 0.22;
}

.hero-inner { position: relative; }

.hero-kicker {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 26px;
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 620px;
  margin: 0 auto 34px;
  color: var(--text-muted);
  font-size: 1.1rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 46px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 28px;
  border-radius: 12px;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}
.btn-primary {
  background: var(--gradient);
  color: #0b0d17;
  box-shadow: 0 8px 24px rgba(124, 92, 255, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(124, 92, 255, 0.5); }
.btn-ghost {
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--primary); }
.btn-lg { font-size: 1.05rem; padding: 16px 34px; }

/* ---------- Store badges ---------- */
.store-badges {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.store-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 10px 20px;
  transition: border-color 0.2s, transform 0.15s;
}
.store-badge:hover { border-color: var(--accent); transform: translateY(-2px); }
.store-badge span {
  display: flex;
  flex-direction: column;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
}
.store-badge small {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  font-weight: 500;
}

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-alt {
  background: linear-gradient(180deg, rgba(124, 92, 255, 0.05), rgba(0, 212, 255, 0.03));
  border-block: 1px solid var(--border);
}

.section-kicker {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  text-align: center;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
  text-align: center;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--text-muted);
  text-align: center;
  max-width: 560px;
  margin: 0 auto 50px;
  font-size: 1.05rem;
}

/* ---------- Cards ---------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform 0.2s, border-color 0.2s;
}
.card:hover { transform: translateY(-4px); border-color: var(--primary); }
.card-icon { font-size: 2rem; margin-bottom: 16px; }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 0.95rem; }

/* ---------- Game card ---------- */
.game-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 40px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px;
  max-width: 820px;
  margin: 0 auto;
}
.game-art {
  aspect-ratio: 1;
  border-radius: 20px;
  background: var(--gradient);
  padding: 3px;
}
.game-art-inner {
  width: 100%; height: 100%;
  border-radius: 18px;
  background: var(--bg);
  display: grid;
  place-items: center;
}
.game-art-q {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.94); }
}
.tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #0b0d17;
  background: var(--gradient);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.game-info h3 { font-size: 1.6rem; margin-bottom: 12px; }
.game-info p { color: var(--text-muted); margin-bottom: 24px; }

/* ---------- Contact ---------- */
.contact-wrap { text-align: center; }
.contact-wrap .section-sub { margin-bottom: 34px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.footer-links a { color: var(--text-muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Legal page ---------- */
.legal { padding: 140px 0 80px; max-width: 760px; }
.legal h1 { font-size: 2.2rem; margin-bottom: 8px; }
.legal .updated { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 36px; }
.legal h2 { font-size: 1.3rem; margin: 32px 0 12px; }
.legal p, .legal li { color: var(--text-muted); }
.legal ul { padding-left: 22px; margin: 10px 0; }
.legal a { color: var(--accent); }

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: 68px;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0 0 0 16px;
    padding: 24px 28px;
    transform: translateX(110%);
    transition: transform 0.3s ease;
  }
  .nav-menu.open { transform: none; }
  .nav-links { flex-direction: column; gap: 16px; }

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

  .hero { padding: 130px 0 70px; }
  .section { padding: 64px 0; }

  .game-card {
    grid-template-columns: 1fr;
    padding: 26px;
    gap: 26px;
    text-align: center;
  }
  .game-art { max-width: 240px; margin: 0 auto; }

  .footer-inner { justify-content: center; text-align: center; }
}
