:root {
  color-scheme: dark;
  --page: #090d09;
  --panel: #101610;
  --panel-bright: #151d14;
  --accent: #92d955;
  --accent-light: #b9e871;
  --accent-deep: #58a83b;
  --text: #f3f8eb;
  --muted: #a0b09a;
  --line: rgba(146, 217, 85, 0.18);
  font-family: "Plus Jakarta Sans", Outfit, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { min-height: 100%; }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(ellipse 48% 34% at 50% 25%, rgba(88, 168, 59, 0.17), transparent 75%),
    radial-gradient(ellipse 34% 38% at 9% 95%, rgba(146, 217, 85, 0.06), transparent 80%),
    linear-gradient(180deg, #0c120b 0%, var(--page) 72%);
}

a { color: inherit; }
svg { width: 1.3em; height: 1.3em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.page-shell {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: hidden;
}
.page-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(146, 217, 85, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(146, 217, 85, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, transparent 2%, black 46%, transparent 100%);
}

.contact-shortcut {
  position: absolute;
  z-index: 2;
  top: 22px;
  right: 26px;
  display: inline-block;
  padding: 2px;
  border-radius: 14px;
  text-decoration: none;
  background: linear-gradient(130deg, var(--accent-deep), var(--accent-light), var(--accent-deep));
  box-shadow: 0 10px 24px rgba(0,0,0,.28), 0 0 20px rgba(146,217,85,.08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.contact-shortcut-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 10px 17px;
  border-radius: 12px;
  background: var(--panel);
  color: var(--text);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.contact-shortcut-inner svg { color: var(--accent); }
.contact-shortcut:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(0,0,0,.35), 0 0 22px rgba(146,217,85,.16); }

.main-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(250px, 1fr) minmax(450px, 620px) minmax(250px, 1fr);
  align-items: start;
  gap: 28px;
  width: min(100%, 1400px);
  margin: auto;
  padding: 98px 24px 90px;
}
.main-center { grid-column: 2; min-width: 0; }
.hero { text-align: center; }
.hero-mark {
  display: grid;
  place-items: center;
  width: 174px;
  height: 174px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(146,217,85,.14), transparent 70%);
  filter: drop-shadow(0 15px 28px rgba(0,0,0,.38));
}
.hero-mark img { display: block; width: 160px; height: 160px; object-fit: contain; }
h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2.55rem, 7vw, 4.4rem);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: 1.08;
  text-shadow: 0 8px 28px rgba(0,0,0,.4);
}
.hero-label {
  display: inline-block;
  margin: 19px 0 0;
  padding: 8px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--accent-light);
  background: rgba(146,217,85,.075);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.hero-intro {
  max-width: 530px;
  margin: 21px auto 30px;
  color: var(--muted);
  font-size: clamp(1rem, 2.5vw, 1.12rem);
  line-height: 1.55;
}

.contact-shortcut-inner .fa-shake {
  --fa-animation-duration: 4s;
  --fa-shake-x: 1px;
  --fa-shake-y: 0;
  --fa-shake-z: 0;
  --fa-shake-angle: 2deg;
}
.is-unset { cursor: default; }
a:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 4px; }

.content-sections { display: contents; }
.content-panel { min-width: 0; }
.league-panel { grid-column: 1; grid-row: 1; }
#son-haberler { grid-column: 3; grid-row: 1; }
.section-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.section-heading::before { content: ""; width: 4px; height: 25px; border-radius: 2px; background: var(--accent); }
.section-heading h2 { margin: 0; font-family: Outfit, sans-serif; font-size: clamp(1.45rem, 3vw, 1.8rem); line-height: 1.18; }
.league-panel { margin-bottom: 0; }
.league-panel[hidden], .league-panel [hidden] { display: none !important; }
.league-heading { flex-wrap: wrap; }
.league-season { margin-left: auto; color: var(--muted); font-size: .78rem; font-weight: 700; }
.league-toolbar { display: flex; flex-direction: column; gap: 10px; margin: 18px 0 11px; }
.league-tabs { display: flex; width: 100%; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: var(--panel); }
.league-tabs button { flex: 1; min-height: 35px; padding: 7px 9px; border: 0; border-radius: 7px; color: var(--muted); background: transparent; font: inherit; font-size: .8rem; font-weight: 800; white-space: nowrap; cursor: pointer; }
.league-tabs button[aria-selected="true"] { color: #0b1409; background: var(--accent-deep); }
.league-week-picker { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; min-width: 0; color: var(--muted); font-size: .78rem; font-weight: 700; }
.league-week-controls { display: grid; grid-template-columns: 36px minmax(0, 1fr) 36px; gap: 7px; min-width: 0; }
.league-week-controls button, .league-week-picker select { min-height: 36px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); background: var(--panel); font: inherit; font-weight: 700; }
.league-week-controls button { display: grid; place-items: center; padding: 0; color: var(--accent-light); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.league-week-controls button:hover:not(:disabled) { border-color: var(--accent); background: var(--panel-bright); }
.league-week-controls button:disabled { opacity: .35; cursor: default; }
.league-week-picker select { width: 100%; min-width: 0; padding: 5px 8px; cursor: pointer; }
.league-tabs button:focus-visible, .league-week-picker select:focus-visible, .league-week-controls button:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 2px; }
.league-matches { overflow: hidden; border: 1px solid var(--line); border-radius: 11px; background: var(--panel); }
.league-match { display: grid; grid-template-columns: minmax(0, 1fr) 54px; grid-template-areas: "date date" "home score" "away score"; align-items: center; gap: 5px 10px; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.league-match:last-child { border-bottom: 0; }
.league-match-date { grid-area: date; color: var(--muted); font-size: .67rem; font-weight: 700; letter-spacing: .02em; }
.league-team { display: flex; align-items: center; gap: 8px; min-width: 0; }
.league-team-home { grid-area: home; }
.league-team-away { grid-area: away; }
.league-team-name { min-width: 0; overflow-wrap: anywhere; font-size: .78rem; font-weight: 800; line-height: 1.25; }
.league-team-mark { display: inline-grid; flex: none; place-items: center; width: 29px; height: 29px; border: 1px solid rgba(146,217,85,.3); border-radius: 50%; color: var(--accent-light); background: var(--panel-bright); font-family: Outfit, sans-serif; font-size: .57rem; font-weight: 800; }
.league-match-score { grid-area: score; justify-self: end; min-width: 49px; padding: 6px 5px; border: 1px solid var(--line); border-radius: 7px; color: var(--accent-light); background: var(--panel-bright); text-align: center; font-family: Outfit, sans-serif; font-size: .9rem; font-weight: 800; }
.league-table-scroll { max-width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 11px; background: var(--panel); }
.league-table { width: 100%; border-collapse: collapse; font-size: .76rem; font-variant-numeric: tabular-nums; }
.league-table th, .league-table td { padding: 10px 8px; border-bottom: 1px solid var(--line); text-align: center; white-space: nowrap; }
.league-table thead th { color: var(--muted); font-weight: 800; }
.league-table tbody tr:last-child > * { border-bottom: 0; }
.league-table tbody td:last-child { color: var(--accent-light); font-weight: 800; }
.league-table .league-table-team { display: flex; align-items: center; gap: 9px; min-width: 0; text-align: left; white-space: normal; font-weight: 800; }
.league-table .league-table-team span:last-child { line-height: 1.25; }
.league-table .league-team-mark { width: 25px; height: 25px; font-size: .51rem; }
.league-source { display: inline-block; margin-top: 11px; color: var(--muted); font-size: .7rem; text-decoration: none; }
.league-source:hover { color: var(--accent-light); }
.news-grid { display: flex; flex-direction: column; }
.news-card { display: flex; flex-direction: column; min-width: 0; color: var(--text); text-decoration: none; }
.news-card.is-lead { padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.news-card:not(.is-lead) { display: grid; grid-template-columns: 94px minmax(0, 1fr); gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.news-image { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; background: var(--panel); }
.news-card.is-lead .news-image { aspect-ratio: 16 / 9; }
.news-card:not(.is-lead) .news-image { width: 94px; height: 72px; aspect-ratio: 4 / 3; }
.news-card:not(.is-lead).no-image { grid-template-columns: minmax(0, 1fr); }
.news-copy { display: flex; flex-direction: column; min-width: 0; gap: 9px; padding-top: 9px; }
.news-card:not(.is-lead) .news-copy { gap: 6px; padding-top: 0; }
.news-meta { color: var(--muted); font-size: .7rem; font-weight: 700; line-height: 1.4; }
.news-card strong { font-size: .84rem; line-height: 1.4; font-weight: 800; overflow-wrap: anywhere; transition: color .2s ease; }
.news-card.is-lead strong { font-family: Outfit, sans-serif; font-size: 1.12rem; line-height: 1.3; }
.news-card:hover strong { color: var(--accent-light); }
.news-pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 23px; }
.news-pagination[hidden] { display: none; }
.news-pagination button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: var(--panel);
  font: inherit;
  font-size: .85rem;
  font-weight: 800;
  cursor: pointer;
}
.news-pagination button[aria-current="page"] { border-color: var(--accent); color: var(--accent-light); }
.news-pagination button:hover:not(:disabled) { border-color: var(--accent); }
.news-pagination button:disabled { opacity: .35; cursor: default; }
.news-pagination button:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 2px; }

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 20;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  background: var(--panel);
  box-shadow: 0 6px 22px rgba(0,0,0,.3);
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.back-to-top[hidden] { display: none; }
.back-to-top:hover { transform: translateY(-3px); background: var(--panel-bright); }
.back-to-top:focus-visible { outline: 2px solid var(--accent-light); outline-offset: 3px; }
.back-to-top svg { width: 21px; height: 21px; }

.site-footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 14px 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: rgba(16,22,16,.92);
  text-align: center;
  font-size: .82rem;
}
.site-footer strong { color: var(--accent); font-weight: 800; letter-spacing: .08em; }

@media (max-width: 1100px) {
  .main-content { grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(100%, 1000px); column-gap: 32px; }
  .main-center { grid-column: 1 / -1; grid-row: 1; width: min(100%, 620px); margin: 0 auto 28px; }
  .league-panel { grid-column: 1; grid-row: 2; }
  #son-haberler { grid-column: 2; grid-row: 2; }
}

@media (max-width: 720px) {
  .main-content { display: block; width: min(100%, 780px); }
  .main-center { width: 100%; margin-bottom: 46px; }
  .content-sections { display: block; }
  .league-panel { margin-bottom: 44px; }
}

@media (max-width: 600px) {
  .contact-shortcut { right: 50%; transform: translateX(50%); top: 15px; }
  .contact-shortcut:hover { transform: translateX(50%) translateY(-3px); }
  .main-content { padding: 88px 18px 62px; }
  .hero-mark { width: 136px; height: 136px; margin-bottom: 10px; }
  .hero-mark img { width: 126px; height: 126px; }
  .hero-intro { margin-bottom: 25px; }
  .content-sections { margin-top: 0; }
  .league-panel { margin-bottom: 40px; }
  .league-match { grid-template-columns: minmax(0, 1fr) 43px; gap: 5px 6px; padding: 12px 9px; }
  .league-team { gap: 5px; }
  .league-team-name { font-size: .68rem; }
  .league-team-mark { width: 23px; height: 23px; font-size: .48rem; }
  .league-match-score { min-width: 40px; font-size: .76rem; }
  .league-table { font-size: .68rem; }
  .league-table th, .league-table td { padding: 8px 5px; }
  .league-table .league-table-team { gap: 6px; }
  .league-table .league-team-mark { width: 20px; height: 20px; font-size: .44rem; }
  .league-table th:nth-child(4), .league-table td:nth-child(4), .league-table th:nth-child(5), .league-table td:nth-child(5), .league-table th:nth-child(6), .league-table td:nth-child(6) { display: none; }
  .news-grid { display: block; }
  .news-card.is-lead { display: block; padding-bottom: 20px; }
  .news-card.is-lead .news-image { height: auto; aspect-ratio: 16 / 9; }
  .news-card.is-lead .news-copy { padding-top: 12px; }
  .news-card:not(.is-lead) { display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .news-card:not(.is-lead).no-image { grid-template-columns: minmax(0, 1fr); }
  .news-card:not(.is-lead) .news-image { width: 100px; height: 75px; aspect-ratio: 4 / 3; }
  .news-card:not(.is-lead) .news-copy { padding-top: 0; gap: 6px; }
  .news-card:not(.is-lead) strong { font-size: .85rem; }
  .back-to-top { right: 15px; bottom: 15px; width: 44px; height: 44px; }
  .site-footer { flex-direction: column; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
