/* ===== HASANDAĞI ULTRA TRAIL - V6 (Cinematic Animations & Editorial) ===== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700;900&family=Inter:wght@300;400;500;600&display=swap');

:root {
  /* Premium Vibrant Palette */
  --bg-body: #0a0a0c;
  --bg-card: rgba(255, 255, 255, 0.03);
  --text-dark: #ffffff;
  --text-light: #a0a0a5;
  --border-color: rgba(255, 255, 255, 0.08);
  
  --primary: #152E22;
  --accent: #ff4a36;
  
  --race-45k: #ff4a36;
  --race-27k: #00d2ff;
  --race-16k: #3aed82;
  --race-5k: #ffb800;
  
  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --glass-bg: rgba(20, 20, 22, 0.6);
  --glass-border: rgba(255, 255, 255, 0.05);
}

/* ===== CINEMATIC KEYFRAMES ===== */

/* Hero text clip-path reveal from below */
@keyframes heroRevealUp {
  from {
    clip-path: inset(100% 0 0 0);
    opacity: 0;
  }
  to {
    clip-path: inset(0 0 0 0);
    opacity: 1;
  }
}

/* Hero background slow zoom out */
@keyframes heroZoomOut {
  from { transform: scale(1.15); }
  to   { transform: scale(1); }
}

/* Staggered slide down for header items */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Button shine sweep */
@keyframes shineEffect {
  0%   { left: -60%; }
  35%  { left: 100%; }
  100% { left: 100%; }
}

/* Floating badge pulse */
@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* Panel content slide up on load */
@keyframes panelContentUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Countdown number tick animation */
@keyframes countPulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.05); }
}

/* Parallax-like slow drift for watermark */
@keyframes watermarkDrift {
  0%   { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(1deg); }
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.site-shell {
  min-height: 100vh;
}

body.splash-lock {
  overflow-x: hidden;
}

.container {
  max-width: 1300px; /* Slightly tighter for editorial readibility */
  margin: 0 auto;
  padding: 0 40px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  letter-spacing: -0.5px;
}

/* --- Background Watermark --- */
.watermark {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-heading);
  font-size: 20vw;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.02);
  white-space: nowrap;
  pointer-events: none;
  z-index: -1;
  animation: watermarkDrift 20s ease-in-out infinite alternate;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: transform 0.4s var(--ease-out-expo),
              background 0.3s ease,
              border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

/* Top Bar Styling */
.top-bar {
  background: rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.3s ease, padding 0.3s ease, height 0.3s ease, opacity 0.3s ease;
}

.header.scrolled .top-bar {
  background: var(--text-dark);
  border-bottom: none;
}

.top-bar-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  height: 36px;
  gap: 24px;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.lang-switch, .social-links {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.lang-switch a.active, .social-links a:hover, .lang-switch a:hover {
  color: #fff;
}

.lang-switch .sep {
  opacity: 0.3;
}

.social-links a {
  transition: color 0.3s ease;
}

.header.scrolled .top-bar-inner a {
  color: rgba(255, 255, 255, 0.7);
}
.header.scrolled .top-bar-inner a:hover, .header.scrolled .top-bar-inner a.active {
  color: #fff;
}

/* Smart Header: hide on scroll down */
.header.header-hidden {
  transform: translateY(-100%);
}

.header.scrolled {
  background: rgba(10, 10, 14, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

/* We don't shrink padding heavily on scroll, but adjust main header */
.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 40px;
  transition: padding 0.3s ease;
}

.header.scrolled .header-main {
  padding: 16px 40px;
}

/* Staggered header item entrance */
.header .logo {
  opacity: 0;
  animation: slideDown 0.6s var(--ease-out-expo) 0.2s forwards;
}

.header .nav-link {
  opacity: 0;
  animation: slideDown 0.5s var(--ease-out-expo) 0.4s forwards;
}

.header .btn-primary {
  opacity: 0;
  animation: slideDown 0.5s var(--ease-out-expo) 0.65s forwards;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.08rem;
  color: var(--text-dark);
  letter-spacing: 0;
  text-transform: uppercase;
  min-width: 0;
}

.brand-logo {
  display: block;
  width: auto;
  height: 80px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 2px 16px rgba(0,0,0,0.6));
}

.brand-logo-full {
  width: min(280px, 64vw);
  height: auto;
  object-fit: contain;
}

.footer-col .brand-logo-full {
  width: auto;
  max-height: 160px;
}

.brand-name {
  display: grid;
  line-height: 1;
  min-width: 0;
}

.brand-name strong,
.brand-name span {
  display: block;
  letter-spacing: 0;
}

.brand-name strong {
  font-size: 0.96rem;
}

.brand-name span {
  margin-top: 4px;
  font-size: 0.64rem;
  font-weight: 700;
  opacity: 0.82;
}

.header.transparent-mode .brand-logo {
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.48));
}

.header.scrolled .brand-logo {
  filter: drop-shadow(0 8px 16px rgba(21, 46, 34, 0.16));
}

.header.transparent-mode .logo,
.header.transparent-mode .nav-link {
  color: #fff;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.header.scrolled .logo,
.header.scrolled .nav-link {
  color: #fff;
  text-shadow: none;
}

.mobile-menu-btn {
  display: none;
  cursor: pointer;
  color: var(--text-dark);
  transition: transform 0.3s ease;
  z-index: 1002;
  position: relative;
}

.header.transparent-mode .mobile-menu-btn {
  color: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2vw, 32px);
  flex: 1;
  padding: 0 2vw;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: color 0.3s ease;
  position: relative;
  text-align: center;
  white-space: nowrap;
}

.nav-mega-trigger {
  border: 0;
  background: transparent;
  cursor: pointer;
  color: inherit;
}

/* Animated underline on hover */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.4s var(--ease-out-expo);
}

.nav-link:hover::after,
.nav-link.active::after,
.nav-mega.open .nav-mega-trigger::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active,
.nav-mega.open .nav-mega-trigger {
  color: var(--accent) !important;
}

.nav-link:focus {
  outline: none;
}

.nav-link:focus-visible {
  outline: 1px solid rgba(255,255,255,0.72);
  outline-offset: 8px;
}

.header.scrolled .nav-link:focus-visible {
  outline-color: var(--accent);
}

.nav-item {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}

.nav-mega-panel {
  position: absolute;
  top: calc(100% + 28px);
  left: 50%;
  z-index: 300;
  width: min(760px, calc(100vw - 80px));
  display: grid;
  grid-template-columns: 0.82fr 1.45fr;
  gap: 24px;
  padding: 24px;
  background: rgba(17, 17, 17, 0.985);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow: 0 28px 80px rgba(0,0,0,0.32);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.nav-mega:hover .nav-mega-panel,
.nav-mega:focus-within .nav-mega-panel,
.nav-mega.open .nav-mega-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.mega-copy {
  border-right: 1px solid rgba(255,255,255,0.12);
  padding-right: 22px;
}

.mega-copy span,
.mega-race span {
  display: block;
  font-family: var(--font-heading);
  text-transform: uppercase;
}

.mega-copy span {
  color: var(--accent);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.mega-copy strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  line-height: 1.25;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.mega-copy p,
.mega-race p {
  color: rgba(255,255,255,0.68);
  font-size: 0.78rem;
  line-height: 1.55;
}

.mega-copy a {
  display: inline-block;
  margin-top: 18px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.42);
  padding-bottom: 5px;
}

.mega-race-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mega-race {
  min-height: 132px;
  padding: 16px;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.mega-race:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

.mega-race span {
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 8px;
}

.mega-race strong {
  display: block;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.76rem;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  margin-bottom: 7px;
}

/* Premium Vibrant Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #ff6b52 100%);
  color: #fff !important;
  padding: 12px 32px;
  border-radius: 8px; /* Rounded */
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 74, 54, 0.4);
  position: relative;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
}

.btn-primary::before {
  content: none;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 74, 54, 0.6);
}

.btn-outline {
  display: inline-block;
  padding: 14px 36px;
  border: 1px solid var(--border-color);
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  color: var(--text-dark);
  border-radius: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* --- Fullscreen Race Hero Slider --- */
.split-hero {
  height: 100vh;
  overflow: hidden;
  position: relative;
  background: #111;
  isolation: isolate;
}

.hero-overlay-text {
  position: absolute;
  top: 18%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 12;
  text-align: center;
  pointer-events: none;
  width: min(90vw, 1050px);
}

.hero-overlay-text h1 {
  font-size: clamp(3.1rem, 7.8vw, 7.3rem);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0;
  text-shadow: 0 4px 20px rgba(0,0,0,0.8);
  line-height: 0.9;
  font-weight: 900;
  /* Cinematic clip-path reveal from bottom */
  opacity: 0;
  animation: heroRevealUp 1.2s var(--ease-out-expo) 0.6s forwards;
}

.hero-event-meta {
  display: inline-flex;
  margin-top: 22px;
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,0.34);
  background: rgba(0,0,0,0.28);
  color: rgba(255,255,255,0.9);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
  opacity: 0;
  animation: heroRevealUp 0.8s var(--ease-out-expo) 1.15s forwards;
}

.hero-overlay-text .date {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-top: 15px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
  /* Delayed reveal after the title */
  opacity: 0;
  animation: heroRevealUp 0.8s var(--ease-out-expo) 1.4s forwards;
}

.hero-slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s var(--ease-out-expo), visibility 1s var(--ease-out-expo);
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  transition: transform 6s linear;
  will-change: transform;
}

.hero-slide.active .hero-slide-bg {
  transform: scale(1);
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.74) 0%, rgba(0,0,0,0.38) 42%, rgba(0,0,0,0.16) 100%),
    linear-gradient(to top, rgba(0,0,0,0.86) 0%, rgba(0,0,0,0.16) 54%, rgba(0,0,0,0.5) 100%);
}

.hero-slide-content {
  position: absolute;
  left: clamp(30px, 6vw, 92px);
  bottom: clamp(112px, 15vh, 168px);
  z-index: 9;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.75s var(--ease-out-expo), transform 0.75s var(--ease-out-expo);
}

.hero-slide.active .hero-slide-content {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.25s;
}

.hero-slide-kicker {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 1.25vw, 1.35rem);
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-shadow: 0 2px 14px rgba(0,0,0,0.6);
}

.hero-slide-badge {
  font-family: var(--font-heading);
  font-size: clamp(5rem, 11vw, 11rem);
  font-weight: 900;
  line-height: 0.9;
  margin: 12px 0 22px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-slide-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.race-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.hero-slider-nav {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(4, minmax(104px, 1fr));
  gap: 1px;
  width: min(720px, calc(100vw - 260px));
  transform: translateX(-50%);
  border: 1px solid rgba(255,255,255,0.22);
  background: rgba(0,0,0,0.34);
}

.hero-slider-dot {
  position: relative;
  min-height: 58px;
  padding: 12px 16px 10px;
  border: 0;
  background: transparent;
  color: rgba(255,255,255,0.62);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 3px;
  font-family: var(--font-heading);
  text-align: left;
  text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease;
}

.hero-slider-dot::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: #fff;
  transition: width 0.3s ease;
}

.hero-slider-dot strong {
  font-size: 1rem;
  line-height: 1;
}

.hero-slider-dot span {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.hero-slider-dot.active,
.hero-slider-dot:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

.hero-slider-dot.active::before,
.hero-slider-dot:hover::before {
  width: 100%;
}

.hero-slider-arrows {
  position: absolute;
  right: 38px;
  bottom: 30px;
  z-index: 20;
  display: flex;
  gap: 10px;
}

.hero-slider-arrow {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(0, 0, 0, 0.42);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}

.hero-slider-arrow:hover {
  background: #fff;
  color: var(--text-dark);
  transform: translateY(-2px);
}

/* --- Sub-Hero Banner --- */

/* --- Countdown Bar (Minimalist) --- */
.cd-bar {
  background: var(--bg-body);
  padding: 40px 0;
  color: #fff;
  border-top: 1px solid var(--glass-border);
}

.cd-grid {
  display: flex;
  justify-content: center;
  gap: 80px;
}

.cd-item {
  text-align: center;
}

.cd-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 300;
  line-height: 1;
  color: #fff;
  transition: transform 0.3s ease;
}

/* Subtle tick when countdown updates */
.cd-num.tick {
  animation: countPulse 0.4s ease;
}

.cd-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 500;
  margin-top: 12px;
  color: var(--text-light);
}

/* --- Intro Section --- */
.intro {
  padding: 120px 0;
  background: var(--bg-body);
  text-align: center;
}

.intro .container {
  max-width: 800px; /* Narrower column for editorial reading */
}

.intro-logo-wrap {
  margin-bottom: 32px;
}

.intro-logo-img {
  height: 200px;
  width: auto;
  display: block;
  margin: 0 auto;
}

.intro-tag {
  color: var(--accent);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-size: 0.78rem;
  padding: 10px 26px;
  margin: 0 auto 28px;
  display: inline-block;
  border: 1px solid rgba(255, 90, 60, 0.4);
  border-radius: 50px;
  background: rgba(255, 90, 60, 0.08);
  line-height: 1.3;
}

.intro h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 40px;
  font-weight: 900;
  text-transform: uppercase;
}

.intro p {
  font-size: 1.15rem;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 50px;
  font-weight: 400;
}

/* --- ULUDAĞ STYLE: DETAILED RACE CARDS (Flat/Raw) --- */
.race-details {
  padding: 60px 0 120px;
  background-color: var(--bg-body);
}

section.section {
  padding: 80px 0;
}

.section-header-center {
  text-align: center;
  margin-bottom: 60px;
  padding-top: 20px;
}

.section-header-center h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-top: 10px;
  text-transform: uppercase;
  font-weight: 900;
}

.race-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.race-detail-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  overflow: hidden;
}

.race-detail-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.rdc-image {
  position: relative;
  height: 280px;
  border-bottom: 1px solid var(--border-color);
}

.rdc-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.1) grayscale(10%); /* slightly raw look */
}

.rdc-badge {
  position: absolute;
  bottom: -35px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 100px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: none; /* Removed white border for flatter look */
  z-index: 2;
}

.rdc-badge-elev {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.rdc-badge-name {
  font-size: 1rem;
  font-weight: 900;
  font-family: var(--font-heading);
  line-height: 1.2;
}

.rdc-badge-dist {
  font-size: 1.4rem;
  font-weight: 900;
  font-family: var(--font-heading);
  line-height: 1;
}

.rdc-badge-dist small {
  font-size: 0.6rem;
}

.rdc-body {
  padding: 60px 30px 40px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.rdc-body h3 {
  text-align: center;
  font-size: 1.3rem;
  margin-bottom: 25px;
  font-weight: 900;
  text-transform: uppercase;
}

.rdc-body h3 small {
  display: block;
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 500;
  margin-top: 8px;
  letter-spacing: 2px;
}

.rdc-body p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.6;
}

.rdc-schedule {
  font-size: 0.85rem !important;
  color: var(--text-dark) !important;
  background: var(--bg-body); /* Flat gray background */
  border: 1px solid var(--border-color);
  padding: 15px;
  border-radius: 0px; /* Sharp */
  margin-top: auto; 
  margin-bottom: 30px !important;
  font-weight: 500;
}

.rdc-terrain {
  margin-bottom: 30px;
}

.terrain-bar {
  display: flex;
  height: 6px; /* Thinner */
  border-radius: 0px;
  overflow: hidden;
  margin-bottom: 15px;
}

.terrain-legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--text-dark);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.terrain-legend span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.terrain-legend i {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 0; /* Square indicators instead of circles */
}

.rdc-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.rdc-actions a {
  flex: 1;
  text-align: center;
  padding: 14px 0;
  font-size: 0.75rem;
}

.btn-outline-sm {
  border: 1px solid var(--text-dark);
  color: var(--text-dark);
  border-radius: 2px;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
}

.btn-outline-sm:hover {
  background: var(--text-dark);
  color: #fff;
}

.rdc-itra {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding-top: 25px;
  border-top: 1px solid var(--border-color);
}

.itra-dist {
  background: var(--bg-body);
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: 2px; /* Sharp */
  font-weight: 800;
  font-family: var(--font-heading);
  font-size: 0.8rem;
}

.itra-mount {
  font-size: 1.2rem;
  filter: grayscale(100%); /* Desaturate emoji */
}

.itra-badge {
  background: var(--text-dark);
  color: #fff;
  padding: 6px 14px;
  border-radius: 2px; /* Sharp */
  font-weight: 800;
  font-family: var(--font-heading);
  font-size: 0.8rem;
}

.itra-badge strong {
  color: #fff; /* Removed yellow, kept it minimal */
}


/* --- KAPADOKYA STYLE: CONTENT GRID (Editorial Flat) --- */
.content-grid-section {
  padding: 100px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
}

.cg-row-1 {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

/* About Card */
.cg-about {
  border-radius: 0;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.cg-about-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  filter: grayscale(20%);
}

.cg-about-body {
  padding: 40px 30px;
}

.cg-tag {
  background: var(--text-dark);
  color: #fff;
  padding: 4px 10px;
  border-radius: 0;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.cg-about-body h3 {
  margin: 20px 0 15px;
  font-size: 1.6rem;
  text-transform: uppercase;
}

.cg-about-body p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Video */
.cg-video {
  border-radius: 0;
  overflow: hidden;
  position: relative;
  background: #000;
}

.cg-video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cg-video-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.cg-video-wrapper:hover img {
  opacity: 0.4;
}

.cg-play-btn {
  position: absolute;
  cursor: pointer;
  transition: transform 0.3s;
  width: 80px;
  height: 80px;
  background: rgba(255,255,255,0.1);
  border: 2px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.cg-play-btn svg {
  width: 30px;
  height: 30px;
  margin-left: 5px; /* Visual center for play icon */
  fill: #fff;
}

.cg-video-wrapper:hover .cg-play-btn {
  transform: scale(1.1);
  background: #fff;
}

.cg-video-wrapper:hover .cg-play-btn svg {
  fill: #000;
}

.cg-video-title {
  position: absolute;
  bottom: 40px;
  left: 40px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Row 2 */
.cg-row-2 {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 40px;
}

/* Info Sidebar */
.cg-info-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cg-info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--bg-body);
  padding: 25px;
  border-radius: 0;
  border: 1px solid var(--border-color);
  transition: border-color 0.3s;
}

.cg-info-item:hover {
  border-color: var(--text-dark);
}

.cg-info-item img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 0; /* Sharp */
  border: 1px solid var(--border-color);
}

.cg-info-tag {
  color: var(--text-light);
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
  display: block;
}

.cg-info-item h4 {
  font-size: 1rem;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.cg-info-item p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.5;
}

/* Leaderboard */
.cg-leaderboard {
  background: var(--bg-card);
  border-radius: 0;
  padding: 0; /* Removed padding for flatter integration */
}

.lb-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--text-dark);
}

.lb-header h3 {
  font-size: 1.5rem;
  text-transform: uppercase;
  font-weight: 900;
}

.lb-see-all {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dark);
  border-bottom: 1px solid var(--text-dark);
  padding-bottom: 2px;
  transition: opacity 0.3s;
}

.lb-see-all:hover {
  opacity: 0.6;
}

.lb-tabs {
  display: flex;
  gap: 0; /* Flush tabs */
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
}

.lb-tab, .lb-tab-rec {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-light);
  cursor: pointer;
  padding: 12px 24px;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s;
  margin-bottom: -1px; /* Overlap border */
}

.lb-tab.active, .lb-tab-rec.active {
  color: var(--text-dark);
  border-bottom-color: var(--text-dark);
}

.lb-content, .lb-rec-content {
  display: none;
  animation: fadeIn 0.4s;
}

.lb-content.active, .lb-rec-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lb-content h4 {
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: var(--text-light);
  margin: 40px 0 15px;
  text-transform: uppercase;
}

.lb-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.lb-table th {
  text-align: left;
  padding: 15px 10px;
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid var(--border-color);
}

.lb-table td {
  padding: 15px 10px;
  border-bottom: 1px solid var(--border-color);
  font-weight: 400;
  color: var(--text-light);
}

.lb-table td:nth-child(3) { /* Runner Name */
  color: var(--text-dark);
  font-weight: 600;
}

.lb-table tr:hover td {
  background: var(--bg-body);
}

.lb-records {
  margin-top: 80px;
}

.lb-records h3 {
  margin-bottom: 20px;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}


/* --- Info Cards (Editorial Style) --- */
.info-section {
  padding: 100px 0;
  background: var(--bg-body);
  border-top: 1px solid var(--border-color);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.info-card {
  background: var(--bg-card);
  padding: 50px 40px;
  border-radius: 0;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: border-color 0.3s;
}

.info-card:hover {
  border-color: var(--text-dark);
}

.info-card .icon {
  width: 60px;
  height: 60px;
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 30px;
  filter: grayscale(100%);
}

.info-card h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.info-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.info-card a {
  color: var(--text-dark);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 2px;
  border-bottom: 1px solid var(--text-dark);
  padding-bottom: 2px;
}

.info-card a:hover { opacity: 0.6; }

/* --- Masonry Gallery --- */
.gallery-section {
  padding: 100px 0;
  background: #111;
  color: #fff;
}

.gallery-section .section-header {
  text-align: center;
  margin-bottom: 80px;
}

.gallery-section .section-header h2 { 
  color: #fff; 
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: 1px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 300px;
  gap: 20px; /* Wider gaps for editorial look */
}

.gallery-item {
  border-radius: 0;
  overflow: hidden;
  position: relative;
  background: #222;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(30%) contrast(1.1);
  transition: filter 0.6s ease, transform 0.6s ease;
}

.gallery-item:hover img {
  filter: grayscale(0%) contrast(1);
  transform: scale(1.03);
}

.gallery-item.large { grid-column: span 2; grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }
.gallery-item.tall { grid-row: span 2; }

/* --- Footer --- */
.footer {
  background: #0A0A0A; /* Deepest black */
  color: rgba(255,255,255,0.6);
  padding: 100px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 80px;
}

.footer .logo {
  color: #fff;
  margin-bottom: 25px;
  font-size: 1.2rem;
}
.footer-brand-name {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 16px !important;
  line-height: 1.3;
}
.footer-brand-name span {
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 3px;
  opacity: 0.7;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.8;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.footer-col ul li { margin-bottom: 15px; font-size: 0.9rem; }
.footer-col a { transition: color 0.3s; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-bottom p { white-space: nowrap; }

/* ===== SCROLL-REVEAL ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease, transform 0.9s var(--ease-out-expo);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered fade-up for grid children */
.race-detail-card.fade-up:nth-child(1) { transition-delay: 0s; }
.race-detail-card.fade-up:nth-child(2) { transition-delay: 0.15s; }
.race-detail-card.fade-up:nth-child(3) { transition-delay: 0.3s; }

.info-card.fade-up:nth-child(1) { transition-delay: 0s; }
.info-card.fade-up:nth-child(2) { transition-delay: 0.1s; }
.info-card.fade-up:nth-child(3) { transition-delay: 0.2s; }

.gallery-item.fade-up:nth-child(1) { transition-delay: 0s; }
.gallery-item.fade-up:nth-child(2) { transition-delay: 0.08s; }
.gallery-item.fade-up:nth-child(3) { transition-delay: 0.16s; }
.gallery-item.fade-up:nth-child(4) { transition-delay: 0.24s; }
.gallery-item.fade-up:nth-child(5) { transition-delay: 0.32s; }

/* Hover lift for interactive cards */
.race-detail-card {
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.race-detail-card:hover {
  border-color: var(--text-dark);
  transform: translateY(-4px);
}

.info-card {
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.info-card:hover {
  border-color: var(--text-dark);
  transform: translateY(-4px);
}

/* --- Sub-Hero Banner --- */
.sub-hero {
  position: relative;
  height: 45vh;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 40px;
}

.sub-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
  z-index: 1;
}

.sub-hero .container {
  position: relative;
  z-index: 2;
  color: #fff;
  padding-top: 60px; /* Offset for header */
}

.sub-hero h1 {
  font-family: var(--font-heading);
  font-size: 4.5rem;
  font-weight: 900;
  letter-spacing: -1px;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
  text-transform: uppercase;
}

.sub-hero p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.9;
}



.card-img {
  width: 100%;
  height: 250px;
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid var(--glass-border);
}

.card-content {
  padding: 40px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.race-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 10px;
}

.info-card {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 50px 40px;
  text-align: center;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.info-card .icon {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--accent);
}

.info-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.info-card p {
  color: var(--text-light);
}

.race-header h3 {
  color: var(--text-dark);
  margin-bottom: 0;
}

.race-header h3 .light {
  color: var(--text-light);
}

.itra-badge {
  background: var(--accent);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin: 25px 0;
  padding-top: 25px;
  border-top: 1px solid var(--glass-border);
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat .label {
  font-size: 0.65rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.stat .value {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-dark);
}

.race-detail-toggle {
  width: 100%;
  margin: 0 0 14px;
  padding: 12px 16px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-dark);
  border-radius: 8px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.3px;
  text-transform: uppercase;
  transition: all 0.25s ease;
}

.race-detail-card.open .race-detail-toggle,
.race-detail-toggle:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.race-extra {
  display: grid;
  gap: 12px;
  max-height: 0;
  margin-bottom: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.25s ease, margin-bottom 0.35s ease;
}

.race-detail-card.open .race-extra {
  max-height: 360px;
  margin-bottom: 18px;
  opacity: 1;
}

.race-extra div {
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid var(--accent);
  border-radius: 4px;
}

.race-extra strong,
.race-extra span {
  display: block;
}

.race-extra strong {
  margin-bottom: 4px;
  font-family: var(--font-heading);
  font-size: 0.68rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dark);
}

.race-extra span {
  color: var(--text-light);
  font-size: 0.85rem;
  line-height: 1.45;
}

.sub-hero-overlay {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%);
}

.sub-hero h1,
.sub-hero p {
  color: #fff !important;
  text-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.footer {
  background: #0a0a0c;
  color: #fff;
  border-top: 1px solid var(--glass-border);
}

.footer a {
  display: block;
  margin-bottom: 10px;
  text-decoration: none;
  color: var(--text-light);
}
/* footer-bottom (Gizlilik | Kullanım Koşulları) yan yana kalsın */
.footer .footer-bottom a {
  display: inline;
  margin-bottom: 0;
}

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

/* Grids for Subpages */
.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  height: 250px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
  border: 1px solid var(--glass-border);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.rules-section,
.registration-terms,
.info-detail-section {
  background: transparent;
}

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

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

.rule-card,
.equipment-card,
.registration-panel,
.registration-form {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  color: var(--text-dark);
}

.rule-card,
.equipment-card {
  padding: 34px;
}

.rule-card span {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 2px;
}

.rule-card h3,
.equipment-card h3 {
  margin-bottom: 14px;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dark);
}

.rule-card p,
.equipment-card li {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

.equipment-card ul {
  display: grid;
  gap: 12px;
}

.equipment-card li {
  padding-left: 18px;
  position: relative;
}

.equipment-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 6px;
  height: 6px;
  background: var(--primary);
}

.registration-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.3fr);
  gap: 34px;
  align-items: stretch;
}

.registration-panel {
  padding: 42px;
  background: var(--primary);
  color: #fff;
}

.registration-panel .intro-tag {
  color: rgba(255,255,255,0.72);
}

.registration-panel h2 {
  margin: 18px 0;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.registration-panel p {
  color: rgba(255,255,255,0.72);
  line-height: 1.75;
}

.registration-steps {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.registration-steps div {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}

.registration-steps strong {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: #fff;
  color: var(--primary);
  font-family: var(--font-heading);
}

.registration-steps span {
  font-weight: 700;
}

.registration-form {
  display: grid;
  gap: 18px;
  padding: 42px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.registration-form label {
  display: grid;
  gap: 8px;
  color: rgba(255,255,255,0.85);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.registration-form input,
.registration-form select,
.registration-form textarea {
  width: 100%;
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 4px;
  background: #f8f8f6;
  color: #111;
  font-family: var(--font-body);
  font-size: 0.95rem;
  letter-spacing: 0;
  padding: 14px 15px;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.registration-form textarea {
  resize: vertical;
}

.registration-form input:focus,
.registration-form select:focus,
.registration-form textarea:focus {
  background: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(21, 46, 34, 0.08);
}

.form-check {
  display: flex !important;
  grid-template-columns: none;
  align-items: flex-start;
  gap: 12px !important;
  font-family: var(--font-body) !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  line-height: 1.5;
  text-transform: none !important;
}

.form-check input {
  width: 18px;
  min-width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--primary);
}

.registration-form .btn-primary {
  justify-self: start;
  min-width: 240px;
  border-color: var(--primary);
  background: var(--primary);
}

.form-feedback {
  min-height: 24px;
  color: var(--primary);
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 14px;
  max-width: 920px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(27, 67, 50, 0.045);
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  padding: 22px 26px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.faq-item p {
  padding: 0 26px 24px;
  color: #555;
}

.contact-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 920px;
  margin: 34px auto 0;
  padding: 30px;
  background: var(--primary);
  color: #fff;
  border-radius: 8px;
}

.contact-strip .intro-tag {
  color: rgba(255,255,255,0.66);
}

.contact-strip h3 {
  margin-top: 8px;
  font-family: var(--font-heading);
  font-size: 1.35rem;
}

.contact-strip .btn-primary {
  background: #fff;
  color: var(--primary) !important;
  border-color: #fff;
  white-space: nowrap;
}

/* Responsive */
@media (max-width: 1200px) {
  .race-detail-grid { grid-template-columns: repeat(2, 1fr); }
  .cg-row-1, .cg-row-2 { gap: 30px; }
}

@media (max-width: 1024px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .cg-row-1, .cg-row-2 { grid-template-columns: 1fr; }
  .cg-video-wrapper { height: 400px; }
  .cg-about { display: flex; flex-direction: row; }
  .cg-about-image { width: 300px; }
  .cg-about-image img { height: 100%; }
}

@media (max-width: 1100px) {
  /* Mobilde header'ı gizleme — parent'taki transform position:fixed child'ı
     (hamburger) ekran dışına atıyor, sonra tıklanamıyordu. */
  .header.header-hidden { transform: none; }

  /* Hamburger: header stacking context'inden tamamen çıkar, viewport'a bağla */
  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 44px;
    right: 16px;
    width: 44px;
    height: 44px;
    z-index: 10000;
    background: transparent;
    border-radius: 8px;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    color: #fff;
  }
  /* İki SVG ikon aynı noktada üst üste; toggle'da layout shift olmaz */
  .mobile-menu-btn svg {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    transform: translate(-50%, -50%);
    pointer-events: none;
  }
  /* Logo üst üste binme: header-main'de logo alanı sağa taşmasın */
  .brand-logo { height: 40px; width: auto; }
  .brand-name strong { font-size: 0.78rem; }
  .brand-name span { display: none; }
  .header-main { padding: 10px 72px 10px 16px; } /* sağ pay: hamburger alanı */
  .header.scrolled .header-main { padding: 8px 72px 8px 16px; }
  .mobile-menu-btn .icon-menu  { display: block; }
  .mobile-menu-btn .icon-close { display: none; }
  .mobile-menu-btn.active .icon-menu  { display: none; }
  .mobile-menu-btn.active .icon-close { display: block; }
  /* Menü açıkken X koyu — buton body altında olduğu için ata zinciri gerek yok */
  .mobile-menu-btn.active { color: #152E22 !important; }

  .header .btn-primary { display: none; } /* Hide register button on small mobile header to save space, put it in menu */

  .nav-links {
    position: fixed;
    display: flex;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 24px;
    overflow-y: auto;
    padding: 118px 24px 54px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out-expo);
    z-index: 999;
  }
  
  .nav-links.active {
    opacity: 1;
    pointer-events: all;
  }
  
  .header .nav-link,
  .header.transparent-mode .nav-link,
  .header.scrolled .nav-link { color: #152E22 !important; text-shadow: none !important; }
  .nav-link { font-size: 1.35rem; }
  .nav-item { width: min(100%, 420px); text-align: center; }
  .nav-mega-trigger { width: 100%; text-align: center; color: #152E22; }
  .nav-mega-panel {
    position: static;
    width: 100%;
    max-height: 0;
    display: block;
    padding: 0;
    margin-top: 0;
    overflow: hidden;
    background: transparent;
    border: 0;
    box-shadow: none;
    color: #152E22;
    opacity: 1;
    pointer-events: none;
    transform: none;
    transition: max-height 0.35s ease, margin-top 0.35s ease;
  }
  .nav-links.active .nav-mega-panel,
  .nav-mega.open .nav-mega-panel,
  .nav-mega:focus-within .nav-mega-panel {
    max-height: 720px;
    margin-top: 18px;
    pointer-events: auto;
    transform: none;
  }
  .mega-copy {
    display: none;
  }
  .mega-race-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .mega-race {
    min-height: auto;
    padding: 12px 14px;
    background: #f7f7f5;
    border-color: rgba(17,17,17,0.08);
    text-align: left;
  }
  .mega-race strong {
    color: #152E22;
  }
  .mega-race p {
    color: var(--text-light);
    font-size: 0.72rem;
  }
  
  .sub-hero h1 { font-size: 3rem; }
  .sub-hero { height: 40vh; min-height: 350px; }

  .split-hero {
    height: 100svh;
    min-height: 640px;
  }

  .hero-overlay-text {
    top: 16%;
    left: 0;
    width: 100vw;
    transform: none;
    padding: 0 22px;
  }

  .hero-overlay-text h1 { font-size: 2.4rem; line-height: 1; }
  .hero-event-meta {
    max-width: 92vw;
    margin-top: 12px;
    font-size: 0.7rem;
    line-height: 1.5;
    letter-spacing: 1px;
    text-align: center;
  }
  .hero-slide-content {
    left: 20px;
    right: 20px;
    bottom: 90px;
  }
  .hero-slide-badge {
    font-size: 3.6rem;
    margin: 6px 0 12px;
  }
  .hero-slide-stats {
    gap: 12px;
  }
  .hero-slider-nav {
    left: 18px;
    right: 18px;
    bottom: 20px;
    width: auto;
    transform: none;
    grid-template-columns: repeat(4, 1fr);
  }
  .hero-slider-dot {
    min-height: 48px;
    padding: 9px 8px 8px;
  }
  .hero-slider-dot strong {
    font-size: 0.8rem;
  }
  .hero-slider-dot span {
    font-size: 0.65rem;
    letter-spacing: 0.6px;
  }
  .hero-slider-arrows {
    display: none;
  }
  .hero-slider-arrow {
    width: 44px;
    height: 44px;
    font-size: 1.7rem;
  }
  .cd-grid { flex-wrap: wrap; gap: 30px; }

  /* ===== FOOTER MOBİL ===== */
  .footer { padding: 60px 0 30px; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    margin-bottom: 40px;
    text-align: center;
  }
  .footer-col h4 { margin-bottom: 16px; }
  .footer-col ul { padding: 0; margin: 0; list-style: none; }
  .footer-col ul li { margin-bottom: 10px; }
  .footer-brand-name { text-align: center; }
  .footer-social {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
  }
  .footer-social a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
  }
  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding-top: 24px;
    font-size: 0.7rem;
    gap: 8px;
  }

  .race-detail-grid { grid-template-columns: 1fr; }
  .rulebook-grid,
  .equipment-grid,
  .registration-layout,
  .form-row {
    grid-template-columns: 1fr;
  }
  .contact-strip {
    align-items: flex-start;
    flex-direction: column;
  }
  .cg-about { flex-direction: column; }
  .cg-about-image { width: 100%; }
}

/* ===== CUSTOMER REVISION: LOGO SPLASH, LIVE LISTS, MEDIA & CONTENT ===== */
.cinema-splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(circle at 50% 120%, rgba(194, 139, 33, 0.4), transparent 60%),
              linear-gradient(180deg, #040807 0%, #10271d 100%);
  animation: cinemaSplashExit 0.8s var(--ease-out-expo) 3.4s forwards;
  pointer-events: none;
}

.splash-enabled .cinema-splash {
  display: flex;
}

/* 1. Parçacık Sistemi (Ember/Kıvılcım) */
.splash-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.splash-particles span {
  position: absolute;
  bottom: -50px;
  width: 4px;
  height: 4px;
  background: #f5e2ab;
  border-radius: 50%;
  box-shadow: 0 0 10px 2px rgba(245, 226, 171, 0.6);
  opacity: 0;
  animation: ember 4s linear infinite;
}
.splash-particles span:nth-child(1) { left: 10%; animation-delay: 0.2s; animation-duration: 3.5s; }
.splash-particles span:nth-child(2) { left: 25%; animation-delay: 1.5s; animation-duration: 4.2s; width: 3px; height: 3px; }
.splash-particles span:nth-child(3) { left: 45%; animation-delay: 0.7s; animation-duration: 3.8s; }
.splash-particles span:nth-child(4) { left: 60%; animation-delay: 2.1s; animation-duration: 4.5s; width: 5px; height: 5px; }
.splash-particles span:nth-child(5) { left: 80%; animation-delay: 0.9s; animation-duration: 3.6s; }
.splash-particles span:nth-child(6) { left: 15%; animation-delay: 2.8s; animation-duration: 4.1s; }
.splash-particles span:nth-child(7) { left: 35%; animation-delay: 1.2s; animation-duration: 3.9s; width: 2px; height: 2px; }
.splash-particles span:nth-child(8) { left: 55%; animation-delay: 3.0s; animation-duration: 4.8s; }
.splash-particles span:nth-child(9) { left: 75%; animation-delay: 1.8s; animation-duration: 3.7s; }
.splash-particles span:nth-child(10) { left: 90%; animation-delay: 2.5s; animation-duration: 4.3s; width: 3px; height: 3px; }
.splash-particles span:nth-child(11) { left: 5%; animation-delay: 0.5s; animation-duration: 3.2s; }
.splash-particles span:nth-child(12) { left: 20%; animation-delay: 2.2s; animation-duration: 4.0s; width: 4px; height: 4px; }
.splash-particles span:nth-child(13) { left: 40%; animation-delay: 1.0s; animation-duration: 3.5s; }
.splash-particles span:nth-child(14) { left: 50%; animation-delay: 2.9s; animation-duration: 4.7s; width: 2px; height: 2px; }
.splash-particles span:nth-child(15) { left: 70%; animation-delay: 0.4s; animation-duration: 3.4s; }
.splash-particles span:nth-child(16) { left: 85%; animation-delay: 3.2s; animation-duration: 4.9s; }
.splash-particles span:nth-child(17) { left: 95%; animation-delay: 1.6s; animation-duration: 3.8s; width: 5px; height: 5px; }
.splash-particles span:nth-child(18) { left: 30%; animation-delay: 0.8s; animation-duration: 3.3s; }
.splash-particles span:nth-child(19) { left: 65%; animation-delay: 2.6s; animation-duration: 4.4s; width: 3px; height: 3px; }
.splash-particles span:nth-child(20) { left: 88%; animation-delay: 1.3s; animation-duration: 3.6s; }

/* 2. Topografik Harita Deseni */
.splash-topo {
  position: absolute;
  inset: -10%;
  z-index: 2;
  background-image: repeating-radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.05) 0,
    rgba(255, 255, 255, 0.05) 1px,
    transparent 1px,
    transparent 40px
  );
  opacity: 0;
  transform: scale(0.9);
  animation: topoReveal 1.2s ease-out 0.3s forwards;
  pointer-events: none;
}

/* 3. Dağ Silueti ve Işık */
.splash-mountain {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40vh;
  z-index: 3;
  transform: translateY(100%);
  animation: mountainRise 1s var(--ease-out-expo) 0.8s forwards;
  pointer-events: none;
}
.mountain-silhouette {
  width: 100%;
  height: 100%;
  color: #030805; /* Çok koyu yeşil/siyah */
}
.sunrise-glow {
  position: absolute;
  bottom: -20%;
  left: 50%;
  transform: translateX(-50%) scale(0);
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(194, 139, 33, 0.6) 0%, transparent 70%);
  opacity: 0;
  filter: blur(40px);
  animation: sunrise 1.2s ease-out 1s forwards;
}

/* 4. Logo ve Metin İçeriği */
.splash-content {
  position: relative;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: -10vh;
}
.splash-emblem {
  width: min(260px, 70vw);
  height: min(260px, 70vw);
  margin-bottom: 28px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
  transform: scale(0) rotate(-15deg);
  filter: blur(20px);
  opacity: 0;
  animation: logoBirth 0.8s var(--ease-out-expo) 1.3s forwards,
             logoGlow 1.5s ease-in-out 2.1s forwards;
}
.splash-emblem img {
  width: 85%;
  height: 85%;
  object-fit: contain;
  display: block;
}

.splash-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.splash-title-main {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.1em;
  line-height: 1;
  clip-path: inset(0 100% 0 0);
  animation: textRevealRight 0.6s var(--ease-out-expo) 1.8s forwards;
}
.splash-title-line {
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: lineExtend 0.4s ease-out 2.0s forwards;
}
.splash-title-sub {
  font-family: var(--font-heading);
  font-size: clamp(1rem, 3vw, 1.8rem);
  font-weight: 800;
  color: rgba(255, 255, 255, 1);
  letter-spacing: 0.3em;
  opacity: 0;
  transform: translateY(10px);
  animation: textFadeUp 0.5s ease-out 2.2s forwards;
}

.splash-meta {
  margin-top: 24px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  color: var(--accent);
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(-10px);
  animation: metaFadeDown 0.5s ease-out 2.6s forwards;
}

/* Keyframes */
@keyframes ember {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 0.8; }
  100% { transform: translateY(-100vh) translateX(20px); opacity: 0; }
}
@keyframes topoReveal {
  to { opacity: 0.08; transform: scale(1); }
}
@keyframes mountainRise {
  to { transform: translateY(0); }
}
@keyframes sunrise {
  to { transform: translateX(-50%) scale(1); opacity: 0.8; }
}
@keyframes logoBirth {
  to { transform: scale(1) rotate(0); filter: blur(0); opacity: 1; }
}
@keyframes logoGlow {
  0%   { filter: drop-shadow(0 0 0px rgba(194, 139, 33, 0)); }
  50%  { filter: drop-shadow(0 0 24px rgba(194, 139, 33, 0.5)); }
  100% { filter: drop-shadow(0 0 10px rgba(194, 139, 33, 0.2)); }
}
@keyframes textRevealRight {
  to { clip-path: inset(0 0 0 0); }
}
@keyframes lineExtend {
  to { width: 100%; }
}
@keyframes textFadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes metaFadeDown {
  to { opacity: 1; transform: translateY(0); letter-spacing: 0.25em; }
}
@keyframes cinemaSplashExit {
  0% { clip-path: inset(0 0 0 0); }
  100% { clip-path: inset(0 0 100% 0); opacity: 0.8; visibility: hidden; }
}

.event-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.event-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(21, 46, 34, 0.08);
  color: var(--primary);
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0;
}

.status-card,
.suspended-results,
.participant-error {
  padding: 34px;
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  color: var(--text-dark);
}

.suspended-results {
  min-height: 100%;
  display: grid;
  align-content: center;
  gap: 14px;
}

.suspended-results .intro-tag {
  margin: 0;
}

.suspended-results h3,
.status-card h3 {
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.1;
}

.ai-reel {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border-radius: 8px;
  background: #08120d;
  color: #fff;
  isolation: isolate;
}

.ai-reel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.08);
  animation: reelFrames 12s linear infinite;
}

.ai-reel img:nth-child(2) { animation-delay: 4s; }
.ai-reel img:nth-child(3) { animation-delay: 8s; }

.ai-reel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(5, 13, 9, 0.84), rgba(5, 13, 9, 0.18)),
    radial-gradient(circle at 82% 22%, rgba(194, 139, 33, 0.28), transparent 24%);
}

.ai-reel-content {
  position: relative;
  z-index: 2;
  max-width: 420px;
  padding: 42px;
}

.ai-reel-content h3 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.95;
  margin: 14px 0;
}

.ai-reel-content p {
  color: rgba(255, 255, 255, 0.74);
}

.reel-play-orbit {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  margin-top: 28px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 900;
  animation: reelPulse 2s ease-in-out infinite;
}

@keyframes reelFrames {
  0% { opacity: 0; transform: scale(1.08); }
  7%, 30% { opacity: 1; }
  39%, 100% { opacity: 0; transform: scale(1); }
}

@keyframes reelPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 226, 171, 0.28); }
  50% { box-shadow: 0 0 0 18px rgba(245, 226, 171, 0); }
}

.schedule-grid,
.participant-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.schedule-card,
.participant-panel {
  padding: 30px;
  border-radius: 16px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  color: var(--text-dark);
}

.schedule-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.schedule-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--glass-border);
  color: var(--text-dark);
}

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

.schedule-time {
  flex: 0 0 auto;
  font-family: var(--font-heading);
  font-weight: 900;
  color: var(--accent);
}

.media-tabs,
.participant-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}

.media-tab,
.participant-tab {
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  color: var(--text-dark);
  border-radius: 999px;
  padding: 11px 24px;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 900;
  cursor: pointer;
  transition: all 0.3s ease;
}

.media-tab:hover,
.participant-tab:hover {
  background: rgba(255, 255, 255, 0.1);
}

.media-tab.active,
.participant-tab.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 4px 15px rgba(255, 74, 54, 0.4);
}

.media-pane,
.participant-pane {
  display: none;
}

.media-pane.active,
.participant-pane.active {
  display: block;
}

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

.participant-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.participant-table th,
.participant-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--glass-border);
  text-align: left;
  color: var(--text-dark);
}

.participant-table th {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.02);
}

.participant-table td:first-child {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--accent);
}

.gender-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 92px;
  color: var(--text-dark);
  font-weight: 800;
}

.gender-icon {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  line-height: 1;
}

.gender-male .gender-icon {
  background: linear-gradient(135deg, #2f80ed, #0f4c81);
}

.gender-female .gender-icon {
  background: linear-gradient(135deg, #d9468f, #8a2f6f);
}

.gender-unknown .gender-icon {
  background: rgba(255, 255, 255, 0.16);
}

.participant-count {
  margin-bottom: 16px;
  color: var(--text-light);
}

@media (prefers-reduced-motion: reduce) {
  .cinema-splash,
  .cinema-splash *,
  .ai-reel img,
  .reel-play-orbit {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 900px) {
  .brand-logo { height: 36px; width: auto; }
  .brand-name span { display: none; }
  .schedule-grid,
  .participant-grid { grid-template-columns: 1fr; }
  .ai-reel { min-height: 420px; }
  .ai-reel-content { padding: 30px; }

  /* Splash: sıfırla margin-top ve dağı küçült, logo kırpılmasın */
  .splash-content { margin-top: 0; }
  .splash-mountain { height: 28vh; }

  /* Buton merkezleme */
  .btn-primary { text-align: center; }
  .suspended-results .btn-primary,
  .rules-section .btn-primary {
    display: block;
    width: fit-content;
    margin: 4px auto 0;
  }
}

@media (max-width: 520px) {
  .logo { gap: 8px; }
  .brand-name strong { font-size: 0.78rem; }
  /* Emblem mobile'da daha büyük: logo net görünsün */
  .splash-emblem { width: min(220px, 72vw); height: min(220px, 72vw); }
  .splash-title-main { font-size: 1.8rem; }
  .status-card,
  .suspended-results,
  .schedule-card,
  .participant-panel { padding: 24px; }
  .schedule-list li { display: grid; }
}
