:root {
  --lacivert: #071634;
  --lacivert-koyu: #040d22;
  --azzurro: #1aa3dd;
  --azzurro-acik: #8fd3f4;
  --beyaz: #f4f7fb;
  --gri: #a9b6cc;
  --kart: rgba(255, 255, 255, 0.055);
  --cizgi: rgba(255, 255, 255, 0.1);
  --altin: #f2c14e;
  --baslik: "Barlow Condensed", "Arial Narrow", sans-serif;
  --govde: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 18px;
  --kenar: 18px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--lacivert); color: var(--beyaz);
  font-family: var(--govde); font-size: 16px; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-family: var(--baslik); margin: 0; line-height: 1; letter-spacing: 0.01em; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 22px; border-radius: 999px; font-weight: 700; font-size: 16px;
  border: 1.5px solid transparent; transition: transform .15s ease, background .15s ease, border-color .15s ease;
  min-height: 52px;
}
.btn svg { width: 20px; height: 20px; }
.btn:active { transform: scale(0.98); }
.btn-birincil {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(135deg, #39bdf2 0%, #1aa3dd 48%, #0e7fb9 100%);
  color: #04102a;
  box-shadow: 0 10px 30px rgba(26, 163, 221, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  animation: nabiz 2.8s ease-in-out infinite;
}
.btn-birincil::after {
  content: ""; position: absolute; top: -40%; bottom: -40%; left: -70%; width: 36%; z-index: -1;
  background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.55) 50%, transparent 100%);
  transform: skewX(-22deg); animation: parilti 3.4s ease-in-out infinite;
}
.btn-birincil:hover { transform: translateY(-2px); filter: saturate(1.1); }
@keyframes parilti { 0%, 60% { left: -70%; } 100% { left: 150%; } }
@keyframes nabiz {
  0%, 100% { box-shadow: 0 10px 30px rgba(26, 163, 221, 0.35), 0 0 0 0 rgba(26, 163, 221, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
  55% { box-shadow: 0 14px 36px rgba(26, 163, 221, 0.5), 0 0 0 14px rgba(26, 163, 221, 0), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
}

/* Forum CTA: ikon + iki satır metin + kayan ok */
.btn-forum { padding: 10px 14px 10px 10px; gap: 12px; text-align: left; min-height: 64px; border-radius: 20px; }
.btn-forum-ikon {
  width: 46px; height: 46px; border-radius: 14px; flex: none; display: grid; place-items: center;
  background: rgba(4, 16, 42, 0.16); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}
.btn-forum-ikon svg { width: 26px; height: 26px; }
.btn-forum-metin { display: flex; flex-direction: column; line-height: 1.15; flex: 1; min-width: 0; }
.btn-forum-metin strong { font-family: var(--baslik); font-weight: 800; font-size: 24px; letter-spacing: 0.03em; text-transform: uppercase; }
.btn-forum-metin small { font-family: var(--govde); font-weight: 600; font-size: 12px; opacity: 0.8; letter-spacing: 0.02em; }
.btn-forum-ok { width: 38px; height: 38px; border-radius: 50%; flex: none; display: grid; place-items: center; background: #04102a; color: #fff; transition: transform .2s ease; }
.btn-forum-ok svg { width: 18px; height: 18px; animation: ok-durt 1.6s ease-in-out infinite; }
.btn-forum:hover .btn-forum-ok { transform: translateX(4px) rotate(-10deg); }
@keyframes ok-durt { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(3px); } }
@media (prefers-reduced-motion: reduce) {
  .btn-birincil, .btn-birincil::after, .btn-forum-ok svg { animation: none; }
}
.btn-ikincil { background: rgba(7, 22, 52, 0.45); color: var(--beyaz); border-color: rgba(255, 255, 255, 0.35); backdrop-filter: blur(8px); }
.btn-ikincil:hover { border-color: var(--beyaz); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(env(safe-area-inset-top) + 16px) var(--kenar) 34px; overflow: hidden; isolation: isolate;
}
.hero-gorsel, .hero-gorsel img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-gorsel { z-index: -2; pointer-events: none; }
.hero-gorsel img { object-fit: cover; object-position: 62% 40%; transform: scale(1.02); }
.ust, .hero-icerik { position: relative; z-index: 1; }
.hero-perde {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 22, 52, 0.55) 0%, rgba(7, 22, 52, 0.05) 28%, rgba(7, 22, 52, 0.15) 50%, rgba(7, 22, 52, 0.86) 78%, var(--lacivert) 100%);
}
.ust { display: flex; align-items: center; justify-content: space-between; }
.marka { display: inline-flex; align-items: center; gap: 10px; }
.marka-nokta { width: 12px; height: 12px; border-radius: 50%; background: var(--azzurro); box-shadow: 0 0 0 4px rgba(26, 163, 221, 0.25); }
.marka-ad { font-family: var(--baslik); font-weight: 800; font-size: 22px; text-transform: uppercase; letter-spacing: 0.08em; }
.ust-forum { font-size: 14px; font-weight: 700; padding: 8px 14px; border-radius: 999px; background: rgba(4, 13, 34, 0.45); border: 1px solid rgba(255,255,255,0.18); backdrop-filter: blur(6px); }
.hero-icerik { max-width: 640px; }
.eyebrow { margin: 0 0 10px; color: var(--azzurro-acik); font-weight: 700; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; }
.hero h1 { font-size: clamp(50px, 14vw, 96px); font-weight: 800; text-transform: uppercase; line-height: 0.92; text-shadow: 0 6px 30px rgba(0,0,0,0.35); }
.hero-metin { margin: 16px 0 24px; font-size: 17px; color: #dbe4f2; max-width: 460px; text-shadow: 0 2px 12px rgba(0,0,0,0.4); }
.cta { display: flex; flex-direction: column; gap: 10px; }
.cta .btn-forum { width: 100%; }
.cta .btn-birincil:not(.btn-forum) { font-size: 18px; padding: 17px 24px; }
/* ---------- Sosyal medya şeridi (hero'nun hemen altı) ---------- */
.sosyal-serit { padding-top: 0; padding-bottom: 6px; margin-top: -26px; position: relative; z-index: 2; }
.serit-kutu {
  background: linear-gradient(180deg, rgba(14, 34, 76, 0.95), rgba(7, 22, 52, 0.95));
  border: 1px solid var(--cizgi); border-radius: var(--radius); padding: 16px 16px 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35); backdrop-filter: blur(10px);
}
.serit-baslik { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.serit-etiket { font-family: var(--baslik); font-weight: 800; font-size: 20px; text-transform: uppercase; letter-spacing: 0.06em; }
.serit-etiket::before { content: ""; display: inline-block; width: 4px; height: 16px; background: var(--azzurro); margin-right: 8px; vertical-align: -1px; border-radius: 2px; }
.serit-alt { font-size: 12px; color: var(--gri); }
.sosyal-tiles { list-style: none; margin: 0 -16px; padding: 0 16px 4px; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; }
.sosyal-tiles::-webkit-scrollbar { display: none; }
.sosyal-tiles li { flex: 1 0 76px; scroll-snap-align: start; }
.sosyal-tiles .tile { width: 100%; }

/* Tek ikon sistemi: her yerde aynı kutu */
.tile {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px;
  padding: 12px 6px 10px; border-radius: 14px; min-height: 76px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--cizgi);
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.tile-ikon {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none;
  background: rgba(26, 163, 221, 0.14); color: var(--azzurro-acik); border: 1px solid rgba(26, 163, 221, 0.28);
  transition: background .15s ease, color .15s ease;
}
.tile-ikon .ikon { width: 19px; height: 19px; }
.tile-ad { font-size: 11px; font-weight: 700; letter-spacing: 0.04em; color: #d6e0f0; white-space: nowrap; }
.tile:hover { transform: translateY(-3px); border-color: rgba(26, 163, 221, 0.6); background: rgba(26, 163, 221, 0.1); }
.tile:hover .tile-ikon { background: var(--azzurro); color: var(--lacivert-koyu); }
.tile-kucuk { min-height: 0; padding: 0; border: 0; background: transparent; }
.tile-kucuk .tile-ikon { width: 36px; height: 36px; border-radius: 10px; }
.alt-sosyal { display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Duyuru ---------- */
.duyuru { display: flex; gap: 10px; align-items: center; padding: 12px var(--kenar); background: var(--altin); color: #2a1d00; font-weight: 600; font-size: 14px; }
.duyuru p { margin: 0; }

/* ---------- Bölümler ---------- */
main { display: flex; flex-direction: column; gap: 8px; }
.bolum { padding: 28px var(--kenar); max-width: 1120px; margin: 0 auto; width: 100%; }
.bolum-baslik { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.bolum-baslik h2 { font-size: 36px; font-weight: 800; text-transform: uppercase; }
.bolum-baslik h2::before { content: ""; display: inline-block; width: 6px; height: 26px; background: var(--azzurro); margin-right: 12px; vertical-align: -3px; border-radius: 2px; }
.bolum-not { color: var(--gri); font-size: 13px; }

/* ---------- Maç kartları ---------- */
.maclar { padding-top: 6px; }
.mac-kartlar { display: grid; gap: 12px; }
.mac-kart { background: var(--kart); border: 1px solid var(--cizgi); border-radius: var(--radius); padding: 14px 16px; }
.mac-kart.sonraki { background: linear-gradient(135deg, rgba(26,163,221,0.22), rgba(26,163,221,0.05)); border-color: rgba(26,163,221,0.4); }
.mac-ust { display: flex; justify-content: space-between; font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gri); font-weight: 700; }
.mac-kart.sonraki .mac-tur { color: var(--azzurro-acik); }
.mac-takimlar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; margin: 12px 0 8px; }
.takim { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; min-width: 0; }
.takim:last-child { justify-content: flex-end; text-align: right; }
.takim img { width: 34px; height: 34px; object-fit: contain; flex: none; }
.takim span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.skor { font-family: var(--baslik); font-weight: 800; font-size: 40px; line-height: 1; display: flex; align-items: center; gap: 4px; }
.skor em { font-style: normal; color: var(--gri); font-size: 28px; }
.skor.saat { font-size: 32px; background: var(--azzurro); color: var(--lacivert-koyu); padding: 4px 12px; border-radius: 10px; }
.mac-alt { font-size: 13px; color: var(--gri); text-align: center; }

/* ---------- Puan tablosu ---------- */
.puan { position: relative; }
.puan::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.12; pointer-events: none;
  background: url("/img/duvar.webp") center / cover no-repeat;
  mask-image: linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 15%, #000 85%, transparent);
}
.tablo-kutu { background: rgba(4, 13, 34, 0.75); border: 1px solid var(--cizgi); border-radius: var(--radius); overflow: hidden; backdrop-filter: blur(4px); }
.puan-tablo { width: 100%; border-collapse: collapse; font-size: 14px; }
.puan-tablo th, .puan-tablo td { padding: 10px 6px; text-align: center; white-space: nowrap; }
.puan-tablo th { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gri); font-weight: 700; border-bottom: 1px solid var(--cizgi); }
.puan-tablo td { border-bottom: 1px solid rgba(255,255,255,0.05); }
.puan-tablo .sira { width: 36px; color: var(--gri); font-weight: 700; position: relative; }
.puan-tablo .takim { text-align: left; padding-left: 4px; }
.puan-tablo td.takim { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.puan-tablo td.takim img { width: 22px; height: 22px; object-fit: contain; }
.puan-tablo .p { font-weight: 800; font-size: 15px; width: 44px; }
.puan-tablo tbody tr td.sira::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 3px; border-radius: 2px; }
.puan-tablo tr.cl td.sira::before { background: var(--azzurro); }
.puan-tablo tr.el td.sira::before { background: #f59e0b; }
.puan-tablo tr.ecl td.sira::before { background: #22c55e; }
.puan-tablo tr.dus td.sira::before { background: #ef4444; }
.puan-tablo tr.napoli { background: linear-gradient(90deg, rgba(26,163,221,0.35), rgba(26,163,221,0.08)); }
.puan-tablo tr.napoli td { color: #fff; font-weight: 800; }
.puan-tablo tr.alt-yarim { display: none; }
.tablo-kutu.acik tr.alt-yarim { display: table-row; }
.tablo-ac { width: 100%; border: 0; background: rgba(255,255,255,0.05); color: var(--azzurro-acik); font: 700 14px var(--govde); padding: 13px; cursor: pointer; }
.tablo-ac:hover { background: rgba(255,255,255,0.09); }
.tablo-lejant { margin: 10px 2px 0; font-size: 12px; color: var(--gri); display: flex; gap: 14px; flex-wrap: wrap; }
.tablo-lejant i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.tablo-lejant .cl { background: var(--azzurro); } .tablo-lejant .el { background: #f59e0b; } .tablo-lejant .ecl { background: #22c55e; } .tablo-lejant .dus { background: #ef4444; }

/* ---------- Haberler ---------- */
.haber-izgara { display: grid; gap: 14px; }
.haber-kart { display: flex; flex-direction: column; background: var(--kart); border: 1px solid var(--cizgi); border-radius: var(--radius); overflow: hidden; transition: transform .18s ease, border-color .18s ease; }
.haber-kart:hover { transform: translateY(-3px); border-color: rgba(26,163,221,0.5); }
.haber-gorsel { position: relative; aspect-ratio: 16 / 9; background: #0c2048; overflow: hidden; }
.haber-gorsel img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.haber-kart:hover .haber-gorsel img { transform: scale(1.04); }
.haber-gorsel.yedek img { filter: saturate(0.85) brightness(0.8); }
.haber-gorsel.yedek::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(7,22,52,0.7)); }
.etiket { position: absolute; left: 12px; top: 12px; z-index: 1; background: var(--azzurro); color: var(--lacivert-koyu); font-size: 11px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 9px; border-radius: 6px; }
.haber-govde { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.haber-govde h3 { font-family: var(--govde); font-size: 17px; font-weight: 700; line-height: 1.3; letter-spacing: 0; }
.haber-govde p { margin: 0; color: #c9d4e6; font-size: 14px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.haber-meta { margin-top: auto; padding-top: 6px; display: flex; gap: 6px; font-size: 12px; color: var(--gri); }
.haber-meta span:first-child { color: var(--azzurro-acik); font-weight: 700; }

/* ---------- Kapanış ---------- */
.kapanis-kutu { text-align: center; padding: 34px 20px; border-radius: 24px; background: linear-gradient(160deg, rgba(26,163,221,0.25), rgba(26,163,221,0.04)); border: 1px solid rgba(26,163,221,0.35); }
.kapanis-kutu h2 { font-size: 34px; font-weight: 800; text-transform: uppercase; margin-bottom: 8px; }
.kapanis-kutu p { margin: 0 auto 20px; color: #c9d4e6; max-width: 420px; }
.kapanis-kutu .btn-forum { display: inline-flex; width: 100%; max-width: 380px; }

/* ---------- Footer ---------- */
.alt { border-top: 1px solid var(--cizgi); padding: 28px var(--kenar) calc(env(safe-area-inset-bottom) + 28px); background: var(--lacivert-koyu); }
.alt-ic { max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.alt-not { margin: 0; font-size: 13px; color: var(--gri); max-width: 520px; }
.alt-telif { margin: 0; font-size: 12px; color: #6f7f9c; }

.sayfa-404 .bolum { min-height: 100svh; display: grid; place-items: center; }

/* ---------- Masaüstü ---------- */
@media (min-width: 640px) {
  .cta { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .cta .btn-forum { width: auto; min-width: 300px; padding-right: 12px; }
  .sosyal-serit { margin-top: -48px; }
  .serit-kutu { display: flex; align-items: center; gap: 22px; padding: 16px 22px; }
  .serit-baslik { flex-direction: column; gap: 2px; margin: 0; flex: none; min-width: 160px; }
  .sosyal-tiles { flex: 1; margin: 0; padding: 0; overflow: visible; justify-content: flex-end; flex-wrap: wrap; }
  .sosyal-tiles li { flex: 0 0 96px; }
  .mac-kartlar { grid-template-columns: 1fr 1fr; }
  .haber-izgara { grid-template-columns: 1fr 1fr; }
  .haber-kart.one { grid-column: 1 / -1; }
  .haber-kart.one .haber-govde h3 { font-size: 22px; }
}
@media (min-width: 768px) {
  :root { --kenar: 32px; }
  .hero { min-height: 92svh; padding-bottom: 56px; }
  .hero-gorsel img { object-position: center 35%; }
  .hero-perde { background: linear-gradient(90deg, rgba(7,22,52,0.86) 0%, rgba(7,22,52,0.55) 45%, rgba(7,22,52,0.1) 100%), linear-gradient(180deg, rgba(7,22,52,0.3), transparent 30%, transparent 65%, var(--lacivert) 100%); }
  .hero h1 { font-size: clamp(80px, 9vw, 128px); }
  .hero-metin { font-size: 19px; max-width: 520px; }
  .puan-tablo th, .puan-tablo td { padding: 11px 10px; font-size: 15px; }
  .puan-tablo .gen { display: table-cell; }
  .haber-izgara { grid-template-columns: repeat(3, 1fr); }
  .haber-kart.one { grid-column: span 2; grid-row: span 2; }
  .haber-kart.one .haber-gorsel { aspect-ratio: auto; flex: 1; min-height: 300px; }
  .alt-ic { flex-direction: row; align-items: center; flex-wrap: wrap; justify-content: space-between; }
  .alt-not { flex-basis: 100%; }
}
@media (max-width: 767px) {
  .puan-tablo .gen { display: none; }
}
@media (min-width: 1024px) {
  .hero-icerik { max-width: 720px; }
  .bolum { padding: 40px var(--kenar); }
}
