/* === Design Tokens — Nike-inspired monochrome === */
:root {
  --color-bg: #ffffff;
  --color-surface: #f5f5f5;
  --color-surface-2: #ffffff;
  --color-primary: #111111;
  --color-primary-dim: #111111;
  --color-primary-glow: rgba(17,17,17,0.08);
  --color-accent: #111111;
  --color-accent-dim: #111111;
  --color-text: #111111;
  --color-text-secondary: #4a4a4c;
  --color-text-muted: #707072;
  --color-border: #e5e5e5;
  --color-error: #ff4444;
  --color-blue: #111111;
  --font-display: 'Urbanist', sans-serif;
  --font-body: 'Inter', 'Figtree', sans-serif;
  --font-mono: 'Roboto Mono', monospace;
  --font-ui: 'Inter', 'Figtree', sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-reveal: cubic-bezier(0.455, 0.03, 0.515, 0.955);
  --glass: rgba(255,255,255,0.85);
  --glass-border: #e5e5e5;
  --radius-card: 0px;
  --radius-feature: 0px;
  --radius-pill: 30px;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.75;
  overflow-x: hidden;
  font-weight: 400;
  font-size: 16px;
}

a { color: var(--color-text); text-decoration: none; transition: opacity 0.2s ease; }
a:hover { opacity: 0.7; }

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

strong { color: var(--color-text); font-weight: 500; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* === Grain Overlay === */
.grain {
  position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px;
}

/* === SKM Top Bar === */
.skm-topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 101;
  background: #fff;
  height: 36px;
  border-bottom: 1px solid var(--color-border);
}
.skm-topbar-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.skm-topbar-link { display: flex; align-items: center; }
.skm-topbar-logo { height: 24px; width: auto; opacity: 0.6; }
.skm-topbar-back {
  display: flex; align-items: center; gap: 0.25rem;
  font-family: var(--font-body); font-size: 12px; font-weight: 400;
  color: var(--color-text-muted); text-decoration: none;
  transition: color 0.2s;
}
.skm-topbar-back:hover { color: var(--color-text); opacity: 1; }
.skm-topbar-back svg { stroke: currentColor; }

/* === Navigation === */
.nav {
  position: fixed; top: 36px; left: 0; right: 0; z-index: 100;
  padding: 0.75rem 0;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  transition: all 0.3s ease;
}
.has-hero-bg .nav { background: transparent; border-bottom: none; }

.nav.scrolled {
  top: 36px;
  background: rgba(255,255,255,0.95) !important;
  backdrop-filter: blur(12px);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border) !important;
}

.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; gap: 0.75rem; }
.nav-logo-img { height: 40px; width: auto; }
.nav-logo-text {
  font-family: var(--font-display); font-weight: 800; font-size: 1.25rem;
  color: var(--color-text); letter-spacing: 0.05em;
}

.nav-links {
  display: flex; gap: 2.5rem; list-style: none;
}

.nav-links a {
  font-family: var(--font-body); font-weight: 500; font-size: 16px;
  color: var(--color-text); letter-spacing: normal;
  position: relative; padding: 0.25rem 0;
  transition: all 0.3s ease;
}

/* Transparent nav on hero — only when .has-hero-bg is on body */
@media (min-width: 901px) {
  .has-hero-bg .nav:not(.scrolled) .nav-links a { color: #fff; }
  .has-hero-bg .nav:not(.scrolled) .nav-logo-text { color: #fff; }
}
.has-hero-bg .nav:not(.scrolled) .nav-logo-text { color: #fff; }
.has-hero-bg .nav:not(.scrolled) { background: transparent; }
.nav:not(.scrolled) .nav-toggle span { background: #111; }

.nav-links a::after { display: none; }
.nav-links a:hover { opacity: 0.5; }

/* Nav team dropdown (click-based) */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { cursor: pointer; }
.nav-arrow { font-size: 0.65em; margin-left: 0.2em; transition: transform 0.2s; }
.nav-dropdown.open .nav-arrow { transform: rotate(180deg); }
.nav-dropdown-menu {
  display: none; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  padding-top: 0.5rem; list-style: none; z-index: 200;
}
.nav-dropdown-menu-inner {
  background: #fff; border: 1px solid #e5e5e5; border-radius: 8px;
  min-width: 120px; padding: 0.5rem 0; overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-dropdown-menu li { padding: 0; }
.nav-dropdown-menu a {
  display: block; padding: 0.5rem 1.25rem; font-size: 0.85rem !important;
  white-space: nowrap; color: #111 !important;
}
.nav-dropdown-menu a::after { display: none !important; }
.nav-dropdown-menu a:hover { background: #f5f5f5; opacity: 1; }
.nav-dropdown-menu a.active { font-weight: 600; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: none;
  cursor: pointer; padding: 8px; z-index: 201;
  position: relative;
}
.nav-toggle span {
  width: 22px; height: 2px; background: #111;
  transition: all 0.3s var(--ease-out);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* === Hero === */
.hero {
  position: relative; height: 100vh; min-height: 600px;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}

.hero-bg-img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom { from { transform: scale(1.05); } to { transform: scale(1.15); } }

.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(6,9,15,0.6) 0%, rgba(6,9,15,0.4) 40%, rgba(6,9,15,0.8) 80%, var(--color-bg) 100%),
    radial-gradient(ellipse at 20% 80%, rgba(16,185,129,0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(59,130,246,0.08) 0%, transparent 50%);
}

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

.hero-badge {
  display: inline-block; font-family: var(--font-display); font-weight: 700;
  font-size: 0.85rem; letter-spacing: 0.25em; color: var(--color-accent);
  border: 1px solid var(--color-accent); padding: 0.5rem 1.5rem;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-display); font-weight: 900;
  line-height: 0.95; letter-spacing: -0.02em;
}

.hero-title-line {
  display: block; font-size: clamp(2.5rem, 6vw, 6rem);
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.9), 0 4px 16px rgba(0,0,0,0.7), 0 8px 32px rgba(0,0,0,0.5);
}

.hero-sub {
  margin-top: 1.5rem; font-size: 1.1rem; color: var(--color-text-secondary);
  letter-spacing: 0.15em; font-weight: 300; text-transform: uppercase;
  text-shadow: 0 1px 6px rgba(0,0,0,0.7), 0 2px 16px rgba(0,0,0,0.4);
}

.hero-scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 2;
}

.scroll-line {
  width: 1px; height: 60px; background: linear-gradient(to bottom, var(--color-primary), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse { 0%, 100% { opacity: 1; transform: scaleY(1); } 50% { opacity: 0.3; transform: scaleY(0.6); } }

/* === Announcement Marquee === */
.announcement {
  background: linear-gradient(90deg, var(--color-primary-dim), var(--color-primary), var(--color-accent), var(--color-primary));
  background-size: 200% 100%;
  animation: marqueeGradient 8s linear infinite;
  padding: 0.75rem 0; overflow: hidden; position: relative;
}
@keyframes marqueeGradient { 0% { background-position: 0% 0; } 100% { background-position: 200% 0; } }

.marquee { overflow: hidden; white-space: nowrap; }

.marquee-inner {
  display: inline-flex; gap: 2rem; align-items: center;
  animation: marquee 25s linear infinite;
  font-family: var(--font-display); font-weight: 800; font-size: 0.9rem;
  color: var(--color-bg); text-transform: uppercase; letter-spacing: 0.1em;
}

.marquee-dot {
  width: 6px; height: 6px; background: var(--color-bg); border-radius: 50;
  display: inline-block; flex-shrink: 0; border-radius: 50%;
}

@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* === Section Base === */
.section { padding: 7rem 0; position: relative; }

.section-label {
  display: inline-block;
  font-family: var(--font-body); font-weight: 500;
  font-size: 16px; color: var(--color-text); text-transform: none;
  letter-spacing: normal; margin-bottom: 0.5rem;
}

.section-label::before { display: none; }

.section-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 24px); line-height: 1.2;
  margin-bottom: 2rem; letter-spacing: normal; color: var(--color-text);
}

/* === Training === */
.training { background: var(--color-surface); position: relative; }

.training::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 120px;
  background: linear-gradient(to bottom, var(--color-bg), transparent);
}

.training-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}

.training-text p { color: var(--color-text-secondary); margin-bottom: 1rem; font-size: 1.05rem; }

.training-cards { display: flex; gap: 1rem; margin: 2rem 0; }

.training-card {
  background: var(--color-surface-2); border: 1px solid var(--color-border);
  padding: 1.25rem 1.5rem; flex: 1; position: relative; overflow: hidden;
}

.training-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-blue), var(--color-accent));
}

.training-card-day {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: 1.1rem; color: var(--color-text); margin-bottom: 0.25rem;
}

.training-card-time {
  font-size: 0.9rem; color: var(--color-text-secondary);
}

.training-note { font-size: 0.9rem; color: var(--color-text-muted); font-style: italic; }

.training-image-wrapper {
  position: relative; overflow: hidden; aspect-ratio: 4/5;
}

.training-image-wrapper img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.training-image-wrapper:hover img { transform: scale(1.05); }

.training-image-wrapper::after {
  content: ''; position: absolute; inset: 0;
  border: 1px solid rgba(17,17,17,0.08);
}

/* === Infos === */
.infos-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
  margin-bottom: 3rem;
}

.info-card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  padding: 2rem; position: relative; transition: all 0.4s var(--ease-out);
}

.info-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(17,17,17,0.04);
}

.info-card-icon { font-size: 2rem; margin-bottom: 1rem; }

.info-card h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.info-card p { color: var(--color-text-secondary); font-size: 0.95rem; line-height: 1.7; }

.info-notice {
  background: var(--color-surface); border-left: 3px solid var(--color-accent);
  padding: 1.5rem 2rem; display: flex; align-items: center; justify-content: space-between;
  gap: 2rem; flex-wrap: wrap;
}

.info-notice p { color: var(--color-text-secondary); flex: 1; }

/* === Buttons === */
.btn {
  display: inline-block; font-family: var(--font-display); font-weight: 700;
  font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.12em;
  padding: 0.875rem 2rem; cursor: pointer; transition: all 0.3s var(--ease-out);
  border: none;
}

.btn-primary {
  background: var(--color-primary); color: var(--color-bg);
}
.btn-primary:hover {
  background: var(--color-accent); color: var(--color-bg);
  transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0, 230, 118, 0.2);
}

.btn-outline {
  background: transparent; color: var(--color-accent);
  border: 1px solid var(--color-accent); white-space: nowrap;
}
.btn-outline:hover {
  background: var(--color-accent); color: var(--color-bg);
}

/* === Coaches === */
.coaches { background: var(--color-surface); }

.coaches-intro {
  max-width: 700px; color: var(--color-text-secondary);
  font-size: 1.05rem; line-height: 1.8; margin-bottom: 3rem;
}

.coaches-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; max-width: 700px; }

.coach-card { text-align: center; }

.coach-image {
  position: relative; overflow: hidden; margin-bottom: 1.5rem;
  background: var(--color-surface-2); aspect-ratio: 3/4;
}

.coach-image img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  transition: transform 0.6s var(--ease-out);
}

.coach-card:hover .coach-image img { transform: scale(1.05); }

.coach-image::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 40%;
  background: linear-gradient(to top, var(--color-surface), transparent);
}

.coach-name {
  font-family: var(--font-display); font-weight: 700; font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.coach-role {
  font-size: 0.85rem; color: var(--color-primary); text-transform: uppercase;
  letter-spacing: 0.15em; font-weight: 600;
}

/* === Tournaments === */
.tournaments-intro {
  max-width: 700px; color: var(--color-text-secondary);
  font-size: 1.05rem; line-height: 1.8; margin-bottom: 3rem;
}

.tournaments-list { display: flex; flex-direction: column; gap: 1rem; }

.tournament-season {
  border: 1px solid var(--color-border); overflow: hidden;
  transition: border-color 0.3s;
}

.tournament-season.open { border-color: var(--color-primary); }

.tournament-season-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.75rem; cursor: pointer; background: var(--color-surface);
  transition: background 0.3s;
  user-select: none;
}

.tournament-season-header:hover { background: var(--color-surface-2); }

.tournament-season-header h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
}

.tournament-chevron {
  width: 20px; height: 20px; transition: transform 0.4s var(--ease-out);
  color: var(--color-primary);
}

.tournament-season.open .tournament-chevron { transform: rotate(180deg); }

.tournament-body {
  max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease-out);
}

.tournament-body-inner { padding: 0 1.75rem 1.5rem; }

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

.tournament-table th {
  font-family: var(--font-display); font-weight: 600; font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-text-muted);
  padding: 0.75rem 1rem; text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.tournament-table td {
  padding: 0.85rem 1rem; font-size: 0.95rem; color: var(--color-text-secondary);
  border-bottom: 1px solid var(--color-border);
}

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

.tournament-table td:first-child {
  color: var(--color-text); font-weight: 600;
}

/* === Contact === */
.contact { background: var(--color-surface); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }

.contact-details { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.5rem; }

.contact-detail-label {
  display: block; font-family: var(--font-display); font-weight: 600;
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--color-text-muted); margin-bottom: 0.25rem;
}

.contact-detail a, .contact-detail span {
  color: var(--color-text-secondary); font-size: 1rem;
}

.contact-form { display: flex; flex-direction: column; gap: 1rem; }

.form-group input,
.form-group textarea {
  width: 100%; padding: 1rem 1.25rem;
  background: var(--color-bg); border: 1px solid var(--color-border);
  color: var(--color-text); font-family: var(--font-body); font-size: 1rem;
  transition: border-color 0.3s;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px var(--color-primary-glow);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--color-text-muted); }

/* === Footer === */
.footer {
  padding: 2rem 0; border-top: 1px solid var(--color-border);
}

.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}

.footer-left { display: flex; align-items: center; gap: 1rem; }
.footer-logo { height: 28px; opacity: 0.6; }
.footer-left span { font-size: 0.85rem; color: var(--color-text-muted); }

.footer-admin-link {
  font-size: 0.8rem; color: var(--color-text-muted); opacity: 0.4;
  transition: opacity 0.3s;
}
.footer-right { display: flex; gap: 1.5rem; align-items: center; }
.footer-admin-link:hover { opacity: 1; color: var(--color-text-secondary); }

/* === Impressum Page === */
.impressum-section {
  padding: 8rem 0 4rem;
}
.impressum-container {
  max-width: 720px;
}
.impressum-title {
  font-family: var(--font-heading);
  font-weight: 800; font-size: 2.5rem;
  color: var(--color-text-primary);
  margin-bottom: 2.5rem;
}
.impressum-block {
  margin-bottom: 2.5rem;
}
.impressum-block h2 {
  font-family: var(--font-heading);
  font-weight: 700; font-size: 1.3rem;
  color: var(--color-text-primary);
  margin-bottom: 1rem;
}
.impressum-block p {
  font-family: var(--font-body);
  font-size: 0.95rem; line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
}
.impressum-block a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 0.3s;
}
.impressum-block a:hover {
  color: var(--color-text-secondary);
}
.impressum-block strong {
  color: var(--color-text-primary);
  font-weight: 600;
}
.impressum-block ul {
  list-style: none; padding-left: 1.25rem; margin-bottom: 0.75rem;
}
.impressum-block ul li {
  font-family: var(--font-body);
  font-size: 0.95rem; line-height: 1.8;
  color: var(--color-text-muted);
  position: relative; padding-left: 0.75rem;
}
.impressum-block ul li::before {
  content: '\2022'; color: var(--color-accent);
  position: absolute; left: -0.5rem;
}

/* === Live Ticker Page === */
.live-section { padding: 8rem 0 2rem; }
.live-container { max-width: 720px; }
.live-header { text-align: center; margin-bottom: 2.5rem; }
.live-badge {
  display: inline-block; font-family: var(--font-heading);
  font-weight: 800; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em;
  background: #e53935; color: #fff; padding: 0.3rem 0.8rem; border-radius: 4px;
  animation: live-pulse 2s ease-in-out infinite; margin-bottom: 0.75rem;
}
@keyframes live-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }
.live-title {
  font-family: var(--font-heading); font-weight: 800; font-size: 2.5rem;
  color: var(--color-text-primary); margin-bottom: 0.5rem;
}
.live-subtitle { font-family: var(--font-body); font-size: 1rem; color: var(--color-text-muted); }
.live-source {
  text-align: center; font-family: var(--font-body);
  font-size: 0.8rem; color: var(--color-text-muted); margin-top: 1.5rem;
}
.live-source a { color: var(--color-accent); text-decoration: none; }
.live-source a:hover { color: var(--color-text-secondary); }

/* Match Cards */
.match-cards { display: flex; flex-direction: column; gap: 1.5rem; }
.match-loading, .match-empty {
  text-align: center; padding: 3rem; color: var(--color-text-muted);
  font-family: var(--font-body); font-size: 1rem;
}
.match-card {
  background: #f5f5f5; border: 1px solid var(--color-border);
  border-radius: 8px; overflow: hidden;
}
.match-card.match-live { border-color: #e53935; }
.match-card-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.75rem 1.25rem; border-bottom: 1px solid var(--color-border);
}
.match-meta {
  font-family: var(--font-body); font-size: 0.75rem;
  color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.05em;
}
.match-status {
  font-family: var(--font-heading); font-weight: 700; font-size: 0.7rem;
  text-transform: uppercase; letter-spacing: 0.1em; padding: 0.2rem 0.6rem; border-radius: 3px;
}
.match-status-match-live { background: #e53935; color: #fff; animation: live-pulse 2s ease-in-out infinite; }
.match-status-match-finished { background: rgba(17,17,17,0.08); color: #111111; }
.match-status-match-upcoming { background: rgba(255,215,64,0.15); color: #FFD740; }

.match-card-score {
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem 1.25rem; gap: 1.5rem;
}
.match-team {
  font-family: var(--font-heading); font-weight: 700; font-size: 1.1rem;
  color: var(--color-text-muted); flex: 1; text-align: center;
}
.match-team:first-child { text-align: right; }
.match-team:last-child { text-align: left; }
.match-team-skm { color: var(--color-accent); }
.match-score-display {
  display: flex; align-items: center; gap: 0.4rem; flex-shrink: 0;
}
.match-score-num {
  font-family: var(--font-heading); font-weight: 900; font-size: 2.5rem;
  color: var(--color-text-primary); min-width: 2rem; text-align: center;
}
.match-score-sep {
  font-family: var(--font-heading); font-weight: 700; font-size: 1.5rem;
  color: var(--color-text-muted);
}
.match-score-vs {
  font-family: var(--font-heading); font-weight: 700; font-size: 1rem;
  color: var(--color-text-muted); text-transform: uppercase;
}
.match-card-date {
  text-align: center; font-family: var(--font-body);
  font-size: 0.8rem; color: var(--color-text-muted);
  padding: 0 1.25rem 1rem;
}

/* Match Events */
.match-events {
  border-top: 1px solid var(--color-border);
  padding: 1rem 1.25rem; max-height: 300px; overflow-y: auto;
}
.match-event {
  display: flex; align-items: flex-start; gap: 0.5rem;
  padding: 0.4rem 0; font-family: var(--font-body); font-size: 0.85rem;
}
.match-event-min {
  font-family: var(--font-heading); font-weight: 700; font-size: 0.8rem;
  color: var(--color-accent); min-width: 2.5rem; flex-shrink: 0;
}
.match-event-icon { font-size: 0.9rem; flex-shrink: 0; }
.match-event-text { color: var(--color-text-muted); line-height: 1.4; }

.match-card-link {
  display: block; text-align: center; padding: 0.75rem;
  font-family: var(--font-heading); font-weight: 600; font-size: 0.8rem;
  color: var(--color-accent); text-decoration: none;
  border-top: 1px solid var(--color-border);
  transition: background 0.3s;
}
.match-card-link:hover { background: rgba(17,17,17,0.03); }

@media (max-width: 600px) {
  .match-card-score { flex-direction: column; gap: 0.75rem; padding: 1rem; }
  .match-team { text-align: center !important; font-size: 0.95rem; }
  .match-score-num { font-size: 2rem; }
}

/* === Cookie Banner === */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(6, 9, 15, 0.95);
  border-top: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  transform: translateY(100%);
  transition: transform 0.4s var(--ease-out);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner-inner {
  max-width: 900px; margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex; align-items: center; gap: 1.5rem;
  flex-wrap: wrap;
}
.cookie-banner-text {
  flex: 1; min-width: 240px;
}
.cookie-banner-text strong {
  font-family: var(--font-heading);
  font-weight: 700; font-size: 0.9rem;
  color: var(--color-text-primary);
  display: block; margin-bottom: 0.25rem;
}
.cookie-banner-text p {
  font-family: var(--font-body);
  font-size: 0.8rem; line-height: 1.5;
  color: var(--color-text-muted);
  margin: 0;
}
.cookie-banner-actions {
  display: flex; gap: 0.5rem; flex-shrink: 0;
}
.cookie-btn {
  padding: 0.5rem 1.25rem !important;
  font-size: 0.7rem !important;
}

/* === Reveal Animations === */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}

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

.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }

@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* === Responsive === */
@media (max-width: 900px) {
  .training-grid { grid-template-columns: 1fr; gap: 2rem; }
  .training-image { order: -1; }
  .infos-grid { grid-template-columns: 1fr; }
  .coaches-grid { max-width: 100%; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }

  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background: #fff;
    flex-direction: column; align-items: center; justify-content: center;
    gap: 2rem; transform: translateX(100%); transition: transform 0.4s var(--ease-out);
    z-index: 200; overflow-y: auto; padding: 4rem 1rem;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.25rem; color: #111 !important; }
  .nav-toggle span { background: #111 !important; }

  .nav-dropdown-menu {
    position: static; transform: none; display: none;
    padding-top: 0; margin-top: 0.5rem; min-width: auto;
  }
  .nav-dropdown-menu-inner {
    background: transparent; border: none; backdrop-filter: none;
    padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.25rem;
  }
  .nav-dropdown.open .nav-dropdown-menu { display: block; }
  .nav-dropdown-menu a { font-size: 1rem !important; padding: 0.4rem 0.75rem; }

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

  .tournament-table { font-size: 0.85rem; }
  .tournament-table th, .tournament-table td { padding: 0.6rem 0.5rem; }
}

@media (max-width: 600px) {
  .hero-badge { font-size: 0.7rem; padding: 0.4rem 1rem; }
  .training-cards { flex-direction: column; }
  .coaches-grid { grid-template-columns: 1fr; max-width: 300px; margin: 0 auto; }
  .section { padding: 5rem 0; }

  .tournament-table thead { display: none; }
  .tournament-table tr {
    display: flex; flex-direction: column; padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
  }
  .tournament-table td {
    border: none; padding: 0.2rem 0;
  }
  .tournament-table td::before {
    content: attr(data-label); display: block;
    font-family: var(--font-display); font-weight: 600; font-size: 0.7rem;
    text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-text-muted);
  }

  .squad-grid { grid-template-columns: 1fr; }
  .squad-card { padding: 1.5rem 1.25rem; }
}

/* === Sub Page Hero === */
.sub-hero {
  position: relative; padding: 7rem 0 2.5rem; overflow: hidden;
  background: #fff; border-bottom: 1px solid var(--color-border);
}
.sub-hero-bg { display: none; }
.sub-hero .container { position: relative; z-index: 1; }
.sub-hero-label {
  display: inline-block;
  font-family: var(--font-body); font-weight: 400;
  font-size: 12px; letter-spacing: normal; color: var(--color-text-muted);
  text-transform: none; margin-bottom: 0.75rem;
}
.sub-hero-label::before { display: none; }
.sub-hero-title {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 76px); line-height: 1;
  letter-spacing: -0.02em; color: var(--color-text); margin-bottom: 1rem;
}
.sub-hero-sub {
  color: var(--color-text-secondary); font-size: 16px; font-weight: 400;
  line-height: 1.75; max-width: 500px;
}

/* === Next Match Highlight === */
.next-match-wrapper { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

.next-match {
  display: flex; align-items: center; gap: 2rem;
  background: linear-gradient(135deg, var(--color-surface) 0%, rgba(0,230,118,0.04) 100%);
  border: 1px solid rgba(17,17,17,0.08);
  padding: 2rem 2.5rem; margin-top: -3rem; position: relative; z-index: 3;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
  animation: nextMatchPulse 3s ease-in-out infinite;
}
@keyframes nextMatchPulse {
  0%, 100% { box-shadow: 0 8px 40px rgba(0,0,0,0.3); }
  50% { box-shadow: 0 8px 40px rgba(17,17,17,0.06); }
}

.next-match-label {
  font-family: var(--font-display); font-weight: 800; font-size: 0.65rem;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--color-bg); background: var(--color-primary);
  padding: 0.3rem 0.8rem; position: absolute; top: 0; left: 2rem;
  transform: translateY(-50%);
}

.next-match-date {
  display: flex; flex-direction: column; align-items: center; min-width: 60px;
  border-right: 2px solid rgba(0,230,118,0.2); padding-right: 1.5rem;
}
.next-match-day {
  font-family: var(--font-display); font-weight: 900; font-size: 2.5rem;
  color: var(--color-text); line-height: 1;
}
.next-match-month {
  font-family: var(--font-display); font-weight: 700; font-size: 0.75rem;
  color: var(--color-primary); text-transform: uppercase; letter-spacing: 0.1em;
}
.next-match-weekday {
  font-size: 0.65rem; color: var(--color-text-muted); text-transform: uppercase;
  margin-top: 0.1rem;
}

.next-match-info { flex: 1; }
.next-match-squad {
  font-family: var(--font-display); font-weight: 700; font-size: 0.7rem;
  color: var(--color-accent); text-transform: uppercase; letter-spacing: 0.1em;
}
.next-match-teams {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem); color: var(--color-text);
  margin: 0.25rem 0;
}
.next-match-vs { color: var(--color-text-muted); font-weight: 400; font-size: 0.8em; }
.next-match-meta {
  display: flex; gap: 0.75rem; align-items: center; margin-top: 0.35rem;
  font-size: 0.8rem; color: var(--color-text-muted);
}

.next-match-cta {
  display: inline-block; font-family: var(--font-display); font-weight: 700;
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em;
  padding: 0.75rem 1.5rem; color: var(--color-bg); background: var(--color-primary);
  text-decoration: none; transition: all 0.3s var(--ease-out); flex-shrink: 0;
}
.next-match-cta:hover {
  background: var(--color-accent); transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,230,118,0.2);
}

@media (max-width: 600px) {
  .next-match { flex-direction: column; gap: 1rem; padding: 1.75rem 1.25rem; align-items: flex-start; }
  .next-match-date { flex-direction: row; gap: 0.5rem; border-right: none; border-bottom: 1px solid rgba(0,230,118,0.2); padding: 0 0 0.75rem; width: 100%; }
  .next-match-day { font-size: 2rem; }
}

/* === Calendar === */
.upcoming-section { background: var(--color-surface); }

.cal-wrapper { max-width: 720px; }

.upcoming-loading, .upcoming-empty {
  color: var(--color-text-muted); text-align: center; padding: 2rem;
  font-size: 0.95rem;
}

.cal-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.5rem;
}

.cal-month {
  font-family: var(--font-display); font-weight: 800; font-size: 1.35rem;
  color: var(--color-text); letter-spacing: 0.02em;
}

.cal-nav {
  background: var(--color-surface); border: 1px solid var(--color-border);
  color: var(--color-text); cursor: pointer; padding: 0.5rem;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.2s var(--ease-out); border-radius: 30px;
}
.cal-nav:hover { border-color: var(--color-text); background: var(--color-surface); }
.cal-nav.disabled { opacity: 0.25; pointer-events: none; }

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

.cal-weekday {
  font-family: var(--font-display); font-weight: 700; font-size: 0.7rem;
  color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.1em;
  text-align: center; padding: 0.5rem 0;
}

.cal-day {
  aspect-ratio: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 3px;
  background: var(--color-bg); border: 1px solid transparent;
  position: relative; transition: all 0.2s var(--ease-out);
}

.cal-day.empty { background: transparent; }

.cal-day-num {
  font-family: var(--font-display); font-weight: 600; font-size: 0.95rem;
  color: var(--color-text-muted);
}

.cal-day.today .cal-day-num {
  color: #fff; background: #111;
  width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; font-weight: 800;
}

.cal-day.has-events { cursor: pointer; background: #f5f5f5; }
.cal-day.has-events .cal-day-num { color: #111; }
.cal-day.has-events:hover { border-color: #111; }
.cal-day.has-events.active {
  border-color: #111;
  box-shadow: 0 0 0 1px #111;
}

.cal-dots {
  display: flex; gap: 3px; position: absolute; bottom: 4px;
}

.cal-dot {
  width: 5px; height: 5px; border-radius: 50%;
}
.cal-dot-home { background: #111; }
.cal-dot-away { background: #9e9ea0; }

.cal-legend {
  display: flex; gap: 1.25rem; justify-content: flex-end;
  font-size: 0.7rem; color: var(--color-text-muted); margin-bottom: 0.5rem;
}
.cal-legend-item { display: flex; align-items: center; gap: 0.35rem; }

/* Event detail panel below calendar */
.cal-detail {
  display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1.25rem;
}

.cal-event {
  display: flex; flex-direction: column; gap: 0.15rem;
  background: #f5f5f5; border: 1px solid var(--color-border);
  border-left: 3px solid #111; padding: 1rem 1.25rem;
  text-decoration: none; color: inherit; transition: all 0.3s var(--ease-out);
}
.cal-event:hover {
  border-color: #111;
  transform: translateX(4px);
}

.cal-event-squad {
  font-family: var(--font-body); font-weight: 500; font-size: 12px;
  color: var(--color-text-secondary); text-transform: uppercase; letter-spacing: 0.05em;
}

.cal-event-title {
  font-family: var(--font-display); font-weight: 700; font-size: 1.05rem;
  color: var(--color-text);
}

.cal-event-meta {
  display: flex; align-items: center; gap: 0.75rem; margin-top: 0.2rem;
  flex-wrap: wrap; font-size: 0.8rem; color: var(--color-text-muted);
}

.cal-event-participants {
  font-size: 0.8rem; color: var(--color-text-muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 400px;
}

@media (max-width: 600px) {
  .cal-day-num { font-size: 0.8rem; }
  .cal-day.today .cal-day-num { width: 24px; height: 24px; font-size: 0.75rem; }
  .cal-dots { bottom: 2px; }
  .cal-dot { width: 4px; height: 4px; }
  .cal-event { padding: 0.85rem 1rem; }
  .cal-event-title { font-size: 0.95rem; }
  .cal-event-participants { max-width: 200px; }
}

/* === Squad Selection Grid === */
.squad-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
}

.squad-card {
  display: flex;
  flex-direction: column;
  background: var(--glass);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  padding: 2rem 1.75rem;
  position: relative;
  transition: all 0.4s var(--ease-out);
  text-decoration: none;
  overflow: hidden;
}

.squad-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-blue), var(--color-accent));
  transform: scaleX(0);
  transition: transform 0.4s var(--ease-out);
  transform-origin: left;
}

.squad-card:hover {
  border-color: rgba(255,255,255,0.12);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(16,185,129,0.06);
}

.squad-card:hover::before { transform: scaleX(1); }

.squad-card-badge {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2rem;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.squad-card-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--color-text-secondary);
  margin-bottom: 0.25rem;
}

.squad-card-meta {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.squad-card-arrow {
  width: 20px; height: 20px;
  color: var(--color-primary);
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.3s var(--ease-out);
  margin-top: auto;
}

.squad-card:hover .squad-card-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* === Match Badges === */
.match-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.6rem;
}

.match-badge-home {
  background: rgba(17,17,17,0.08);
  color: var(--color-primary);
  border: 1px solid rgba(0, 230, 118, 0.3);
}

.match-badge-away {
  background: rgba(255, 215, 64, 0.15);
  color: var(--color-accent);
  border: 1px solid rgba(255, 215, 64, 0.3);
}

/* === Responsive — Squad Grid === */
@media (max-width: 900px) {
  .squad-grid { grid-template-columns: repeat(2, 1fr); }
}
