/* ============================================================
   main.css — yeeylo Subsoccer Tournaments
   ============================================================ */

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

:root {
  --purple:      #7C3AED;
  --purple-light:#A78BFA;
  --purple-glow: rgba(124, 58, 237, 0.5);
  --pink:        #EC4899;
  --gradient:    linear-gradient(135deg, #7C3AED, #EC4899);
  --bg:          #06000f;
  --card-bg:     rgba(255,255,255,0.04);
  --card-border: rgba(255,255,255,0.08);
  --white:       #ffffff;
  --muted:       rgba(255,255,255,0.5);
  --muted2:      rgba(255,255,255,0.35);
  --font-head:   'Space Grotesk', sans-serif;
  --font-display:'Syne', 'Space Grotesk', sans-serif;
  --font-body:   'Inter', sans-serif;
  --radius:      16px;
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ============================================================
   SCROLL SNAP
   ============================================================ */
.snap-container {
  height: 100vh;
  overflow-y: scroll;
  scroll-behavior: smooth;
}

.section {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* ============================================================
   ANIMATIONS — translateY only, never opacity:0
   ============================================================ */
@keyframes slideUp {
  from { transform: translateY(20px); }
  to   { transform: translateY(0); }
}

.anim    { animation: slideUp 0.55s var(--ease) both; }
.anim-d1 { animation-delay: 0.08s; }
.anim-d2 { animation-delay: 0.16s; }
.anim-d3 { animation-delay: 0.26s; }
.anim-d4 { animation-delay: 0.38s; }

/* ============================================================
   SHARED TYPOGRAPHY
   ============================================================ */
h1, h2, h3 { font-family: var(--font-head); font-weight: 800; line-height: 1.05; }

.label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--purple-light);
  margin-bottom: 14px;
}

.purple-text { color: var(--purple-light); }

.section-title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.section-sub {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 28px;
}

/* ============================================================
   SHARED CARD
   ============================================================ */
.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
}

/* ============================================================
   SHARED BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 34px;
  border-radius: 100px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), opacity 0.22s;
}

.btn--hero-primary {
  background: linear-gradient(135deg, #7C3AED 0%, #EC4899 100%);
  color: #ffffff;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 2px solid rgba(255, 200, 255, 0.65);
  box-shadow: 0 4px 28px rgba(124,58,237,0.6), inset 0 1px 0 rgba(255,255,255,0.2);
  animation: btnPulse 2.4s ease-in-out infinite;
}

@keyframes btnPulse {
  0%, 100% { box-shadow: 0 4px 28px rgba(124,58,237,0.6), 0 0 0 0 rgba(124,58,237,0.5); }
  50%       { box-shadow: 0 4px 36px rgba(236,72,153,0.55), 0 0 0 10px rgba(124,58,237,0); }
}

.btn--hero-primary:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: rgba(255, 220, 255, 1);
  box-shadow: 0 12px 50px rgba(124,58,237,0.8), 0 0 0 5px rgba(139,92,246,0.2);
  animation: none;
}

.btn--hero-outline {
  background: rgba(255,255,255,0.06);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
}

.btn--hero-outline:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-3px);
}

/* ============================================================
   NAV DOTS
   ============================================================ */
.nav-dots {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 200;
}

.nav-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s, box-shadow 0.3s;
}

.nav-dot.active {
  background: var(--purple-light);
  transform: scale(1.4);
  box-shadow: 0 0 10px var(--purple-glow);
}

/* ============================================================
   SECTION 1 — HERO
   ============================================================ */
.section--hero {
  background: var(--bg);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: left;
}

/* Purple venue glow at top */
.hero-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 70% at 50% -10%, rgba(109,40,217,0.75) 0%, transparent 65%),
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(124,58,237,0.12) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1100px;
  padding: 0 32px;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

/* Eyebrow */
.hero-eyebrow {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 0;
}

/* Main title */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(5rem, 13vw, 12rem);
  font-weight: 800;
  line-height: 0.88;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

/* Subtitle lines */
.hero-sub {
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 500;
  color: var(--white);
  margin-bottom: 6px;
}

.hero-desc {
  font-size: clamp(0.88rem, 1.2vw, 1rem);
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 560px;
}

/* Buttons row */
.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Stats row */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.stat {
  display: flex;
  flex-direction: column;
  padding: 0 40px 0 0;
}

.stat:first-child { padding-left: 0; }

.stat-num {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--purple-light);
  line-height: 1;
}

.stat-label {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 4px;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  margin-right: 40px;
}

/* ============================================================
   SECTION 2 — SPIELMODI
   ============================================================ */
.modes-logo {
  position: absolute;
  top: 28px;
  right: 32px;
  width: clamp(64px, 8vw, 100px);
  height: auto;
  z-index: 10;
  pointer-events: none;
  filter: drop-shadow(0 4px 24px rgba(124,58,237,0.4));
}

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

.section--modes::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 0% 50%, rgba(109,40,217,0.15) 0%, transparent 65%);
  pointer-events: none;
}

.section__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 32px;
}

.modes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.modes-video {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 9/16;
  max-height: 520px;
  box-shadow: 0 0 60px rgba(124,58,237,0.3);
  border: 1px solid rgba(124,58,237,0.25);
}

.modes-video iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

/* Accordion */
.accordion { display: flex; flex-direction: column; gap: 8px; }

.accordion-item {
  border-radius: 12px;
  border: 1px solid var(--card-border);
  overflow: hidden;
  transition: border-color 0.25s;
}

.accordion-item.open { border-color: var(--purple); }

.accordion-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 18px;
  background: var(--card-bg);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  text-align: left;
  transition: background 0.2s;
}

.accordion-btn:hover,
.accordion-item.open .accordion-btn {
  background: rgba(124,58,237,0.12);
}

.accordion-icon { font-size: 1.2rem; flex-shrink: 0; }
.accordion-title { flex: 1; }

.accordion-arrow {
  font-size: 0.72rem;
  opacity: 0.45;
  transition: transform 0.3s var(--ease);
}

.accordion-item.open .accordion-arrow { transform: rotate(180deg); }

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}

.accordion-item.open .accordion-body { max-height: 160px; }

.accordion-body-inner {
  padding: 12px 18px 16px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.65;
  border-top: 1px solid var(--card-border);
}

/* ============================================================
   SECTION 3 — BUCHUNG
   ============================================================ */
.section--booking {
  background: var(--bg);
}

/* Photo background layer — place assets/bg-tournament.jpg */
.section--booking::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../assets/ChatGPT Image 8. Feb. 2026, 21_35_06.png') center/cover no-repeat;
  opacity: 0.22;
  z-index: 0;
  pointer-events: none;
}

/* Purple gradient overlay — sits above photo, below content */
.section--booking::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 100% 50%, rgba(109,40,217,0.18) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

/* Event card */
.event-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 24px 26px;
  margin-bottom: 28px;
}

.event-name-display {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--purple-light);
  margin-bottom: 16px;
}

.event-meta { display: flex; flex-direction: column; gap: 10px; }

.event-row { display: flex; align-items: flex-start; gap: 10px; }

.event-row-icon { font-size: 1rem; width: 22px; flex-shrink: 0; margin-top: 2px; }

.event-row-text { display: flex; flex-direction: column; }

.event-row-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted2);
}

.event-row-value { font-weight: 600; font-size: 0.95rem; }


/* Countdown */
.countdown-title {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 18px;
}

.countdown-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 32px;
}

.cd-unit {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 8px;
}

.cd-num {
  font-family: var(--font-head);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--purple-light);
  line-height: 1;
}

.cd-label {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted2);
  margin-top: 5px;
}

.booking-hint {
  color: var(--muted);
  font-size: 0.82rem;
  margin-top: 12px;
  text-align: center;
}

/* ============================================================
   SECTION 4 — HIGHLIGHTS
   ============================================================ */
.section--content {
  background: var(--bg);
}

.section--content::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 100%, rgba(109,40,217,0.12) 0%, transparent 60%);
  pointer-events: none;
}

.highlights-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  width: 100%;
}

.video-wrap {
  width: 100%;
  max-width: 840px;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(124,58,237,0.25);
  box-shadow: 0 0 60px rgba(124,58,237,0.2);
}

.video-wrap iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 800px) {
  .modes-grid,
  .booking-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .modes-video {
    max-height: 260px;
    max-width: 160px;
    margin: 0 auto;
  }

  .hero-title { font-size: clamp(3rem, 14vw, 6rem); }
  .hero-stats  { gap: 0; flex-wrap: wrap; }
  .stat        { padding: 0 24px 0 0; }
  .stat-divider { margin-right: 24px; }
  .nav-dots    { right: 10px; }
}

@media (max-width: 480px) {
  .hero-inner      { padding: 0 18px; }
  .section__inner  { padding: 28px 18px; }
  .hero-btns       { flex-direction: column; }
  .btn             { justify-content: center; }
  .countdown-row   { gap: 6px; }
}

/* Legal footer */
.legal-footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 32px 40px;
  border-top: 1px solid rgba(255,255,255,0.07);
  text-align: center;
}

.legal-footer p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.7;
}

.legal-footer a {
  color: rgba(255,255,255,0.5);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.legal-footer a:hover { color: var(--purple); }
