/* Skor Tabelası — skortabelasi.com
   Renk/radius/spacing token'ları uygulamanın app/src/theme.js dosyasıyla birebir. */

:root {
  --bg: #0A1832;
  --surface: #152547;
  --surface-alt: #1D3059;
  --separator: rgba(255, 255, 255, 0.09);
  --fill: rgba(255, 255, 255, 0.07);
  --blue: #1E9BF0;
  --blue-light: #5CC8FF;
  --blue-dark: #0B6FD4;
  --ball: #C9E541;
  --us: #4FB4FF;
  --them: #C9E541;
  --text: #FFFFFF;
  --text-2: rgba(255, 255, 255, 0.58);
  --text-3: rgba(255, 255, 255, 0.34);
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-pill: 999px;
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 32px;
  --s6: 48px;
  --s8: 64px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue-light); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 var(--s3);
}

/* ---------- Header ---------- */

.site-header {
  border-bottom: 1px solid var(--separator);
  background: rgba(10, 24, 50, 0.9);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.3px;
  color: var(--text);
}
.brand:hover { text-decoration: none; }

.brand img {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
}

.site-nav {
  display: flex;
  gap: var(--s3);
  font-size: 15px;
  font-weight: 600;
}

.site-nav a { color: var(--text-2); }
.site-nav a:hover { color: var(--text); text-decoration: none; }
.site-nav a[aria-current="page"] { color: var(--text); }

/* ---------- Hero ---------- */

.hero {
  padding: var(--s8) 0;
  background:
    radial-gradient(ellipse 70% 55% at 20% 0%, rgba(30, 155, 240, 0.16), transparent),
    radial-gradient(ellipse 50% 40% at 90% 100%, rgba(201, 229, 65, 0.07), transparent);
  border-bottom: 1px solid var(--separator);
}

.hero .container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--s6);
  align-items: center;
}

.hero h1 {
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.1;
  letter-spacing: -1px;
  font-weight: 800;
  margin: 0 0 var(--s2);
}

.hero h1 em {
  font-style: normal;
  color: var(--ball);
}

.hero .lead {
  font-size: 20px;
  color: var(--text-2);
  margin: 0 0 var(--s4);
  max-width: 34ch;
}

/* Mağaza rozetleri */

.store-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
}

.store-badge {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  padding: 10px 22px;
  border-radius: var(--r-md);
  border: 1px solid var(--separator);
  background: var(--surface);
  line-height: 1.3;
  min-width: 170px;
}

.store-badge .store-name {
  font-weight: 700;
  font-size: 16px;
}

.store-badge .store-note {
  font-size: 12.5px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 600;
}

.store-badge.is-soon { cursor: default; }
.store-badge.is-soon .store-note { color: var(--ball); }

/* ---------- Telefon mockup ---------- */
/* Gerçek ekran görüntüsü çekilince bu bloğun tamamı <img> ile değiştirilebilir. */

.phone {
  width: min(300px, 78vw);
  margin: 0 auto;
  background: #050e1f;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 40px;
  padding: 14px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}

.phone-screen {
  background: var(--bg);
  border-radius: 28px;
  overflow: hidden;
  aspect-ratio: 9 / 17;
  display: flex;
  flex-direction: column;
}

.phone-status {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 14px 0 6px;
}

.score-half {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.score-half + .score-half { border-top: 1px solid var(--separator); }

.score-team {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-2);
}

.serve-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ball);
}

.score-points {
  font-size: 88px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -2px;
}

.score-half.us .score-points { color: var(--us); }
.score-half.them .score-points { color: var(--them); }

.score-sets {
  display: flex;
  gap: 6px;
  margin-top: 6px;
}

.set-chip {
  min-width: 26px;
  padding: 2px 8px;
  border-radius: var(--r-sm);
  background: var(--fill);
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: center;
  color: var(--text-2);
}

.set-chip.won { background: var(--surface-alt); color: var(--text); }

/* ---------- Bölümler ---------- */

.section { padding: var(--s8) 0; }
.section + .section { border-top: 1px solid var(--separator); }

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--ball);
  margin: 0 0 var(--s1);
}

.section h2 {
  font-size: clamp(26px, 3.5vw, 36px);
  letter-spacing: -0.6px;
  font-weight: 800;
  margin: 0 0 var(--s2);
}

.section .sub {
  color: var(--text-2);
  max-width: 60ch;
  margin: 0 0 var(--s4);
}

/* Kartlar */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--s2);
}

.card {
  background: var(--surface);
  border: 1px solid var(--separator);
  border-radius: var(--r-lg);
  padding: var(--s3);
}

.card h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.2px;
}

.card p {
  margin: 0;
  font-size: 15.5px;
  color: var(--text-2);
}

.card .icon {
  font-size: 26px;
  line-height: 1;
  margin-bottom: var(--s2);
}

/* Adımlar */

.steps { counter-reset: step; }

.steps .card { position: relative; padding-top: var(--s3); }

.steps .card::before {
  counter-increment: step;
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  margin-bottom: var(--s2);
}

/* Butonlar */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 16px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  color: #fff;
  border: none;
}
.btn:hover { text-decoration: none; filter: brightness(1.1); }

.btn.ghost {
  background: transparent;
  border: 1px solid var(--separator);
  color: var(--text);
}

.badge-soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 16px;
  border: 1px dashed rgba(201, 229, 65, 0.5);
  color: var(--ball);
  cursor: default;
}

/* Ekipman kartı */

.product {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: var(--s4);
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--separator);
  border-radius: var(--r-lg);
  padding: var(--s4);
}

.product-visual {
  width: 96px;
  height: 96px;
  border-radius: var(--r-lg);
  background: var(--surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
}

.product h3 { margin: 0 0 6px; font-size: 20px; }
.product p { margin: 0; color: var(--text-2); font-size: 15.5px; }

/* Banner (kulüpler teaser + CTA'lar) */

.banner {
  background:
    radial-gradient(ellipse 60% 100% at 100% 0%, rgba(30, 155, 240, 0.18), transparent),
    var(--surface);
  border: 1px solid var(--separator);
  border-radius: var(--r-lg);
  padding: var(--s4);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
}

.banner h3 { margin: 0 0 4px; font-size: 22px; letter-spacing: -0.3px; }
.banner p { margin: 0; color: var(--text-2); }

/* ---------- Düzyazı sayfaları (gizlilik) ---------- */

.prose { max-width: 72ch; }

.prose h1 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.7px; margin: 0 0 var(--s1); }
.prose h2 { font-size: 24px; letter-spacing: -0.4px; margin: var(--s6) 0 var(--s2); }
.prose h3 { font-size: 19px; margin: var(--s4) 0 var(--s1); }
.prose p, .prose li { color: var(--text-2); }
.prose strong { color: var(--text); }
.prose blockquote {
  margin: var(--s3) 0;
  padding: var(--s2) var(--s3);
  background: var(--surface);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.prose blockquote p { margin: 0; }
.prose .meta { color: var(--text-3); font-size: 15px; }

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--s3) 0;
  font-size: 15.5px;
}

.prose th, .prose td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid var(--separator);
  color: var(--text-2);
}

.prose th {
  color: var(--text);
  font-weight: 700;
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

/* SSS */

.faq details {
  background: var(--surface);
  border: 1px solid var(--separator);
  border-radius: var(--r-md);
  padding: 0;
  margin-bottom: var(--s1);
}

.faq summary {
  cursor: pointer;
  padding: var(--s2) var(--s3);
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s2);
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 400;
  color: var(--text-3);
  flex-shrink: 0;
}

.faq details[open] summary::after { content: "–"; }

.faq details p {
  margin: 0;
  padding: 0 var(--s3) var(--s2);
  color: var(--text-2);
}

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--separator);
  padding: var(--s6) 0;
  font-size: 15px;
  color: var(--text-3);
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s3);
}

.site-footer a { color: var(--text-2); }

.footer-links { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s3); }

/* ---------- Responsive ---------- */

@media (max-width: 760px) {
  .hero { padding: var(--s6) 0; }
  .hero .container { grid-template-columns: 1fr; }
  .phone { margin-top: var(--s2); }
  .score-points { font-size: 72px; }
  .section { padding: var(--s6) 0; }
  .product { grid-template-columns: 1fr; text-align: center; }
  .product-visual { margin: 0 auto; }
  .site-nav { gap: var(--s2); font-size: 14px; }
  .brand span { display: none; } /* dar ekranda sadece logo */
}
