/* ========================================
   VITKOV OPEN GAME — Tournament Theme
   Bold athletic identity with diagonal energy
   ======================================== */

/* — Custom Properties — */
:root {
  --navy: #0f1e52;
  --navy-light: #1a3080;
  --navy-dark: #0a1438;
  --gold: #ffb800;
  --gold-light: #ffd04a;
  --gold-dark: #e6a600;
  --white: #ffffff;
  --off-white: #f7f8fc;
  --gray-50: #f0f1f5;
  --gray-100: #e2e4eb;
  --gray-200: #c5c9d6;
  --gray-400: #8b90a0;
  --gray-600: #5a5f72;
  --gray-800: #2d3142;
  --text: #1a1d2e;
  --radius: 6px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 3px rgba(15, 30, 82, .08);
  --shadow-md: 0 4px 20px rgba(15, 30, 82, .1);
  --shadow-lg: 0 12px 40px rgba(15, 30, 82, .15);
  --transition: .25s cubic-bezier(.4, 0, .2, 1);
}

/* — Reset & Base — */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--off-white);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

/* — Typography — */
h1,
h2,
h3,
h4,
h5 {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: .02em;
  color: var(--navy);
}

/* — Utility — */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ========================================
   HEADER & NAVIGATION
   ======================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--navy);
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(15, 30, 82, .97);
  box-shadow: 0 2px 20px rgba(0, 0, 0, .3);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.site-logo a {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-logo img {
  height: 42px;
  width: auto;
}

.site-logo .logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  color: var(--white);
  letter-spacing: .05em;
  line-height: 1;
}

.site-logo .logo-text span {
  color: var(--gold);
}

/* Hide mobile-only elements on desktop */
.mobile-menu-cta,
.mobile-menu-social {
  display: none;
}

/* Desktop Nav */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu li {
  position: relative;
}

.nav-menu>li>a {
  display: block;
  padding: 8px 18px;
  color: rgba(255, 255, 255, .8);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .03em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.nav-menu>li>a:hover,
.nav-menu>li.current-menu-item>a {
  color: var(--white);
  background: rgba(255, 255, 255, .1);
}

.nav-menu>li.current-menu-item>a {
  color: var(--gold);
}

/* Dropdown */
.nav-menu .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 200px;
  padding: 8px 0;
  background: var(--navy-dark);
  border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(0, 0, 0, .4);
  border: 1px solid rgba(255, 255, 255, .08);
}

.nav-menu li:hover>.sub-menu {
  display: block;
}

.nav-menu .sub-menu a {
  display: block;
  padding: 10px 20px;
  color: rgba(255, 255, 255, .75);
  font-size: 13px;
  font-weight: 500;
  transition: all var(--transition);
}

.nav-menu .sub-menu a:hover {
  color: var(--gold);
  background: rgba(255, 255, 255, .05);
}

/* Header CTA */
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--gold);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.header-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(255, 184, 0, .4);
}

/* Social Links in header */
.header-social {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 16px;
}

.header-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: rgba(255, 255, 255, .6);
  background: rgba(255, 255, 255, .06);
  font-size: 13px;
  transition: all var(--transition);
}

.header-social a:hover {
  color: var(--gold);
  background: rgba(255, 255, 255, .12);
}

/* Header right group */
.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 10;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all .3s;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy) url('../images/areal.png') center/cover no-repeat;
  overflow: hidden;
}

/* Dark overlay over background image */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(15, 30, 82, .85) 0%, rgba(26, 48, 128, .7) 50%, rgba(15, 30, 82, .85) 100%);
}

.hero::after {
  content: '';
  position: absolute;
  top: -30%;
  right: -20%;
  width: 80%;
  height: 160%;
  background: var(--gold);
  opacity: .04;
  transform: rotate(-12deg);
  border-radius: 80px;
}

/* Geometric decorations */
.hero-deco {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-deco::before {
  content: '';
  position: absolute;
  bottom: -5%;
  left: -10%;
  width: 50%;
  height: 40%;
  border: 2px solid rgba(255, 184, 0, .08);
  border-radius: 50%;
  transform: rotate(-20deg);
}

.hero-deco::after {
  content: '';
  position: absolute;
  top: 15%;
  right: 5%;
  width: 200px;
  height: 200px;
  border: 2px solid rgba(255, 255, 255, .04);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255, 184, 0, .12);
  border: 1px solid rgba(255, 184, 0, .25);
  border-radius: 50px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 32px;
  animation: fadeSlideUp .8s ease both;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(64px, 12vw, 140px);
  color: var(--white);
  line-height: .9;
  letter-spacing: .02em;
  margin-bottom: 24px;
  animation: fadeSlideUp .8s ease .15s both;
}

.hero-title span {
  display: block;
  color: var(--gold);
  font-size: .55em;
  letter-spacing: .15em;
}

.hero-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-bottom: 20px;
  animation: fadeSlideUp .8s ease .3s both;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .85);
  font-size: 17px;
  font-weight: 500;
}

.hero-meta-item i {
  color: var(--gold);
  font-size: 16px;
}

.hero-subtitle {
  color: rgba(255, 255, 255, .55);
  font-size: 18px;
  font-style: italic;
  margin-bottom: 44px;
  animation: fadeSlideUp .8s ease .4s both;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 44px;
  background: var(--gold);
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  border-radius: var(--radius);
  transition: all var(--transition);
  box-shadow: 0 4px 25px rgba(255, 184, 0, .3);
  animation: fadeSlideUp .8s ease .5s both;
}

.hero-cta:hover {
  background: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 35px rgba(255, 184, 0, .4);
}

.hero-cta i {
  font-size: 14px;
  transition: transform var(--transition);
}

.hero-cta:hover i {
  transform: translateX(3px);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .3);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  animation: fadeSlideUp .8s ease .7s both;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease infinite;
}

/* Bottom diagonal cut on hero */
.hero-cut {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  z-index: 3;
}

.hero-cut svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ========================================
   SECTION STYLES
   ======================================== */
.section {
  padding: 100px 0;
  position: relative;
}

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

.section--dark {
  background: var(--navy);
  color: var(--white);
}

.section--dark h2,
.section--dark h3 {
  color: var(--white);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--gold);
}

.section-title {
  font-size: clamp(36px, 5vw, 56px);
  margin-bottom: 20px;
}

.section-desc {
  max-width: 640px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--gray-600);
}

.section-header {
  margin-bottom: 56px;
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-label {
  justify-content: center;
}

.section-header--center .section-desc {
  margin: 0 auto;
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-text p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 16px;
}

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

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.stat-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-card:hover .stat-number {
  color: var(--gold-dark);
}

.stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ========================================
   PROGRAM & CATEGORIES SECTION (UNIFIED)
   ======================================== */
.day-block {
  margin-bottom: 48px;
}

.day-block:last-child {
  margin-bottom: 0;
}

.day-header {
  text-align: center;
  margin-bottom: 28px;
}

.day-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 28px;
  background: var(--navy);
  color: var(--white);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: .06em;
  border-radius: 50px;
  margin-bottom: 12px;
}

.day-badge i {
  color: var(--gold);
}

.day-header-note {
  font-size: 15px;
  color: var(--gray-400);
  max-width: 600px;
  margin: 0 auto;
}

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

.day-cards--single {
  grid-template-columns: 1fr;
  max-width: 420px;
  margin: 0 auto;
}

.day-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.day-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}

.day-card-top {
  text-align: center;
  padding: 32px 24px 20px;
  background: linear-gradient(135deg, var(--navy) 0%, #1a2d6b 100%);
  color: var(--white);
}

.day-card-top .category-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 184, 0, .15);
  border: 2px solid rgba(255, 184, 0, .3);
  border-radius: 50%;
  color: var(--gold);
  font-size: 20px;
  transition: all var(--transition);
}

.day-card:hover .category-icon {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: scale(1.08);
}

.day-card-top h3 {
  font-size: 28px;
  color: var(--white);
  margin-bottom: 4px;
}

.day-card-top .category-age {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  color: var(--gold);
  letter-spacing: .04em;
}

.day-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.day-card-body .program-list {
  flex: 1;
}

.day-card-price {
  text-align: center;
  padding: 16px 0;
  margin-top: 12px;
  border-top: 1px solid var(--gray-100);
}

.day-card-btn {
  width: 100%;
  justify-content: center;
  margin-top: 12px;
}

/* ========================================
   PROGRAM SECTION
   ======================================== */
.program-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.program-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
  position: relative;
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.program-card-top {
  position: relative;
  padding: 40px 32px 32px;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

/* Diagonal accent in card */
.program-card-top::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--gold);
  opacity: .08;
  border-radius: 50%;
}

.program-day {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 184, 0, .15);
  border: 1px solid rgba(255, 184, 0, .3);
  border-radius: 50px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 16px;
}

.program-card-top h3 {
  font-size: 32px;
  color: var(--white);
  margin-bottom: 8px;
}

.program-card-top .program-target {
  color: rgba(255, 255, 255, .6);
  font-size: 15px;
  font-weight: 500;
}

.program-card-body {
  padding: 32px;
}

.program-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.program-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  font-size: 15px;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-50);
}

.program-list li:last-child {
  border-bottom: none;
}

.program-list li i {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 30, 82, .06);
  color: var(--navy);
  border-radius: 50%;
  font-size: 11px;
}

/* ========================================
   DOPROVODNÝ PROGRAM SECTION
   ======================================== */
.sideevent-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.sideevent-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.sideevent-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.sideevent-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  font-size: 24px;
}

.sideevent-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.sideevent-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-600);
}

/* ========================================
   LOCATION SECTION
   ======================================== */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: center;
}

.location-text p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 32px;
}

.location-text .btn {
  margin-top: 8px;
}

/* Image collage */
.location-collage {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  grid-template-rows: auto auto;
  gap: 16px;
  position: relative;
}

.collage-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.collage-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 3px solid var(--gold);
  opacity: 0;
  z-index: 2;
  transition: opacity var(--transition);
}

.collage-item:hover::before {
  opacity: 1;
}

.collage-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}

.collage-item:hover img {
  transform: scale(1.05);
}

/* Main image — top-left, tall */
.collage-item--main {
  grid-row: 1 / 2;
  grid-column: 1 / 2;
  aspect-ratio: 4/3;
}

/* Wide image — spans bottom */
.collage-item--wide {
  grid-row: 2 / 3;
  grid-column: 1 / 3;
  aspect-ratio: 16/7;
}

/* Small image — top-right */
.collage-item--small {
  grid-row: 1 / 2;
  grid-column: 2 / 3;
  aspect-ratio: 1/1;
}

/* Decorative accent behind collage */
.location-collage::before {
  content: '';
  position: absolute;
  top: -12px;
  right: -12px;
  width: 45%;
  height: 55%;
  background: var(--gold);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: .15;
}

.location-collage::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: -12px;
  width: 35%;
  height: 40%;
  background: var(--navy);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: .08;
}

/* Placeholder state for missing images */
.collage-item img[src*="placeholder"],
.collage-item img[onerror] {
  background: var(--gray-100);
}

.collage-item--placeholder {
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--gray-100) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: var(--gray-400);
}

.collage-item--placeholder i {
  font-size: 32px;
  opacity: .5;
}

.collage-item--placeholder span {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.btn--primary {
  background: var(--navy);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 30, 82, .25);
}

.btn--gold {
  background: var(--gold);
  color: var(--navy);
}

.btn--gold:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 184, 0, .35);
}

/* ========================================
   PARTNERS SECTION
   ======================================== */
.partners-track {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.partner-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 90px;
  padding: 16px 24px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
}

.partner-item:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.partner-item img {
  max-height: 50px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(.5);
  transition: all var(--transition);
}

.partner-item:hover img {
  filter: grayscale(0) opacity(1);
}

/* ========================================
   CTA BANNER
   ======================================== */
.cta-banner {
  position: relative;
  padding: 80px 0;
  background: var(--navy);
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 150%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255, 184, 0, .08) 0%, transparent 60%);
}

.cta-inner {
  position: relative;
  text-align: center;
  z-index: 1;
}

.cta-inner h2 {
  font-size: clamp(36px, 5vw, 56px);
  color: var(--white);
  margin-bottom: 16px;
}

.cta-inner p {
  font-size: 18px;
  color: rgba(255, 255, 255, .6);
  max-width: 550px;
  margin: 0 auto 36px;
}

/* ========================================
   PAGE BANNER
   ======================================== */
.page-banner {
  position: relative;
  padding: 140px 0 60px;
  background: var(--navy);
  overflow: hidden;
}

.page-banner::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: var(--gold);
  opacity: .03;
  transform: rotate(-12deg);
  border-radius: 80px;
}

.page-banner-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-banner h1 {
  font-size: clamp(40px, 6vw, 64px);
  color: var(--white);
  margin-bottom: 12px;
}

.page-banner p {
  font-size: 18px;
  color: rgba(255, 255, 255, .6);
}

/* ========================================
   REGISTRATION FORM
   ======================================== */
.registration-section {
  padding: 80px 0;
}

.registration-wrap {
  max-width: 680px;
  margin: 0 auto;
}

.registration-intro {
  text-align: center;
  margin-bottom: 40px;
}

.registration-intro p {
  font-size: 17px;
  color: var(--gray-600);
  line-height: 1.7;
}

.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}

/* CF7 form styling */
.form-card .wpcf7 p {
  margin-bottom: 20px;
}

.form-card .wpcf7 label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-800);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-bottom: 6px;
}

.form-card .wpcf7 input[type="text"],
.form-card .wpcf7 input[type="email"],
.form-card .wpcf7 input[type="tel"],
.form-card .wpcf7 input[type="number"],
.form-card .wpcf7 input[type="url"],
.form-card .wpcf7 select,
.form-card .wpcf7 textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--off-white);
  transition: all var(--transition);
}

.form-card .wpcf7 input:focus,
.form-card .wpcf7 select:focus,
.form-card .wpcf7 textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(15, 30, 82, .08);
}

.form-card .wpcf7 textarea {
  min-height: 120px;
  resize: vertical;
}

.form-card .wpcf7 input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px 32px;
  background: var(--gold);
  color: var(--navy);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
}

.form-card .wpcf7 input[type="submit"]:hover {
  background: var(--gold-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(255, 184, 0, .3);
}

.form-card noscript p {
  padding: 20px;
  background: var(--gray-50);
  border-radius: var(--radius);
  color: var(--gray-600);
  text-align: center;
}

.form-card noscript a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, .7);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-brand .footer-logo {
  margin-bottom: 20px;
}

.footer-brand .footer-logo img {
  height: 40px;
  width: auto;
}

.footer-brand .logo-text-footer {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  color: var(--white);
  letter-spacing: .05em;
  margin-bottom: 16px;
}

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

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 8px;
}

.footer-brand a {
  color: rgba(255, 255, 255, .7);
  transition: color var(--transition);
}

.footer-brand a:hover {
  color: var(--gold);
}

.footer-heading {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, .6);
  transition: all var(--transition);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

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

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .6);
  font-size: 15px;
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, .35);
}

/* ========================================
   BACK TO TOP
   ======================================== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
  box-shadow: var(--shadow-md);
  cursor: pointer;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-3px);
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: .3;
    transform: scaleY(1);
  }

  50% {
    opacity: .8;
    transform: scaleY(1.3);
    transform-origin: top;
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   COUNTDOWN TIMER
   ======================================== */
.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
  animation: fadeSlideUp .8s ease .35s both;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 184, 0, .2);
  border-radius: var(--radius-lg);
  padding: 16px 20px 12px;
  min-width: 80px;
  backdrop-filter: blur(4px);
}

.countdown-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 42px;
  line-height: 1;
  color: var(--gold);
  letter-spacing: .02em;
}

.countdown-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: rgba(255, 255, 255, .5);
  margin-top: 4px;
}

.countdown-live {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: rgba(255, 184, 0, .15);
  border: 1px solid rgba(255, 184, 0, .35);
  border-radius: 50px;
  color: var(--gold);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 24px;
  animation: fadeSlideUp .8s ease .35s both;
}

.countdown-past {
  padding: 12px 28px;
  color: rgba(255, 255, 255, .5);
  font-size: 16px;
  font-style: italic;
  margin-bottom: 24px;
  animation: fadeSlideUp .8s ease .35s both;
}

/* ========================================
   STARTOVNÉ / PRICING SECTION
   ======================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.pricing-card-header {
  padding: 32px 28px 24px;
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.pricing-card-header::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--gold);
  opacity: .08;
  border-radius: 50%;
}

.pricing-day {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 184, 0, .15);
  border: 1px solid rgba(255, 184, 0, .3);
  border-radius: 50px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 12px;
}

.pricing-card-header h3 {
  font-size: 28px;
  color: var(--white);
}

.pricing-amount {
  padding: 28px;
  text-align: center;
  border-bottom: 1px solid var(--gray-100);
}

.pricing-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 56px;
  color: var(--navy);
  line-height: 1;
}

.pricing-currency {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: .04em;
  margin-top: 4px;
}

.pricing-features {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  font-size: 15px;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-50);
}

.pricing-features li:last-child {
  border-bottom: none;
}

.pricing-features li i {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 30, 82, .06);
  color: var(--navy);
  border-radius: 50%;
  font-size: 11px;
}

.pricing-btn {
  margin: 0 28px 28px;
  justify-content: center;
}

/* ========================================
   VENDOR / STALL RENTAL SECTION
   ======================================== */
.vendor-section {
  padding: 80px 0;
}

.vendor-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: start;
}

.vendor-info p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 16px;
}

.vendor-highlights {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.vendor-highlight-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
}

.vendor-highlight-item:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.vendor-highlight-item i {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 184, 0, .1);
  color: var(--gold-dark);
  border-radius: 50%;
  font-size: 18px;
}

.vendor-highlight-item strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 2px;
}

.vendor-highlight-item span {
  font-size: 13px;
  color: var(--gray-400);
}

.vendor-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
}

.vendor-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.vendor-card-header {
  position: relative;
  padding: 32px 28px 24px;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}

.vendor-card-header::after {
  content: '';
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: var(--gold);
  opacity: .08;
  border-radius: 50%;
}

.vendor-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 184, 0, .15);
  border: 1px solid rgba(255, 184, 0, .3);
  border-radius: 50px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 12px;
}

.vendor-card-header h3 {
  font-size: 28px;
  color: var(--white);
}

.vendor-card-price {
  padding: 24px 28px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  border-bottom: 1px solid var(--gray-100);
}

.vendor-price-amount {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 52px;
  color: var(--navy);
  line-height: 1;
}

.vendor-price-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.vendor-card-body {
  padding: 24px 28px;
}

.vendor-features {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.vendor-features li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 0;
  font-size: 15px;
  color: var(--gray-600);
  border-bottom: 1px solid var(--gray-50);
}

.vendor-features li:last-child {
  border-bottom: none;
}

.vendor-features li i {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 30, 82, .06);
  color: var(--navy);
  border-radius: 50%;
  font-size: 11px;
}

.vendor-card-footer {
  padding: 0 28px 28px;
  text-align: center;
}

.vendor-cta {
  width: 100%;
  justify-content: center;
  margin-bottom: 12px;
}

.vendor-card-note {
  font-size: 12px;
  color: var(--gray-400);
  font-style: italic;
}

/* ========================================
   CONTACT PAGE
   ======================================== */
.contact-section {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.contact-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.contact-card-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--gold);
  border-radius: var(--radius-lg);
  font-size: 20px;
}

.contact-card-body h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-400);
  margin-bottom: 4px;
}

.contact-card-body a,
.contact-card-body p {
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.5;
}

.contact-card-body a:hover {
  color: var(--navy-light);
}

.contact-social {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.contact-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-size: 16px;
  transition: all var(--transition);
}

.contact-social a:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

.contact-form h2 {
  font-size: 32px;
  margin-bottom: 24px;
}

.contact-form .form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}

/* Map */
.map-section {
  padding: 0 0 0;
}

.map-wrap {
  width: 100%;
  line-height: 0;
}

.map-wrap iframe {
  width: 100%;
  height: 450px;
  display: block;
}

/* ========================================
   RULES PAGE
   ======================================== */
.rules-section {
  padding: 80px 0;
}

.rules-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 56px;
  flex-wrap: wrap;
}

.rules-nav-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-600);
  transition: all var(--transition);
}

.rules-nav-item:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.rules-nav-item i {
  color: var(--gold);
  font-size: 13px;
}

.rules-block {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  margin-bottom: 32px;
  overflow: hidden;
}

.rules-block:last-child {
  margin-bottom: 0;
}

.rules-block-header {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 32px 36px;
  background: var(--navy);
  color: var(--white);
}

.rules-block-icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 184, 0, .15);
  border: 1px solid rgba(255, 184, 0, .3);
  border-radius: var(--radius-lg);
  color: var(--gold);
  font-size: 22px;
}

.rules-block-header h2 {
  font-size: 32px;
  color: var(--white);
  margin-bottom: 2px;
}

.rules-block-header p {
  font-size: 14px;
  color: rgba(255, 255, 255, .5);
}

.rules-block-body {
  padding: 12px 36px 24px;
}

.rule-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-50);
}

.rule-item:last-child {
  border-bottom: none;
}

.rule-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  line-height: 1;
}

.rule-number i {
  font-size: 16px;
}

.rule-content h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.rule-content p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-600);
}

/* ---- Groups grid ---- */
.groups-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.group-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  overflow: hidden;
  transition: all var(--transition);
}

.group-card:hover {
  box-shadow: var(--shadow-md);
}

.group-header {
  background: var(--navy);
  color: var(--gold);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: .04em;
  padding: 14px 20px;
  text-align: center;
}

.group-table-wrap {
  overflow-x: auto;
}

.group-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.group-table thead {
  background: var(--gray-50);
}

.group-table th {
  padding: 10px 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gray-400);
  text-align: center;
  border-bottom: 2px solid var(--gray-100);
  white-space: nowrap;
}

.group-table th.col-team {
  text-align: left;
  padding-left: 14px;
}

.group-table td {
  padding: 10px 6px;
  text-align: center;
  color: var(--text);
  font-size: 14px;
  border-bottom: 1px solid var(--gray-50);
  font-variant-numeric: tabular-nums;
}

.group-table td.col-team {
  text-align: left;
  font-weight: 600;
  padding-left: 14px;
  white-space: nowrap;
}

.group-table td.col-pts {
  font-weight: 800;
  color: var(--navy);
  font-size: 15px;
}

.group-table tbody tr:last-child td {
  border-bottom: none;
}

.group-table tbody tr:hover {
  background: rgba(0, 0, 0, 0.02);
}

/* Qualify highlight (1st+2nd -> play-off) */
.group-table tbody tr.qualify {
  background: rgba(255, 184, 0, 0.06);
}

.group-table tbody tr.qualify td:first-child {
  position: relative;
}

.group-table tbody tr.qualify td:first-child::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 3px;
  background: var(--gold);
  border-radius: 0 2px 2px 0;
}

/* Legend */
.groups-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  font-size: 13px;
  color: var(--gray-400);
  margin-bottom: 12px;
}

.legend-qualify i {
  color: var(--gold);
  font-size: 8px;
  margin-right: 4px;
}

.legend-placement i {
  color: var(--gray-400);
  font-size: 8px;
  margin-right: 4px;
}

.legend-sep {
  color: var(--gray-100);
}

.groups-note {
  font-size: 14px;
  color: var(--gray-400);
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 8px;
}

.groups-note i {
  color: var(--gold);
  flex-shrink: 0;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .sideevent-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .location-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .vendor-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

@media (max-width: 768px) {

  /* Mobile nav */
  .menu-toggle {
    display: flex;
  }

  .menu-primary-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy-dark);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding: 80px 24px 40px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    transition: all .4s ease;
  }

  .menu-primary-container.mobile-open {
    opacity: 1;
    visibility: visible;
  }

  .nav-menu {
    flex-direction: column;
    align-items: center;
    gap: 4px;
  }

  .nav-menu>li>a {
    font-size: 20px;
    padding: 12px 24px;
  }

  .nav-menu .sub-menu {
    position: static;
    transform: none;
    background: transparent;
    box-shadow: none;
    border: none;
    display: none;
    padding: 0;
  }

  /* Only open submenus via JS toggle, disable hover on touch */
  .nav-menu .menu-item-has-children.mobile-submenu-open>.sub-menu {
    display: block;
  }

  .nav-menu .sub-menu a {
    font-size: 16px;
    text-align: center;
  }

  /* Submenu arrow indicator */
  .nav-menu>li.menu-item-has-children>a::after {
    content: '\f078';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 10px;
    margin-left: 8px;
    transition: transform .3s ease;
    display: inline-block;
  }

  .nav-menu>li.menu-item-has-children.mobile-submenu-open>a::after {
    transform: rotate(180deg);
  }

  /* Mobile CTA & social inside overlay */
  .mobile-menu-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: var(--gold);
    color: var(--navy);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    border-radius: var(--radius);
    transition: all var(--transition);
  }

  .mobile-menu-cta:hover {
    background: var(--gold-light);
  }

  .mobile-menu-social {
    display: flex;
    gap: 12px;
  }

  .mobile-menu-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .6);
    font-size: 16px;
    transition: all var(--transition);
  }

  .mobile-menu-social a:hover {
    background: var(--gold);
    color: var(--navy);
  }

  .header-cta {
    display: none;
  }

  .header-social {
    display: none;
  }

  .menu-toggle {
    position: relative;
    z-index: 1001;
  }

  /* Hero */
  .hero {
    min-height: 90vh;
  }

  .hero-meta {
    flex-direction: column;
    gap: 12px;
  }

  .hero-content {
    padding: 100px 20px 60px;
  }

  .hero-scroll {
    display: none;
  }

  /* Countdown */
  .countdown {
    gap: 10px;
  }

  .countdown-item {
    min-width: 64px;
    padding: 12px 14px 10px;
  }

  .countdown-number {
    font-size: 32px;
  }

  /* Sections */
  .section {
    padding: 64px 0;
  }

  .day-cards {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
  }

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form .form-card {
    padding: 28px 20px;
  }

  .map-wrap iframe {
    height: 350px;
  }

  /* Rules */
  .rules-block-header {
    padding: 24px 20px;
  }

  .rules-block-body {
    padding: 8px 20px 20px;
  }

  .rules-nav {
    gap: 8px;
  }

  .rules-nav-item {
    padding: 8px 16px;
    font-size: 13px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  /* Form */
  .form-card {
    padding: 28px 20px;
  }

  /* CTA Banner */
  .cta-banner {
    padding: 56px 0;
  }

  /* Page banner */
  .page-banner {
    padding: 110px 0 48px;
  }

  /* Location collage */
  .location-collage {
    grid-template-columns: 1fr 1fr;
  }

  .collage-item--wide {
    grid-column: 1 / 3;
  }

  .location-collage::before,
  .location-collage::after {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-title {
    letter-spacing: 0;
  }

  .hero-cta {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
  }

  /* Countdown */
  .countdown {
    gap: 8px;
    flex-wrap: wrap;
  }

  .countdown-item {
    min-width: 56px;
    padding: 10px 12px 8px;
  }

  .countdown-number {
    font-size: 28px;
  }

  .countdown-label {
    font-size: 10px;
  }

  /* Pricing */
  .pricing-card-header {
    padding: 24px 20px 20px;
  }

  .pricing-amount {
    padding: 20px;
  }

  .pricing-price {
    font-size: 44px;
  }

  .pricing-features {
    padding: 20px;
  }

  .pricing-btn {
    margin: 0 20px 20px;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

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

  .stat-card {
    padding: 20px 16px;
  }

  .program-card-top {
    padding: 28px 20px 24px;
  }

  .program-card-body {
    padding: 24px 20px;
  }

  .location-collage {
    grid-template-columns: 1fr;
  }

  .collage-item--wide {
    grid-column: 1;
  }

  .collage-item--main {
    aspect-ratio: 16/10;
  }

  .collage-item--small {
    aspect-ratio: 16/10;
  }

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

  /* Contact */
  .contact-card {
    padding: 16px;
    gap: 14px;
  }

  .contact-card-icon {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }

  .contact-social {
    justify-content: center;
  }

  .map-wrap iframe {
    height: 280px;
  }

  /* Rules */
  .rules-nav-item {
    padding: 8px 12px;
    font-size: 12px;
  }

  .rule-item {
    gap: 14px;
  }

  .rule-number {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }

  .rule-number i {
    font-size: 14px;
  }

  .rules-block-header {
    gap: 14px;
  }

  .rules-block-icon {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }

  .rules-block-header h2 {
    font-size: 26px;
  }

  .partners-track {
    gap: 12px;
  }

  .partner-item {
    width: 140px;
    height: 70px;
    padding: 12px 16px;
  }

  .partner-item img {
    max-height: 36px;
  }

  .footer-bottom {
    font-size: 12px;
  }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {

  .program-card:hover,
  .stat-card:hover,
  .partner-item:hover {
    transform: none;
    box-shadow: var(--shadow-sm);
  }
}

/* --- Added Styles for Rules (Schedule & Bracket) --- */
.schedule-timeline {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.schedule-item {
    background: var(--gray-50);
    border-left: 3px solid var(--gold);
    padding: 10px 15px;
    border-radius: 0 var(--radius) var(--radius) 0;
    border-radius: 0 6px 6px 0;
    color: var(--text-light);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
}

.schedule-item strong {
    color: var(--navy);
    margin-right: 12px;
    min-width: 110px;
    font-variant-numeric: tabular-nums;
}

/* ---- Bracket / Play-off ---- */
.bracket-section {
  margin-bottom: 40px;
}

.bracket-section:last-of-type {
  margin-bottom: 0;
}

.bracket-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: .03em;
  color: var(--navy);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.bracket-title i {
  color: var(--gold);
}

.bracket-title span {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: var(--gray-400);
  letter-spacing: 0;
}

.bracket-title--secondary {
  color: var(--gray-400);
}

.bracket-title--secondary i {
  color: var(--gray-400);
}

.bracket-scroll {
  overflow-x: auto;
  padding-bottom: 8px;
}

.bracket {
  display: flex;
  align-items: stretch;
  min-width: 750px;
  gap: 0;
}

/* Round column */
.bracket-round {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 180px;
}

.bracket-round-title {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--gray-400);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gray-100);
}

.bracket-matchups {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 12px;
}

/* Single match card */
.bracket-match {
  display: flex;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all var(--transition);
}

.bracket-match:hover {
  box-shadow: var(--shadow-sm);
}

.bracket-seed {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  min-width: 40px;
  background: var(--navy);
  color: var(--gold);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: .04em;
}

.bracket-teams {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.bracket-team {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
}

.bracket-team:first-child {
  border-bottom: 1px solid var(--gray-50);
}

/* Gold highlight for finale */
.bracket-match--gold {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px var(--gold);
}

.bracket-match--gold .bracket-seed {
  background: var(--gold);
  color: var(--navy);
}

/* Bronze highlight */
.bracket-match--bronze {
  border-color: #cd7f32;
}

.bracket-match--bronze .bracket-seed {
  background: #cd7f32;
  color: var(--white);
}

/* Silver highlight for 9th place */
.bracket-match--silver {
  border-color: #a0a0a0;
}

.bracket-match--silver .bracket-seed {
  background: #a0a0a0;
  color: var(--white);
}

/* Secondary bracket muted styling */
.bracket-section--secondary .bracket-seed {
  background: var(--gray-400);
  color: var(--white);
}

.bracket-section--secondary .bracket-match--silver .bracket-seed {
  background: #a0a0a0;
}

/* Connectors between rounds */
.bracket-connector {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 32px;
  min-width: 32px;
  padding: 30px 0;
}

.connector-line {
  flex: 1;
  position: relative;
  margin: 10px 0;
}

.connector-line::before {
  content: '';
  position: absolute;
  right: 0;
  top: 25%;
  bottom: 25%;
  width: 2px;
  background: var(--gray-100);
}

.connector-line::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gray-100);
}