/* Geist */
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist/Geist-Thin.ttf") format("truetype"); font-weight: 100; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist/Geist-ThinItalic.ttf") format("truetype"); font-weight: 100; font-style: italic; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist/Geist-ExtraLight.ttf") format("truetype"); font-weight: 200; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist/Geist-ExtraLightItalic.ttf") format("truetype"); font-weight: 200; font-style: italic; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist/Geist-Light.ttf") format("truetype"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist/Geist-LightItalic.ttf") format("truetype"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist/Geist-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist/Geist-Italic.ttf") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist/Geist-Medium.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist/Geist-MediumItalic.ttf") format("truetype"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist/Geist-SemiBold.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist/Geist-SemiBoldItalic.ttf") format("truetype"); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist/Geist-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist/Geist-BoldItalic.ttf") format("truetype"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist/Geist-ExtraBold.ttf") format("truetype"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist/Geist-ExtraBoldItalic.ttf") format("truetype"); font-weight: 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist/Geist-Black.ttf") format("truetype"); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist"; src: url("/assets/fonts/geist/Geist-BlackItalic.ttf") format("truetype"); font-weight: 900; font-style: italic; font-display: swap; }

/* Merriweather */
@font-face { font-family: "Merriweather"; src: url("/assets/fonts/merriweather/Merriweather_24pt-Light.ttf") format("truetype"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Merriweather"; src: url("/assets/fonts/merriweather/Merriweather_24pt-LightItalic.ttf") format("truetype"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "Merriweather"; src: url("/assets/fonts/merriweather/Merriweather_24pt-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Merriweather"; src: url("/assets/fonts/merriweather/Merriweather_24pt-Italic.ttf") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Merriweather"; src: url("/assets/fonts/merriweather/Merriweather_24pt-Medium.ttf") format("truetype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Merriweather"; src: url("/assets/fonts/merriweather/Merriweather_24pt-MediumItalic.ttf") format("truetype"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Merriweather"; src: url("/assets/fonts/merriweather/Merriweather_24pt-SemiBold.ttf") format("truetype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Merriweather"; src: url("/assets/fonts/merriweather/Merriweather_24pt-SemiBoldItalic.ttf") format("truetype"); font-weight: 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Merriweather"; src: url("/assets/fonts/merriweather/Merriweather_24pt-Bold.ttf") format("truetype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Merriweather"; src: url("/assets/fonts/merriweather/Merriweather_24pt-BoldItalic.ttf") format("truetype"); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Merriweather"; src: url("/assets/fonts/merriweather/Merriweather_24pt-ExtraBold.ttf") format("truetype"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Merriweather"; src: url("/assets/fonts/merriweather/Merriweather_24pt-ExtraBoldItalic.ttf") format("truetype"); font-weight: 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Merriweather"; src: url("/assets/fonts/merriweather/Merriweather_24pt-Black.ttf") format("truetype"); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Merriweather"; src: url("/assets/fonts/merriweather/Merriweather_24pt-BlackItalic.ttf") format("truetype"); font-weight: 900; font-style: italic; font-display: swap; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

:root {
  --header-height: 88px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #f7f7f7;
  font-family: "Geist", sans-serif;
  font-weight: normal;
  font-style: normal;
}

.font-accent {
  font-family: "Merriweather", serif;
}

.mb-20 {
  margin-bottom: 20px;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  min-height: var(--header-height);
  color: #000;
  background-color: #F7F7F7;
  padding: 4px 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
  z-index: 100;
}

header.dark {
  background-color: #000;
  box-shadow: none;
}

header.dark .header-nav a,
header.dark .header-tagline {
  color: #fff;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header-nav a {
  font-size: 1.1rem;
  font-weight: 600;
  color: #000;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  white-space: nowrap;
}

.header-nav a:hover {
  text-decoration: underline;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.header-tagline {
  font-size: 0.78rem;
  font-weight: 800;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  line-height: 1.5;
  max-width: 120px;
}

header .logo {
  font-size: 3rem;
  font-weight: 700;
  color: #004080;
}

header .logo img {
  height: 80px;
  width: auto;
  display: block;
}

.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
  line-height: 0;
  margin-top: var(--header-height);
  height: calc(100vh - var(--header-height));
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.carousel-track img {
  flex: 0 0 100%;
  width: 100%;
  height: calc(100vh - var(--header-height));
  object-fit: cover;
}

.carousel-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}

.carousel-overlay-box {
  max-width: 80vw;
  padding: 80px 120px;
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 2px;
  text-align: center;
  text-transform: uppercase;
  color: #fff;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 45%, transparent 75%);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 3rem;
  line-height: 1;
  padding: 12px 20px;
  transition: background 0.2s;
  z-index: 2;
}

.carousel-btn:hover {
  background: rgba(0, 0, 0, 0.6);
}

.carousel-btn--prev { left: 0; }
.carousel-btn--next { right: 0; }

.carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s;
}

.carousel-dot--active {
  background: #fff;
}

main {
  flex: 1;
}

.page-section {
  width: 100%;
  padding: 60px 0;
  background: #fff;
}

.page-section--alt {
  background: #f7f7f7;
}

.page-section--inverted {
  background: #000;
}

.page-section.page-section--inverted h2,
.page-section.page-section--inverted p,
.page-section.page-section--inverted .section-list {
  color: #f0f0f0;
}

.two-col-section {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: center;
}

.two-col-section--reverse {
  grid-template-columns: 1fr 2fr;
}

.section-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.two-col-section__aside--stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.two-col-section__aside--stack .section-video,
.two-col-section__aside--stack .section-img {
  width: 100%;
  height: auto;
}

.two-col-section__main h2 {
  margin-bottom: 20px;
}

.section-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.full-banner {
  width: 100%;
  line-height: 0;
}

.full-banner img {
  width: 100%;
  height: auto;
  display: block;
}

.partners-header {
  display: flex;
  align-items: flex-start;
  gap: 48px;
}

.partners-list {
  display: flex;
  align-items: center;
  gap: 48px;
}

.partners-list img {
  height: 160px;
  width: auto;
  object-fit: contain;
}

.section-list {
  list-style: disc;
  padding-left: 1.4em;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1.2rem;
  line-height: 1.7;
  color: #333;
}

.page-section h2 {
  font-size: 2rem;
  margin-bottom: 16px;
  color: #111;
}

.page-section p {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #333;
}

.card {
  background: #fff;
  border-radius: 4px;
  padding: 32px;
  max-width: 1200px;
  margin: 0 auto 30px auto;
}

.card--page-start {
  margin-top: calc(var(--header-height) + 20px);
}

.card--half {
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.contacts-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 48px;
  align-items: start;
}

.contacts-info-col h2 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: #111;
}

.contacts-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contacts-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
}

.contacts-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
}

.contacts-list a {
  color: #333;
  text-decoration: none;
}

.contacts-list a:hover {
  text-decoration: underline;
}

.documents-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 24px;
}

.documents-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 25px 4px;
  border-bottom: 1px solid #e0e0e0;
}

.documents-name {
  font-size: 1.05rem;
  color: #111;
}

.documents-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.documents-list a {
  flex-shrink: 0;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #333;
  text-decoration: none;
  border: 1px solid #333;
  border-radius: 4px;
  padding: 8px 18px;
  transition: background 0.2s, color 0.2s;

  @media (max-width: 780px) {
    font-size: 0.7rem;
  }
}

.documents-list a:hover {
  background: #000;
  color: #fff;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 560px;
  margin-top: 24px;
}

.donate-quick-links {
  display: none;
}

.donate-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.donate-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 24px;
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.donate-currency-pill {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 6px 16px;
  border-radius: 999px;
  background: #e6f4ea;
  color: #1e7a34;
}

.donate-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.donate-field-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
}

.donate-field-value-row {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.donate-field-value {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #333;
  word-break: break-word;
}

.donate-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  padding: 0;
  border: none;
  border-radius: 4px;
  background: none;
  color: #999;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.donate-field:hover .donate-copy-btn,
.donate-copy-btn:focus-visible {
  opacity: 1;
}

.donate-copy-btn:hover {
  color: #1e7a34;
  background: #e6f4ea;
}

.donate-toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  background: #1e7a34;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  z-index: 1000;
}

.donate-toast-fade-enter-active,
.donate-toast-fade-leave-active {
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.donate-toast-fade-enter-from,
.donate-toast-fade-leave-to {
  opacity: 0;
  transform: translateX(-50%) translateY(8px);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
}

.form-field input,
.form-field textarea {
  font-family: inherit;
  font-size: 1rem;
  color: #111;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 10px 14px;
  transition: border-color 0.2s;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #004080;
}

.form-field input.input--invalid,
.form-field textarea.input--invalid {
  border-color: #c0392b;
}

.form-error {
  font-size: 0.82rem;
  color: #c0392b;
  min-height: 1em;
}

.form-submit {
  align-self: flex-start;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  background: #000;
  border: none;
  border-radius: 4px;
  padding: 12px 32px;
  cursor: pointer;
  transition: background 0.2s;
}

.form-submit:hover {
  background: #333;
}

.footer {
  background-color: #F7F7F7;
  box-shadow: 0 -1px 4px rgba(0, 0, 0, 0.06);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 32px 0 24px;
  border-bottom: 1px solid #e0e0e0;
}

.footer-logo img {
  display: block;
}

.footer-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.footer-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-nav a:hover {
  color: #000;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e0e0e0;
  color: #333;
  transition: background 0.2s, color 0.2s;
}

.social-btn:hover {
  background: #000;
  color: #fff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 16px;
}

.footer-copy {
  font-size: 0.85rem;
  color: #888;
}

.footer-bottom a {
  font-size: 0.85rem;
  color: #888;
  text-decoration: none;
}

.footer-bottom a:hover {
  color: #000;
}

.scroll-top-btn {
  display: none;
}

/* =========================================
   TOURNAMENTS
   ========================================= */

.card p {
  font-size: 1rem;
  line-height: 1.7;
  color: #333;
  margin-bottom: 12px;
}

.card p:last-child {
  margin-bottom: 0;
}

.card ul,
.card ol {
  margin: 0 0 12px;
  padding-left: 1.4em;
  color: #333;
  line-height: 1.7;
}

.card h1,
.card h2,
.card h3,
.card h4 {
  color: #111;
  margin: 20px 0 10px;
}

.card h1:first-child,
.card h2:first-child,
.card h3:first-child,
.card h4:first-child {
  margin-top: 0;
}

.tournament-page-section {
  padding-left: 30px;
  padding-right: 30px;
}

.tournament-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.tournament-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid #e0e0e0;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.tournament-card:hover {
  border-color: #004080;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.tournament-card__image {
  aspect-ratio: 16 / 9;
  background: #eee;
}

.tournament-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tournament-card__body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tournament-card__tier {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #004080;
}

.tournament-card__title {
  font-size: 1.15rem;
  margin: 0;
  color: #111;
}

.tournament-card__meta {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

.tournament-badge {
  display: inline-block;
  align-self: flex-start;
  margin-top: 8px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 999px;
}

.tournament-badge--open {
  background: #e6f4ea;
  color: #1e7a34;
}

.tournament-badge--closed {
  background: #f0f0f0;
  color: #666;
}

.tournament-hero__subtitle {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  color: #555;
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.tournament-hero__image {
  width: 100%;
  border-radius: 8px;
  display: block;
  margin-top: 16px;
}

.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table th,
.info-table td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-bottom: 1px solid #e0e0e0;
  font-size: 0.95rem;
}

.info-table th {
  width: 30%;
  font-weight: 600;
  color: #111;
  background: #f7f7f7;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: none;
}

.deadlines {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.deadline-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 14px 16px;
  background: #f7f7f7;
}

.deadline-card__date {
  font-size: 1.1rem;
  font-weight: 700;
  color: #004080;
}

.deadline-card__label {
  font-size: 0.9rem;
  color: #666;
}

.category-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.category-list li {
  padding-bottom: 16px;
  border-bottom: 1px solid #e0e0e0;
}

.category-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.category-list p {
  font-size: 0.9rem;
  color: #666;
  margin-top: 4px;
}

.tournament-contacts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.tournament-contact {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 14px 16px;
}

.tournament-contact__role {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #888;
}

.tournament-contact__name {
  font-weight: 700;
  font-size: 1rem;
  margin-top: 2px;
}

.tournament-contact__phone {
  display: inline-block;
  margin-top: 6px;
  color: #004080;
  text-decoration: none;
}

.tournament-contact__phone:hover {
  text-decoration: underline;
}

.auth-toggle {
  display: flex;
  gap: 4px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  padding: 4px;
  width: fit-content;
}

.auth-toggle__btn {
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  background: none;
  border: none;
  border-radius: 4px;
  padding: 8px 18px;
  cursor: pointer;
  color: #666;
}

.auth-toggle__btn--active {
  background: #000;
  color: #fff;
}

/* =========================================
   RESPONSIVE
   ========================================= */

/* Burger button: hidden on desktop */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

header.dark .nav-burger {
  color: #fff;
}

/* Header burger menu (≤1080px) */
@media (max-width: 1080px) {
  .nav-burger {
    display: flex;
  }

  .nav-burger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-burger.is-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .nav-burger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .header-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    flex-wrap: nowrap;
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #F7F7F7;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

  header.dark .header-nav {
    background-color: #000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
  }

  .header-nav.is-open {
    max-height: 300px;
    padding-bottom: 8px;
  }

  .header-nav a {
    font-size: 1rem;
    letter-spacing: 1px;
    padding: 10px 0;
    width: 100%;
    border-bottom: 1px solid rgba(128, 128, 128, 0.15);
    white-space: normal;
  }

  .header-nav a:last-child {
    border-bottom: none;
  }
}

/* Tablet (≤1024px) */
@media (max-width: 1024px) {
  .carousel-overlay-box {
    font-size: 3rem;
    padding: 60px 80px;
  }

  .two-col-section,
  .two-col-section--reverse {
    gap: 32px;
  }

  .partners-list img {
    height: 120px;
  }

  .tournament-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .donate-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile (≤768px) */
@media (max-width: 768px) {
  html {
    font-size: 14px;
  }

  :root {
    --header-height: 68px;
  }

  header .logo img {
    height: 52px;
  }

  /* Tournaments */
  .tournament-grid {
    grid-template-columns: 1fr;
  }

  .scroll-top-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: #000;
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    z-index: 90;
  }

  .scroll-top-btn:hover {
    background: #1e7a34;
  }

  .donate-quick-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
  }

  .donate-quick-links a {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #333;
    text-decoration: none;
    border: 1px solid #333;
    border-radius: 999px;
    padding: 6px 16px;
    transition: background 0.2s, color 0.2s;
  }

  .donate-quick-links a:hover {
    background: #000;
    color: #fff;
  }

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

  .donate-copy-btn {
    opacity: 1;
  }

  .info-table th {
    width: auto;
    display: block;
    background: none;
    padding-bottom: 2px;
    border-bottom: none;
  }

  .info-table td {
    display: block;
    padding-top: 0;
  }

  /* Carousel */
  .carousel-overlay-box {
    font-size: 1.9rem;
    padding: 40px;
    white-space: normal;
  }

  /* Sections */
  .page-section {
    padding: 40px 0;
  }

  /* Two-col → single column */
  .two-col-section,
  .two-col-section--reverse {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .section-img,
  .section-video {
    max-height: 650px;
    object-fit: cover;
    object-position: 0 center;
  }

  /* Stacked aside: side-by-side on tablet */
  .two-col-section__aside--stack {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .two-col-section__aside--stack .section-video,
  .two-col-section__aside--stack .section-img {
    flex: 1 1 45%;
    max-height: 220px;
  }

  /* Partners */
  .partners-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .partners-list {
    flex-wrap: wrap;
    gap: 24px;
  }

  .partners-list img {
    height: 90px;
  }

  /* Footer */
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-nav {
    flex-wrap: wrap;
    gap: 8px 18px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  /* Contacts page */
  .contacts-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-form {
    max-width: 100%;
  }
}

/* Small phones (≤480px) */
@media (max-width: 480px) {
  html {
    font-size: clamp(12px, 3.5vw, 14px);
  }

  :root {
    --header-height: 60px;
  }

  header .logo img {
    height: 44px;
  }

  .carousel-overlay-box {
    font-size: 1.4rem;
    padding: 24px 20px;
  }

  .page-section {
    padding: 32px 0;
  }

  /* Stacked aside: stack vertically on phones */
  .two-col-section__aside--stack {
    flex-direction: column;
  }

  .two-col-section__aside--stack .section-video,
  .two-col-section__aside--stack .section-img {
    flex: none;
    width: 100%;
    max-height: 240px;
  }

  .section-img,
  .section-video {
    max-height: 400px;
    object-position: 0 -50px;
  }

  .partners-list img {
    height: 72px;
  }

  .card {
    padding: 20px;
  }

  .documents-list li {
    flex-wrap: wrap;
  }

  .documents-actions {
    width: 100%;
  }

  .documents-actions a {
    flex: 1 1 0;
    text-align: center;
  }
}
