/* ============================================================
   SRC Bilisim — Main Stylesheet
   Modern, minimalist, system-font-only design
   ============================================================ */

/* ── 1. Custom Properties ─────────────────────────────────── */
:root {
  /* Color Palette */
  --clr-bg:         #0a0d14;
  --clr-surface:    #0f1320;
  --clr-surface-2:  #151b2e;
  --clr-border:     rgba(255, 255, 255, 0.07);
  --clr-accent:     #4f8ef7;
  --clr-accent-2:   #7b61ff;
  --clr-accent-glow:rgba(79, 142, 247, 0.18);
  --clr-text:       #e8eaf0;
  --clr-text-muted: #8892a4;
  --clr-text-dim:   #4a5568;

  /* Typography */
  --font-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
                  Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  --font-mono:   ui-monospace, "Cascadia Code", "Source Code Pro",
                  Menlo, Consolas, "DejaVu Sans Mono", monospace;

  /* Spacing */
  --section-pad: clamp(4rem, 8vw, 8rem);
  --container:   min(1160px, 92vw);

  /* Transitions */
  --t-fast: 150ms ease;
  --t-base: 280ms cubic-bezier(0.4, 0, 0.2, 1);
  --t-slow: 520ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-card: 0 4px 24px rgba(0,0,0,0.35), 0 1px 4px rgba(0,0,0,0.3);
  --shadow-glow: 0 0 32px rgba(79, 142, 247, 0.15);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

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

a {
  color: var(--clr-accent);
  text-decoration: none;
  transition: color var(--t-fast);
}
a:hover { color: #7ab3ff; }

ul { list-style: none; }

/* ── 3. Scrollbar ─────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--clr-bg); }
::-webkit-scrollbar-thumb {
  background: var(--clr-text-dim);
  border-radius: 999px;
}

/* ── 4. Utility Classes ───────────────────────────────────── */
.container {
  width: var(--container);
  margin-inline: auto;
}

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-accent);
  background: rgba(79, 142, 247, 0.1);
  border: 1px solid rgba(79, 142, 247, 0.25);
  border-radius: 999px;
  padding: 0.3em 1em;
  margin-bottom: 1.2rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--clr-text);
}

.section-subtitle {
  margin-top: 0.9rem;
  font-size: 1.05rem;
  color: var(--clr-text-muted);
  max-width: 560px;
}

/* ── 5. Navigation ────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 0;
  transition: background var(--t-base), box-shadow var(--t-base),
              padding var(--t-base);
}

#nav.scrolled {
  background: rgba(10, 13, 20, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--clr-border), 0 4px 24px rgba(0,0,0,0.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  width: var(--container);
  margin-inline: auto;
}

/* Logo */
.logo {
  display: flex;
  align-items: baseline;
  gap: 0;
  text-decoration: none;
  user-select: none;
}

.logo-mark {
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #fff;
  font-family: var(--font-mono);
}

.logo-mark span.accent {
  color: var(--clr-accent);
}

.logo-divider {
  width: 1px;
  height: 1.1em;
  background: var(--clr-border);
  margin: 0 0.7rem;
  align-self: center;
}

.logo-name {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}

/* Desktop Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--clr-text-muted);
  padding: 0.45em 0.9em;
  border-radius: 8px;
  transition: color var(--t-fast), background var(--t-fast);
}

.nav-links a:hover {
  color: var(--clr-text);
  background: rgba(255,255,255,0.06);
}

.nav-cta {
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  color: var(--clr-accent) !important;
  border: 1px solid rgba(79, 142, 247, 0.35) !important;
  padding: 0.45em 1.1em !important;
  border-radius: 8px;
  transition: background var(--t-fast), border-color var(--t-fast),
              color var(--t-fast) !important;
}

.nav-cta:hover {
  background: rgba(79, 142, 247, 0.12) !important;
  border-color: var(--clr-accent) !important;
  color: #7ab3ff !important;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: transparent;
  border-radius: 6px;
  transition: background var(--t-fast);
}

.nav-hamburger:hover { background: rgba(255,255,255,0.06); }

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: transform var(--t-base), opacity var(--t-base);
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.nav-drawer {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: rgba(10, 13, 20, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 1rem var(--container);
  padding-left: max(1rem, calc((100vw - 1160px) / 2 * 0.92));
  padding-right: max(1rem, calc((100vw - 1160px) / 2 * 0.92));
  border-bottom: 1px solid var(--clr-border);
  transform: translateY(-8px);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--t-base), opacity var(--t-base);
  z-index: 99;
}

.nav-drawer.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-drawer a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--clr-text-muted);
  padding: 0.75em 0;
  border-bottom: 1px solid var(--clr-border);
  transition: color var(--t-fast);
}

.nav-drawer a:last-child { border-bottom: none; }
.nav-drawer a:hover { color: var(--clr-text); }

/* ── 6. Hero Section ──────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 68px;
  overflow: hidden;
}

/* Animated grid background */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(79, 142, 247, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 142, 247, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%,
                               black 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%,
                                       black 40%, transparent 100%);
  animation: grid-drift 20s ease-in-out infinite alternate;
}

@keyframes grid-drift {
  from { transform: translate(0, 0); }
  to   { transform: translate(-20px, -10px); }
}

/* Glow orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.hero-orb-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(79,142,247,0.15) 0%, transparent 70%);
  top: -100px;
  right: 5%;
  animation: orb-float-1 12s ease-in-out infinite;
}

.hero-orb-2 {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(123,97,255,0.12) 0%, transparent 70%);
  bottom: 10%;
  left: -80px;
  animation: orb-float-2 15s ease-in-out infinite;
}

@keyframes orb-float-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(-30px, 40px) scale(1.08); }
}
@keyframes orb-float-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(20px, -30px) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: var(--section-pad) 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--clr-accent);
  background: rgba(79, 142, 247, 0.08);
  border: 1px solid rgba(79, 142, 247, 0.2);
  border-radius: 999px;
  padding: 0.4em 1.1em;
  margin-bottom: 1.8rem;
  animation: fade-up 0.6s ease both;
}

.hero-badge::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clr-accent);
  box-shadow: 0 0 8px var(--clr-accent);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}

.hero-headline {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: #fff;
  animation: fade-up 0.6s 0.1s ease both;
}

.hero-headline .gradient-text {
  background: linear-gradient(135deg, var(--clr-accent) 0%, var(--clr-accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  margin-top: 1.5rem;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: var(--clr-text-muted);
  max-width: 540px;
  line-height: 1.65;
  animation: fade-up 0.6s 0.2s ease both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.5rem;
  animation: fade-up 0.6s 0.3s ease both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent-2));
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 0.8em 1.8em;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity var(--t-fast), transform var(--t-fast),
              box-shadow var(--t-fast);
  box-shadow: 0 4px 20px rgba(79, 142, 247, 0.3);
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(79, 142, 247, 0.45);
  color: #fff;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--clr-text);
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.8em 1.8em;
  border-radius: 10px;
  border: 1px solid var(--clr-border);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--t-fast), border-color var(--t-fast),
              transform var(--t-fast);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.18);
  color: var(--clr-text);
  transform: translateY(-2px);
}

/* Hero stats row */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--clr-border);
  animation: fade-up 0.6s 0.4s ease both;
}

.stat-item {}

.stat-value {
  font-size: 1.8rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--clr-text-muted);
  margin-top: 0.3rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ── 7. Services Section ──────────────────────────────────── */
#services {
  padding: var(--section-pad) 0;
  position: relative;
}

.services-header {
  margin-bottom: 3.5rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: 1.25rem;
}

.service-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 16px;
  padding: 2rem 1.8rem;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-base), border-color var(--t-base),
              box-shadow var(--t-base);
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(79,142,247,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--t-base);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 142, 247, 0.3);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

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

/* Icon area — pure CSS icon */
.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg,
    rgba(79,142,247,0.15), rgba(123,97,255,0.1));
  border: 1px solid rgba(79,142,247,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
  position: relative;
  z-index: 1;
}

/* CSS-drawn icons via pseudo-elements */
.service-icon.icon-mobile::after {
  content: '';
  width: 14px;
  height: 22px;
  border: 2px solid var(--clr-accent);
  border-radius: 3px;
  position: relative;
}
.service-icon.icon-mobile::before {
  content: '';
  position: absolute;
  bottom: 14px;
  width: 5px;
  height: 2px;
  background: var(--clr-accent);
  border-radius: 1px;
}

.service-icon.icon-web::after {
  content: '';
  width: 22px;
  height: 16px;
  border: 2px solid var(--clr-accent);
  border-radius: 3px;
}
.service-icon.icon-web::before {
  content: '';
  position: absolute;
  bottom: 11px;
  width: 10px;
  height: 2px;
  background: rgba(79,142,247,0.5);
  box-shadow: 0 4px 0 rgba(79,142,247,0.5), 0 -4px 0 rgba(79,142,247,0.5);
}

.service-icon.icon-hybrid::after {
  content: '';
  width: 18px;
  height: 18px;
  border: 2px solid var(--clr-accent);
  border-radius: 50%;
  border-top-color: transparent;
  transform: rotate(-45deg);
}

.service-icon.icon-db::after {
  content: '';
  width: 20px;
  height: 8px;
  border: 2px solid var(--clr-accent);
  border-radius: 50%;
  box-shadow: 0 7px 0 var(--clr-accent), 0 14px 0 var(--clr-accent);
}

.service-icon.icon-server::after {
  content: '';
  width: 22px;
  height: 16px;
  border: 2px solid var(--clr-accent);
  border-radius: 3px;
  box-shadow: inset 0 3px 0 rgba(79,142,247,0.3);
}
.service-icon.icon-server::before {
  content: '';
  position: absolute;
  right: 13px;
  width: 4px;
  height: 4px;
  background: var(--clr-accent);
  border-radius: 50%;
  box-shadow: 0 6px 0 var(--clr-accent);
}

.service-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--clr-text);
  margin-bottom: 0.6rem;
  position: relative;
  z-index: 1;
}

.service-desc {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

/* ── 8. Games / App Store Section ────────────────────────── */
#games {
  padding: var(--section-pad) 0;
  position: relative;
}

.games-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.game-card {
  background: linear-gradient(135deg, var(--clr-surface) 0%, var(--clr-surface-2) 100%);
  border: 1px solid var(--clr-border);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.game-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(123,97,255,0.12) 0%, transparent 70%);
  pointer-events: none;
}

/* Game card header: text left, logo right */
.game-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.game-card-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
  flex: 1;
  min-width: 0;
}

/* Tiny Sages logo image */
.game-logo-img {
  width: 120px;
  height: 120px;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: 0 8px 28px rgba(123,97,255,0.4);
  flex-shrink: 0;
  align-self: flex-start;
}

.game-name {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 0;
}

.game-tagline {
  font-size: 0.9rem;
  color: var(--clr-text-muted);
  margin-bottom: 0;
}

.game-age-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #7b61ff, #4f8ef7);
  padding: 0.35em 0.9em;
  border-radius: 999px;
  margin-bottom: 0;
}

.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.store-badge-link {
  display: inline-block;
  border-radius: 10px;
  overflow: hidden;
  transition: transform var(--t-fast), opacity var(--t-fast),
              box-shadow var(--t-fast);
  outline-offset: 3px;
}

.store-badge-link:hover {
  transform: translateY(-3px);
  opacity: 0.88;
  box-shadow: 0 8px 24px rgba(0,0,0,0.45);
}

.store-badge {
  display: block;
  height: 52px;   /* visual display height */
  width: auto;    /* preserve aspect ratio */
}

.privacy-link-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1em 1.4em;
  background: rgba(79,142,247,0.06);
  border: 1px solid rgba(79,142,247,0.18);
  border-radius: 10px;
  color: var(--clr-accent);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: 1.2rem;
  transition: background var(--t-fast), border-color var(--t-fast),
              transform var(--t-fast);
}

.privacy-link-card:hover {
  background: rgba(79,142,247,0.1);
  border-color: rgba(79,142,247,0.35);
  color: #7ab3ff;
  transform: translateY(-2px);
}

/* Games info side */
.games-info {}

.games-info .section-subtitle {
  max-width: 100%;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: var(--clr-text-muted);
}

.feature-dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--clr-accent);
  margin-top: 0.5em;
}

/* ── 9. Contact Section ───────────────────────────────────── */
#contact {
  padding: var(--section-pad) 0;
}

.contact-card {
  background: linear-gradient(135deg, var(--clr-surface) 0%, var(--clr-surface-2) 100%);
  border: 1px solid var(--clr-border);
  border-radius: 24px;
  padding: clamp(2rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(79,142,247,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.contact-email-wrapper {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.contact-email-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
}

#email-display {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--clr-accent);
  font-family: var(--font-mono);
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 0.3em 0.8em;
  background: rgba(79,142,247,0.08);
  border: 1px solid rgba(79,142,247,0.2);
  border-radius: 8px;
  transition: background var(--t-fast), border-color var(--t-fast);
}

#email-display:hover {
  background: rgba(79,142,247,0.14);
  border-color: rgba(79,142,247,0.4);
}

.contact-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

/* CSS envelope illustration */
.envelope {
  width: 80px;
  height: 56px;
  background: linear-gradient(135deg, var(--clr-accent), var(--clr-accent-2));
  border-radius: 8px;
  position: relative;
  box-shadow: 0 8px 24px rgba(79,142,247,0.3);
}

.envelope::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: transparent;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-top: 28px solid rgba(255,255,255,0.15);
}

.envelope::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: transparent;
  border-left: 40px solid transparent;
  border-right: 40px solid transparent;
  border-bottom: 24px solid rgba(255,255,255,0.1);
}

/* ── 10. Footer ───────────────────────────────────────────── */
#footer {
  padding: 2.5rem 0;
  border-top: 1px solid var(--clr-border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--clr-text-dim);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--clr-text-dim);
  transition: color var(--t-fast);
}

.footer-links a:hover { color: var(--clr-text-muted); }

/* ── 11. Animations ───────────────────────────────────────── */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ── 12. Responsive ───────────────────────────────────────── */
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-drawer { display: flex; }

  .games-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .contact-visual { display: none; }
}

@media (max-width: 560px) {
  .hero-stats { gap: 1.25rem; }
  .hero-headline { letter-spacing: -0.03em; }

  .store-buttons { flex-direction: column; }
  .store-badge-link { width: fit-content; }

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