/* Partner League web — arcade-pop, uygulamanın src/theme paletiyle aynı. */
:root {
  --bg900: #1b0a33;
  --bg800: #2a1052;
  --bg700: #3b1a6e;
  --violet: #7c3aed;
  --pink: #ec4899;
  --coral: #fb7185;
  --orange: #fb923c;
  --cyan: #38bdf8;
  --gold: #fbbf24;
  --success: #34d399;
  --text: #f5f0ff;
  --muted: #b9a8e0;
  --ink: #180b2e;
  --radius: 24px;
  --gutter: 16px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg800); }
html[lang='tr'] .en, html[lang='en'] .tr { display: none !important; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-weight: 600;
  color: var(--text);
  background-color: var(--bg800);
  background-image: radial-gradient(1200px 700px at 50% -10%, #5b21b6 0%, transparent 60%),
    linear-gradient(180deg, var(--bg900) 0%, var(--bg800) 45%, var(--bg700) 100%);
  background-repeat: no-repeat;
  overflow-x: hidden;
}
h1, h2, h3, .display { font-family: 'Baloo 2', 'Nunito', system-ui, sans-serif; font-weight: 800; line-height: 1.05; margin: 0; }
a { color: var(--cyan); }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 var(--gutter); }

/* Nav */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand img { width: 44px; height: 44px; border-radius: 12px; }
.brand span { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 22px; letter-spacing: 0.5px; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang { background: rgba(27, 10, 51, 0.7); border: 1px solid rgba(255, 255, 255, 0.18); color: var(--text); border-radius: 999px; padding: 6px 12px; font: inherit; font-weight: 800; cursor: pointer; }

/* Buttons — şişkin 3D */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 22px; border-radius: 20px; border: 0; cursor: pointer;
  font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 18px; text-decoration: none; color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--coral), var(--orange));
  box-shadow: 0 6px 0 #b0244e, 0 14px 30px rgba(236, 72, 153, 0.35);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(5px); box-shadow: 0 1px 0 #b0244e; }
.btn.brand { background: linear-gradient(135deg, var(--violet), var(--pink)); box-shadow: 0 6px 0 #4c1d95, 0 14px 30px rgba(124, 58, 237, 0.35); }
.btn.ghost { background: var(--bg700); box-shadow: 0 6px 0 var(--bg900); }
.btn.small { padding: 8px 14px; font-size: 15px; border-radius: 14px; box-shadow: 0 4px 0 #b0244e; }
.btn .store-sub { display: block; font-family: 'Nunito', sans-serif; font-size: 11px; font-weight: 800; opacity: 0.85; text-transform: uppercase; letter-spacing: 0.6px; }
.btn .store-main { display: block; line-height: 1.05; }
.btn[aria-disabled='true'] { opacity: 0.55; pointer-events: none; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: center; padding: 28px 0 40px; }
.hero h1 { font-size: clamp(40px, 7vw, 72px); }
.hero h1 .accent { background: linear-gradient(90deg, var(--gold), var(--orange), var(--pink)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: clamp(17px, 2.4vw, 21px); color: var(--muted); margin: 18px 0 26px; max-width: 34ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-art { position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; }
.hero-art .glow { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(251, 191, 36, 0.35), rgba(236, 72, 153, 0.15) 55%, transparent 70%); filter: blur(6px); }
.hero-art .main { width: 78%; animation: bob 2.6s ease-in-out infinite; filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.35)); }
.hero-art .rival { position: absolute; width: 26%; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.35)); }
.hero-art .rival.left { left: 0; bottom: 6%; animation: bob 2.2s ease-in-out infinite 0.4s; }
.hero-art .rival.right { right: 0; bottom: 10%; animation: bob 2.4s ease-in-out infinite 0.9s; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(27, 10, 51, 0.6); border: 1px solid rgba(255, 255, 255, 0.14); font-size: 14px; font-weight: 800; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .hero-art .main, .hero-art .rival { animation: none; } }

/* Sections */
section { padding: 36px 0; }
.section-title { font-size: clamp(30px, 5vw, 44px); text-align: center; margin-bottom: 8px; }
.section-sub { text-align: center; color: var(--muted); margin: 0 auto 28px; max-width: 52ch; font-size: 17px; }
.card {
  background: linear-gradient(180deg, rgba(59, 26, 110, 0.95), rgba(42, 16, 82, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--radius);
  box-shadow: 0 5px 0 var(--bg900); padding: 20px;
}
.games { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.game { text-align: center; position: relative; overflow: hidden; }
.game .art { height: 130px; display: grid; place-items: center; margin-bottom: 8px; }
.game .art img { max-height: 130px; width: auto; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.35)); transition: transform 0.2s ease; }
.game:hover .art img { transform: scale(1.06) rotate(-2deg); }
.game h3 { font-size: 24px; margin-bottom: 6px; }
.game p { margin: 0; color: var(--muted); font-size: 15px; }
.game .tag { display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 800; color: var(--ink); background: var(--gold); border-radius: 999px; padding: 2px 10px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step h3 { font-size: 24px; margin: 6px 0; }
.step p { margin: 0; color: var(--muted); }
.step .num { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 22px; color: var(--ink); background: var(--gold); box-shadow: 0 4px 0 #b45309; }
.ladder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tier { text-align: center; padding: 18px 12px; }
.tier .icon { font-size: 40px; }
.tier h3 { font-size: 20px; margin: 6px 0 2px; }
.tier p { margin: 0; color: var(--muted); font-size: 14px; }
.t1 h3 { color: #f59e0b; } .t2 h3 { color: #cbd5e1; } .t3 h3 { color: #fde68a; } .t4 h3 { color: #ddd6fe; }
.faq details { margin-bottom: 12px; }
.faq summary { cursor: pointer; font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 20px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: '＋ '; color: var(--gold); }
.faq details[open] summary::before { content: '－ '; }
.faq p { color: var(--muted); margin: 10px 0 0; }
.final { text-align: center; padding: 36px 20px; }
.final h2 { font-size: clamp(30px, 5vw, 46px); margin-bottom: 14px; }

/* Footer */
footer { padding: 30px 0 46px; color: var(--muted); font-size: 14px; }
footer .links { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-bottom: 10px; }
footer .links a { color: var(--muted); text-decoration: none; font-weight: 800; }
footer .links a:hover { color: var(--text); }
footer p { text-align: center; margin: 4px 0; }

/* Legal / doc pages */
.doc { max-width: 760px; margin: 0 auto; }
.doc h1 { font-size: clamp(34px, 6vw, 48px); margin: 12px 0 6px; }
.doc h2 { font-size: 24px; margin: 28px 0 8px; color: var(--gold); }
.doc p, .doc li { color: #e6dcff; line-height: 1.65; font-size: 16px; }
.doc .meta { color: var(--muted); font-size: 14px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 14px; }
.doc th, .doc td { text-align: left; padding: 8px; border-bottom: 1px solid rgba(255, 255, 255, 0.12); vertical-align: top; }

/* Invite redirect page */
.invite { max-width: 460px; margin: 0 auto; text-align: center; padding: 20px 0 40px; }
.invite .code { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 54px; letter-spacing: 8px; color: var(--gold); margin: 6px 0; }
.invite .stack { display: grid; gap: 14px; margin-top: 20px; }
.invite img.hero-mark { width: 180px; margin: 0 auto 8px; animation: bob 2.6s ease-in-out infinite; }
.note { color: var(--muted); font-size: 14px; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 8px; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .cta-row, .badges { justify-content: center; }
  .hero-art { max-width: 380px; margin: 0 auto; order: -1; }
  .games { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .ladder { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px) {
  .brand span { font-size: 19px; }
  .cta-row .btn, .final .btn, .invite .btn { width: 100%; }
  .games { gap: 10px; }
  .game { padding: 14px 10px; }
  .game .art { height: 96px; }
  .game .art img { max-height: 96px; }
  .game h3 { font-size: 19px; }
  .game p { font-size: 13px; }
}
@media (max-width: 359px) {
  .games { grid-template-columns: 1fr; }
}
.btn.ghost.small { box-shadow: 0 4px 0 var(--bg900); }
