/* ==========================================================================
   Soccer Chess
   ========================================================================== */

:root {
  --bg: #0e3b28;
  --bg-alt: rgba(0, 0, 0, 0.16);
  --surface: #154a34;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.26);
  --text: #f4f8f3;
  --muted: #a9c9b7;
  --accent: #d4ff3a;
  --accent-ink: #0b2a14;

  /* Kart değerleri */
  --blue: #6fb0ff;
  --green: #5fe38c;
  --red: #ff6f7c;

  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  --radius: 14px;
  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  /* Çim biçme şeritleri */
  background:
    repeating-linear-gradient(180deg, transparent 0 140px, rgba(255, 255, 255, 0.028) 140px 280px),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  overflow-wrap: break-word;
}

h1, h2, h3, h4, p, ol, ul, dl, dd {
  margin: 0;
}

ol, ul {
  padding: 0;
  list-style: none;
}

[hidden] {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

.accent {
  color: var(--accent);
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

/* --- Üst menü ----------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 46, 31, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.14em;
}

.logo__thin {
  font-weight: 500;
  color: var(--muted);
  margin-left: 4px;
}

/* Logo siyah zeminli; lighten ile zemin sayfa rengine karışır */
.logo__img,
.hero__logo {
  display: block;
  height: auto;
  mix-blend-mode: lighten;
}

.logo__img {
  width: 80px;
}

.logo--small .logo__img {
  width: 56px;
}

.hero__logo {
  width: clamp(200px, 26vw, 300px);
  margin: 0 0 32px -8px;
}

.logo--small {
  font-size: 13px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  color: var(--muted);
}

.nav__links a {
  transition: color 0.2s;
}

.nav__links a:hover {
  color: var(--text);
}

.nav__cta {
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--text);
}

.nav__cta:hover {
  border-color: var(--accent);
}

/* Dil seçimi */
.lang {
  padding: 6px 6px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

/* --- Butonlar ----------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn--ghost {
  border-color: var(--line-strong);
}

.btn--ghost:hover {
  border-color: var(--text);
}

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

.hero {
  position: relative;
  padding-block: clamp(72px, 12vw, 148px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 55% at 78% 40%, rgba(212, 255, 58, 0.14), transparent 70%);
  pointer-events: none;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  align-items: center;
  gap: 56px;
}

.hero h1 {
  margin-top: 20px;
  font-size: clamp(40px, 6.2vw, 76px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.hero__lead {
  margin-top: 26px;
  max-width: 46ch;
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.hero__facts dt {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
}

.hero__facts dd {
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Saha */

.hero__board {
  justify-self: center;
  width: 100%;
  max-width: 400px;
  padding: 8px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 50px 110px -40px rgba(0, 0, 0, 0.7), 0 0 90px -30px rgba(212, 255, 58, 0.25);
  transform: perspective(1400px) rotateX(16deg) rotateZ(-5deg);
}

.hero__board img {
  display: block;
  width: 100%;
  height: auto;
}

/* --- İki yön: strateji × beceri ----------------------------------------- */

.pillars {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
}

.pillars__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 48px;
  padding-block: 64px;
}

.pillar__label {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.pillar h2 {
  margin: 10px 0 14px;
  font-size: clamp(32px, 4.4vw, 52px);
}

.pillar p:last-child {
  max-width: 44ch;
  color: var(--muted);
}

.pillars__x {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 500;
  line-height: 1;
  color: var(--line-strong);
}

/* --- Saha --------------------------------------------------------------- */

.field {
  display: grid;
  grid-template-columns: minmax(0, 380px) 1fr;
  align-items: center;
  gap: 56px;
  margin-bottom: 88px;
}

.field__img {
  display: block;
  padding: 8px;
  border-radius: 14px;
  background: #fff;
  transition: transform 0.2s;
}

.field__img:hover {
  transform: translateY(-4px);
}

.field__img img {
  display: block;
  width: 100%;
  height: auto;
}

.field__text h3 {
  margin-bottom: 14px;
  font-size: 28px;
}

.field__text p {
  max-width: 54ch;
  color: var(--muted);
}

.field__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  margin-block: 28px;
  padding-block: 24px;
  border-block: 1px solid var(--line);
}

.field__facts dt {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.field__facts dd {
  margin-top: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

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

.section {
  padding-block: clamp(72px, 10vw, 128px);
  border-top: 1px solid var(--line);
}

.section--alt {
  background: var(--bg-alt);
}

.section__head {
  max-width: 640px;
  margin-bottom: 56px;
}

.section__head h2 {
  margin-top: 16px;
  font-size: clamp(32px, 4.4vw, 52px);
}

.section__lead {
  margin-top: 18px;
  font-size: 18px;
  color: var(--muted);
}

.sub {
  margin-top: 88px;
  font-size: 24px;
}

.sub__lead {
  margin-top: 10px;
  max-width: 62ch;
  color: var(--muted);
}

/* --- Kartlar ------------------------------------------------------------ */

.card,
.stat,
.steps li,
.notes li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.card p,
.stat p,
.steps p,
.notes p,
.rule__body p {
  font-size: 15px;
  color: var(--muted);
}

.principles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.card--wide {
  grid-column: 1 / -1;
}

.card h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

/* Kart değerleri */

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.stat {
  position: relative;
  overflow: hidden;
}

.stat::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: var(--c);
}

.stat--blue { --c: var(--blue); }
.stat--green { --c: var(--green); }
.stat--red { --c: var(--red); }

.stat__dot {
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 18px var(--c);
}

.stat .stat__label {
  margin-top: 22px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c);
}

.stat h4 {
  margin: 6px 0 12px;
  font-size: 22px;
}

/* Maç akışı */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
}

.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--accent);
}

.steps h4,
.notes h4 {
  margin-bottom: 10px;
  font-size: 18px;
}

/* Top kimde */

.tiebreak {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.tiebreak__item {
  display: flex;
  gap: 16px;
  padding: 26px 28px;
  background: var(--surface);
}

.tiebreak__item + .tiebreak__item {
  border-left: 1px solid var(--line);
}

.tiebreak__item span {
  flex: none;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 13px;
}

.tiebreak__item p {
  font-size: 15px;
  color: var(--muted);
}

.tiebreak__item strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
}

/* Özel durumlar */

.notes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.notes li:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

/* Opsiyonel kurallar */

.optional .sub__lead {
  margin-bottom: 28px;
}

.rule {
  border-top: 1px solid var(--line);
}

.rule:last-child {
  border-bottom: 1px solid var(--line);
}

.rule summary {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 4px;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s;
}

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

.rule summary::after {
  content: "+";
  flex: none;
  font-size: 22px;
  font-weight: 400;
  color: var(--muted);
  transition: transform 0.2s;
}

.rule[open] summary::after {
  transform: rotate(45deg);
}

.rule summary:hover,
.rule[open] summary {
  color: var(--accent);
}

.rule__no {
  flex: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.rule__tag {
  margin-left: auto;
  padding: 4px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}

.rule__body {
  display: grid;
  gap: 12px;
  max-width: 70ch;
  padding: 0 4px 28px 52px;
}

.rule__body .rule__effect {
  padding-left: 14px;
  border-left: 2px solid var(--accent);
  color: var(--text);
}

/* Yapay zeka ipucu */

.tip {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  align-items: start;
  gap: 28px 40px;
  margin-top: 88px;
  padding: 32px;
  border: 1px solid rgba(212, 255, 58, 0.28);
  border-radius: 20px;
  background: linear-gradient(120deg, rgba(212, 255, 58, 0.07), transparent 60%), var(--surface);
}

.tip__text {
  max-width: 58ch;
}

.tip h3 {
  margin: 12px 0 10px;
  font-size: 24px;
}

.tip__text > p:last-child {
  font-size: 15px;
  color: var(--muted);
}

.copy {
  flex: none;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 6px 6px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: var(--bg);
}

.copy__url {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.02em;
  user-select: all;
}

.copy__btn {
  min-width: 124px;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background 0.2s;
}

.copy__btn:hover,
.copy__btn.is-copied {
  background: var(--text);
}

/* Hakeme sor */

.ask__label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.ask__input {
  display: block;
  width: 100%;
  min-height: 120px;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.18);
  color: var(--text);
  font: inherit;
  resize: vertical;
}

.ask__input::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

.ask__input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: transparent;
}

.ask__example {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 12px 14px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  background: none;
  color: var(--text);
  font: inherit;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s;
}

.ask__example:hover {
  border-color: var(--accent);
}

.ask__example-tag,
.ask__example-hint {
  display: block;
  font-size: 12px;
  color: var(--muted);
}

.ask__example-tag {
  margin-bottom: 4px;
  font-family: var(--font-display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

.ask__example-hint {
  margin-top: 4px;
}

.ask__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
}

.ask .btn {
  cursor: pointer;
}

.ask .btn:disabled {
  opacity: 0.7;
  cursor: default;
  transform: none;
}

.ask__counter {
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.ask__status {
  min-height: 1.6em;
  margin-top: 10px;
  font-size: 14px;
  color: var(--accent);
}

.ask__answer,
.ask__fallback,
.ask__note {
  grid-column: 1 / -1;
}

.ask__answer {
  padding: 22px 24px;
  border-left: 3px solid var(--accent);
  border-radius: 0 12px 12px 0;
  background: rgba(0, 0, 0, 0.2);
}

.ask__answer-title {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.ask__answer-text {
  white-space: pre-wrap;
}

.ask__fallback {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.ask__fallback p {
  flex: 1 1 320px;
  max-width: 60ch;
  font-size: 15px;
  color: var(--muted);
}

.ask__note {
  font-size: 13px;
  color: var(--muted);
}

/* --- Anket -------------------------------------------------------------- */

.survey {
  padding: clamp(22px, 4vw, 44px);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: var(--surface);
}

.survey__form--narrow,
.survey__thanks {
  max-width: 680px;
  margin-inline: auto;
}

.survey__intro,
.survey__hint {
  color: var(--muted);
}

.survey h3 {
  font-size: 26px;
}

/* İlerleme çubuğu */

.survey__progress {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + 68px);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 20px -8px 0;
  padding: 12px 8px;
  background: var(--surface);
}

.survey__bar {
  flex: 1;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.survey__bar-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  transition: width 0.3s;
}

.survey__count {
  flex: none;
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* Bölümler ve sorular */

.survey__section {
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.survey__step {
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--accent);
}

.survey__section .survey__hint {
  margin-top: 6px;
}

.q {
  min-width: 0;
  margin: 28px 0 0;
  padding: 0;
  border: 0;
}

.q legend {
  padding: 0;
  font-weight: 600;
  font-size: 16px;
}

.q legend small {
  font-weight: 400;
  font-size: 13px;
  color: var(--muted);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.chip {
  position: relative;
  cursor: pointer;
}

.chip input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.chip span {
  display: block;
  padding: 10px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 14px;
  line-height: 1.3;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.chip:hover span {
  border-color: var(--text);
}

.chip input:checked + span {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
}

.chip input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.chips--score .chip span {
  min-width: 44px;
  padding-inline: 0;
  text-align: center;
  font-family: var(--font-display);
}

/* Giriş alanları */

.q__number,
.survey__input,
.survey__textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.18);
  color: var(--text);
  font: inherit;
}

.q__number {
  max-width: 180px;
}

.survey__textarea {
  display: block;
  min-height: 180px;
  resize: vertical;
}

.q__number::placeholder,
.survey__input::placeholder,
.survey__textarea::placeholder {
  color: var(--muted);
  opacity: 0.7;
}

.q__number:focus,
.survey__input:focus,
.survey__textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: transparent;
}

.survey__label {
  display: block;
  margin: 24px 0 8px;
  font-weight: 600;
}

.survey__counter {
  display: block;
  margin-top: 6px;
  text-align: right;
  font-size: 13px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.survey__trap {
  position: absolute;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Gönderme */

.survey__actions {
  display: grid;
  gap: 14px;
  justify-items: start;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.survey__actions--row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
  padding-top: 0;
  border-top: 0;
}

.survey .btn {
  cursor: pointer;
  text-align: center;
  line-height: 1.3;
}

.survey .btn--ghost {
  background: none;
  color: var(--text);
}

.survey .btn:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}

.survey__status {
  min-height: 1.6em;
  margin-top: 12px;
  font-size: 14px;
  color: var(--accent);
}

.survey__actions .survey__status {
  margin-top: 0;
}

.survey__badge {
  display: inline-block;
  margin-bottom: 16px;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(212, 255, 58, 0.14);
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.survey__thanks {
  padding-block: 40px;
  text-align: center;
}

.survey__thanks .survey__hint {
  margin-top: 12px;
}

/* --- Alt bilgi ---------------------------------------------------------- */

.footer {
  border-top: 1px solid var(--line);
  padding-block: 32px;
  font-size: 13px;
  color: var(--muted);
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.footer .logo {
  color: var(--text);
}

/* --- Duyarlı ------------------------------------------------------------ */

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__board {
    transform: none;
  }

  .pillars__grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding-block: 48px;
  }

  .field {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 64px;
  }

  .field__img {
    max-width: 380px;
  }

  .stats,
  .steps,
  .tiebreak {
    grid-template-columns: 1fr;
  }

  .tip {
    grid-template-columns: 1fr;
  }

  .tiebreak__item + .tiebreak__item {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 72px;
  }

  .container {
    padding-inline: 20px;
  }

  .principles,
  .notes {
    grid-template-columns: 1fr;
  }

  /* Üst menü */

  .nav__inner {
    min-height: 60px;
  }

  .nav__links {
    gap: 12px;
    font-size: 13px;
    white-space: nowrap;
  }

  /* Telefonda yalnızca Hakeme Sor, Anket ve dil seçimi kalır */
  .nav__links a:not(.nav__cta):not([href="#hakem"]) {
    display: none;
  }

  .nav__links a[href="#hakem"] {
    color: var(--text);
  }

  .nav__cta {
    padding: 7px 12px;
  }

  .logo__text {
    display: none;
  }

  .logo {
    font-size: 14px;
  }

  .logo__img {
    width: 68px;
  }

  /* Hero */

  .hero {
    padding-block: 40px 64px;
  }

  .hero__grid {
    gap: 48px;
  }

  .hero__logo {
    width: 180px;
    margin: 0 0 24px -6px;
  }

  .hero h1 {
    font-size: clamp(34px, 10.5vw, 56px);
  }

  .hero__lead {
    margin-top: 20px;
  }

  .hero__actions {
    flex-direction: column;
    margin-top: 28px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__facts {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
    margin-top: 40px;
  }

  .hero__board {
    max-width: 340px;
  }

  /* Bölümler */

  .pillars__grid {
    gap: 16px;
    padding-block: 44px;
  }

  .pillars__x {
    font-size: 32px;
  }

  .section {
    padding-block: 64px;
  }

  .section__head {
    margin-bottom: 40px;
  }

  .section__lead {
    font-size: 16px;
  }

  .sub,
  .tip {
    margin-top: 64px;
  }

  .sub {
    font-size: 22px;
  }

  .card,
  .stat,
  .steps li,
  .notes li {
    padding: 22px;
  }

  .tiebreak__item {
    padding: 22px;
  }

  .field__img {
    margin-inline: auto;
  }

  .field__facts {
    gap: 20px 28px;
  }

  .field__facts dt {
    font-size: 22px;
  }

  /* Opsiyonel kurallar */

  .rule summary {
    gap: 12px;
    padding-block: 20px;
    font-size: 17px;
  }

  .rule summary::after {
    margin-left: auto;
  }

  .rule__tag {
    display: none;
  }

  .rule__body {
    padding-left: 4px;
  }

  /* İpucu ve kopyalama */

  .tip {
    padding: 22px;
  }

  .tip h3 {
    font-size: 21px;
  }

  .copy {
    width: 100%;
    justify-content: space-between;
    padding-left: 16px;
  }

  .copy__url {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
  }

  .copy__btn {
    flex: none;
    min-width: 0;
    padding-inline: 16px;
  }

  .survey h3 {
    font-size: 22px;
  }

  .survey__progress {
    top: calc(env(safe-area-inset-top, 0px) + 60px);
  }

  .survey__submit,
  .survey__actions--row .btn {
    width: 100%;
  }

  .chip span {
    padding: 10px 14px;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Çok dar ekranlar */
@media (max-width: 380px) {
  .container {
    padding-inline: 16px;
  }

  .logo__text {
    display: none;
  }

  .copy__url {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn:hover {
    transform: none;
  }
}
