/* ===== Kulüp renkleri (2026–27: turuncu-beyaz) ===== */
:root {
  --orange: #F26B1D;
  --orange-dark: #D4560E;
  --orange-soft: #FFF1E8;
  --white: #FFFFFF;
  --ink: #16120F;
  --ink-2: #2A2420;
  --muted: #6E6660;
  --line: #ECE6E1;
  --bg-alt: #FAF7F4;

  --radius: 18px;
  --shadow: 0 10px 30px rgba(22, 18, 15, .08);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Bebas Neue", "Arial Narrow", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { font-family: var(--font); color: var(--ink); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* ===== Header ===== */
.header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, box-shadow .3s; }
.header.is-scrolled { background: rgba(255,255,255,.92); backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand__crest { width: 38px; }
.brand__text { font-family: var(--display); font-size: 26px; letter-spacing: 1px; color: var(--white); transition: color .3s; }
.brand__text b { color: var(--orange); font-weight: 400; }
.header.is-scrolled .brand__text { color: var(--ink); }

.nav { display: flex; gap: 28px; }
.nav a { font-size: 14px; font-weight: 600; color: rgba(255,255,255,.85); position: relative; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--orange); transition: width .25s; }
.nav a:hover { color: var(--white); }
.nav a:hover::after { width: 100%; }
.header.is-scrolled .nav a { color: var(--ink-2); }

.menu-btn { display: none; width: 40px; height: 40px; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.menu-btn span { width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: .3s; }
.header.is-scrolled .menu-btn span { background: var(--ink); }

/* ===== Hero ===== */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; overflow: hidden; color: var(--white);
  background: radial-gradient(120% 90% at 85% 10%, #FF8A3D 0%, var(--orange) 35%, var(--orange-dark) 70%, #8F3405 100%); }
.hero::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, transparent 0 60px, rgba(255,255,255,.04) 60px 120px); }
.hero__bg { position: absolute; right: -4vw; bottom: -12vw; font-family: var(--display); font-size: 58vw; line-height: 1; color: rgba(255,255,255,.08); user-select: none; }
.hero__inner { position: relative; z-index: 1; padding-top: 72px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; opacity: .9; margin-bottom: 18px; }
.hero__title { font-family: var(--display); font-weight: 400; font-size: clamp(64px, 12vw, 150px); line-height: .9; letter-spacing: 1px; text-transform: uppercase; }
.hero__title span { color: var(--ink); }
.hero__lead { font-size: clamp(16px, 2vw, 20px); max-width: 520px; margin: 22px 0 34px; opacity: .95; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn { display: inline-flex; align-items: center; padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 15px; transition: transform .2s, background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--white); color: var(--orange-dark); }
.btn--ghost { border: 2px solid rgba(255,255,255,.7); color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--orange-dark); }

/* ===== Section ===== */
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--ink); color: var(--white); }
.section__head { display: flex; justify-content: space-between; align-items: end; margin-bottom: 36px; }
.section__title { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 6vw, 60px); line-height: 1; letter-spacing: .5px; }
.section__title::after { content: ""; display: block; width: 48px; height: 4px; background: var(--orange); margin-top: 12px; border-radius: 2px; }
.subtitle { font-size: 18px; font-weight: 800; margin: 48px 0 16px; }
.link-more { font-weight: 700; color: var(--orange-dark); }
.tag { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--orange-dark); background: var(--orange-soft); padding: 4px 10px; border-radius: 999px; }

/* ===== Match card ===== */
.next-match { margin-top: -64px; padding-top: 0; position: relative; z-index: 2; }
.next-match .section__head { visibility: hidden; height: 0; margin: 0; }
.match-card { background: var(--white); border-radius: 24px; box-shadow: 0 20px 60px rgba(22,18,15,.14); padding: 32px; }
.match-card__meta { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); font-weight: 600; }
.match-card__teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; margin: 28px 0; }
.team { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
.team__logo { width: 76px; height: 88px; object-fit: contain; }
.team__logo--placeholder { width: 76px; height: 76px; border-radius: 50%; background: var(--line); display: grid; place-items: center; font-weight: 800; font-size: 28px; color: var(--muted); }
.team__name { font-weight: 800; font-size: 18px; }
.countdown { display: flex; gap: 10px; }
.countdown div { background: var(--ink); color: var(--white); border-radius: 12px; padding: 10px 0; width: 64px; text-align: center; }
.countdown b { display: block; font-family: var(--display); font-weight: 400; font-size: 34px; line-height: 1; }
.countdown small { font-size: 11px; opacity: .7; text-transform: uppercase; letter-spacing: 1px; }
.match-card__venue { text-align: center; color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); padding-top: 18px; }

.results { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.result { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; transition: border-color .2s; }
.result:hover { border-color: var(--orange); }
.result__badge { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: var(--white); flex-shrink: 0; }
.result__badge--w { background: #1F9D55; }
.result__badge--d { background: #9A938D; }
.result__badge--l { background: #D93636; }
.result__teams { flex: 1; font-weight: 600; font-size: 15px; }
.result__teams b { margin: 0 6px; color: var(--orange-dark); }
.result__date { font-size: 13px; color: var(--muted); }

/* ===== News ===== */
.news-grid { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: auto auto; gap: 24px; }
.news-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; cursor: pointer; }
.news-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(22,18,15,.12); }
.news-card--featured { grid-row: span 2; }
.news-card__img { aspect-ratio: 16/9; background: linear-gradient(135deg, hsl(var(--hue) 90% 55%), hsl(var(--hue) 85% 35%)); position: relative; }
.news-card__img::after { content: "01"; position: absolute; right: 16px; bottom: -10px; font-family: var(--display); font-size: 90px; color: rgba(255,255,255,.18); line-height: 1; }
.news-card--featured .news-card__img { flex: 1; min-height: 260px; }
.news-card__body { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.news-card h3 { font-size: 18px; line-height: 1.35; }
.news-card--featured h3 { font-size: 24px; }
.news-card p { color: var(--muted); font-size: 15px; }
.news-card time { font-size: 13px; color: var(--muted); }

/* ===== Squad ===== */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip { padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: 14px; transition: .2s; }
.chip:hover { border-color: var(--orange); }
.chip.is-active { background: var(--orange); border-color: var(--orange); color: var(--white); }
.squad { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; }
.player { position: relative; border-radius: var(--radius); overflow: hidden; background: linear-gradient(160deg, var(--orange) 0%, var(--orange-dark) 100%); color: var(--white); aspect-ratio: 3/4; padding: 18px; display: flex; flex-direction: column; justify-content: flex-end; transition: transform .25s; }
.player:hover { transform: translateY(-4px); }
.player__no { position: absolute; top: 4px; right: 14px; font-family: var(--display); font-size: 84px; line-height: 1; color: rgba(255,255,255,.25); }
.player__pos { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; opacity: .85; }
.player__name { font-weight: 800; font-size: 18px; line-height: 1.2; }
.player.is-hidden { display: none; }

/* ===== About ===== */
.about { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.about__text p { color: rgba(255,255,255,.75); margin-top: 18px; }
.about .eyebrow { color: var(--orange); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { background: var(--ink-2); border-radius: var(--radius); padding: 26px; border: 1px solid rgba(255,255,255,.06); }
.stat b { display: block; font-family: var(--display); font-weight: 400; font-size: 46px; line-height: 1; color: var(--orange); }
.stat span { font-size: 14px; color: rgba(255,255,255,.7); }

/* ===== Contact ===== */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact__list { list-style: none; margin-top: 28px; display: grid; gap: 16px; }
.contact__list li { font-weight: 600; }
.contact__list span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); font-weight: 700; }
.social { background: var(--orange-soft); border-radius: 24px; padding: 32px; }
.social p { font-weight: 800; font-size: 20px; margin-bottom: 18px; }
.social__links { display: flex; gap: 12px; flex-wrap: wrap; }
.social__links a { width: 52px; height: 52px; border-radius: 14px; background: var(--orange); color: var(--white); display: grid; place-items: center; font-weight: 800; transition: .2s; }
.social__links a:hover { background: var(--ink); transform: translateY(-3px); }

/* ===== Footer ===== */
.footer { background: var(--ink); color: rgba(255,255,255,.6); font-size: 14px; border-top: 4px solid var(--orange); }
.footer__inner { display: flex; justify-content: space-between; padding: 24px 0; }
.footer a:hover { color: var(--orange); }

/* ===== Dinamik içerik ekleri ===== */
.match-card--empty { text-align: center; color: var(--muted); font-weight: 600; }
.match-lists { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.match-lists .results { grid-template-columns: 1fr; }
.result__badge--next { background: var(--ink); }
.result--empty, .empty { color: var(--muted); }
.result--empty { justify-content: center; }
.empty { margin-top: 12px; }

.news-card__img.has-photo, .player.has-photo { background-size: cover; background-position: center; }
.news-card__img.has-photo::after { display: none; }
.player.has-photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 45%, rgba(22,18,15,.85)); }
.player > * { position: relative; }
.player > .player__no { position: absolute; }
.news-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }

.page { padding-top: 72px; min-height: calc(100vh - 72px); }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pagination a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; border: 1.5px solid var(--line); font-weight: 700; }
.pagination a.is-active, .pagination a:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }

.article__inner { max-width: 760px; }
.article__meta { display: flex; align-items: center; gap: 12px; margin: 28px 0 14px; color: var(--muted); font-size: 14px; }
.article__title { font-size: clamp(30px, 5vw, 46px); line-height: 1.15; letter-spacing: -.5px; }
.article__lead { font-size: 20px; color: var(--muted); margin-top: 16px; }
.article__img { width: 100%; border-radius: var(--radius); margin: 32px 0 8px; }
.article__body { font-size: 17px; margin-top: 24px; }
.article__body p + p { margin-top: 18px; }

/* ===== Teknik heyet ===== */
.staff-block { margin-top: 56px; }
.staff-block .subtitle { margin-top: 0; }
.staff { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 20px; align-items: stretch; }
.staff--no-head { grid-template-columns: minmax(0, 1fr); }
.coach-card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--ink); color: var(--white); display: flex; flex-direction: column; min-height: 320px; }
.coach-card__photo { flex: 1; min-height: 220px; background: linear-gradient(160deg, var(--orange) 0%, var(--orange-dark) 100%); display: grid; place-items: center; background-size: cover; background-position: center top; }
.coach-card__photo span { font-family: var(--display); font-size: 110px; line-height: 1; color: rgba(255,255,255,.35); }
.coach-card__body { padding: 18px 22px 22px; }
.coach-card__role { display: block; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--orange); }
.coach-card__name { display: block; font-size: 22px; font-weight: 800; line-height: 1.25; margin-top: 4px; }
.staff__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; align-content: start; }
.staff-card { display: flex; align-items: center; gap: 14px; background: var(--white); border-radius: 14px; padding: 14px 16px; box-shadow: 0 1px 3px rgba(22,18,15,.06); border: 1px solid var(--line); }
.staff-card__avatar { width: 52px; height: 52px; flex-shrink: 0; border-radius: 50%; background: var(--orange-soft); color: var(--orange-dark); display: grid; place-items: center; font-weight: 800; font-size: 17px; background-size: cover; background-position: center top; }
.staff-card__name { display: block; font-weight: 700; line-height: 1.3; }
.staff-card__role { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }

/* ===== Puan durumu ===== */
.standings__meta { font-size: 14px; font-weight: 600; color: var(--muted); margin-top: 14px; }
.standings-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; align-items: start; }
.standings-layout > * { min-width: 0; }
.standings-card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.standings-card__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 20px; border-top: 1px solid var(--line); }
.standings-toggle { font-size: 14px; }
.standings { overflow-x: auto; }
.standings table { width: 100%; border-collapse: collapse; font-size: 15px; }
.standings th { font-size: 12px; font-weight: 700; letter-spacing: .5px; color: var(--muted); padding: 14px 10px 10px; text-align: center; }
.standings td { padding: 11px 10px; text-align: center; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.standings td:not(.team-col):not(.rank):not(.pts) { color: var(--muted); }
.standings tr.is-extra { display: none; }
.standings.is-expanded tr.is-extra { display: table-row; }

/* Takım özet kartı */
.us-card { background: var(--ink); color: var(--white); border-radius: var(--radius); padding: 24px; position: sticky; top: 92px; overflow: hidden; }
.us-card::after { content: "01"; position: absolute; right: -10px; bottom: -40px; font-family: var(--display); font-size: 180px; line-height: 1; color: rgba(255,255,255,.04); pointer-events: none; }
.us-card__top { display: flex; align-items: center; gap: 12px; }
.us-card__crest { width: 40px; }
.us-card__label { display: block; font-weight: 800; font-size: 17px; }
.us-card__zone { display: inline-block; margin-top: 4px; font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; }
.us-card__zone--promote { background: rgba(31,157,85,.2); color: #5FD38F; }
.us-card__zone--playoff { background: rgba(47,123,217,.2); color: #7DB3F5; }
.us-card__zone--relegate { background: rgba(217,54,54,.2); color: #F08A8A; }
.us-card__main { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0; }
.us-card__main div { background: rgba(255,255,255,.06); border-radius: 14px; padding: 14px 16px; }
.us-card__main b { display: block; font-family: var(--display); font-weight: 400; font-size: 52px; line-height: 1; color: var(--orange); }
.us-card__main span { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,.6); font-weight: 700; }
.us-card__stats div { display: flex; justify-content: space-between; padding: 9px 0; border-top: 1px solid rgba(255,255,255,.08); font-size: 14px; }
.us-card__stats dt { color: rgba(255,255,255,.6); }
.us-card__stats dd { font-weight: 700; font-variant-numeric: tabular-nums; }
.standings .team-col { text-align: left; font-weight: 600; white-space: nowrap; }
.standings .team-col small { color: #D93636; font-weight: 700; }
.standings .rank { width: 44px; font-weight: 800; color: var(--muted); border-left: 4px solid transparent; }
.standings .pts { font-weight: 800; }
.standings tr.zone-promote .rank { border-left-color: #1F9D55; }
.standings tr.zone-playoff .rank { border-left-color: #2F7BD9; }
.standings tr.zone-relegate .rank { border-left-color: #D93636; }
.standings tr.is-us td { background: var(--orange-soft); }
.standings tr.is-us .team-col, .standings tr.is-us .pts { color: var(--orange-dark); }
.standings tbody tr:hover td { background: var(--bg-alt); }
.standings tbody tr.is-us:hover td { background: var(--orange-soft); }
.legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; color: var(--muted); font-weight: 600; }
.zone-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 6px; vertical-align: middle; }
.zone-dot--promote { background: #1F9D55; }
.zone-dot--playoff { background: #2F7BD9; }
.zone-dot--relegate { background: #D93636; }

/* ===== Reveal animasyonu ===== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* ===== Mobil ===== */
@media (max-width: 900px) {
  .nav { position: fixed; inset: 72px 0 auto; background: var(--white); flex-direction: column; gap: 0; padding: 8px 16px 20px; box-shadow: 0 20px 40px rgba(0,0,0,.1); transform: translateY(-120%); opacity: 0; transition: .3s; pointer-events: none; }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { color: var(--ink-2) !important; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .menu-btn { display: flex; }
  .header.menu-open { background: var(--white); }
  .header.menu-open .brand__text { color: var(--ink); }
  .header.menu-open .menu-btn span { background: var(--ink); }
  .menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .about, .contact { grid-template-columns: 1fr; gap: 36px; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card--featured { grid-row: auto; }
  .news-card--featured .news-card__img { flex: none; min-height: 0; }
  .results, .match-lists { grid-template-columns: 1fr; }
  .standings-layout { grid-template-columns: minmax(0, 1fr); }
  .staff { grid-template-columns: minmax(0, 1fr); }
  .coach-card { flex-direction: row; min-height: 0; }
  .coach-card__photo { flex: 0 0 130px; min-height: 150px; }
  .coach-card__photo span { font-size: 64px; }
  .coach-card__body { align-self: center; }
  .us-card { position: relative; top: 0; }
}
@media (max-width: 600px) {
  .section { padding: 72px 0; }
  .match-card { padding: 22px 16px; }
  .match-card__teams { grid-template-columns: 1fr 1fr; }
  .match-card__vs { grid-column: 1 / -1; order: 3; display: flex; justify-content: center; }
  .countdown div { width: 58px; }
  .team__logo { width: 58px; height: 66px; }
  .team__name { font-size: 15px; }
  .squad { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .standings .opt { display: none; }
  .standings td, .standings th { padding: 10px 6px; }
  .standings .team-col { white-space: normal; }
  .us-card__main b { font-size: 44px; }
  .player__no { font-size: 60px; }
  .player__name { font-size: 15px; }
}
