/* Base setup */
:root {
  --color-arena: #080808;
  --color-fight-red: #E21B23;
  --navbar-height: 80px;
}

html {
  color-scheme: dark;
}

body {
  background-color: #080808;
  color: #F5F5F2;
  font-family: 'Inter', sans-serif;
  overflow-x: clip;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

.font-headline { font-family: 'Barlow Condensed', sans-serif; }
.font-editorial { font-family: 'DM Sans', sans-serif; }
.font-body { font-family: 'Inter', sans-serif; }

.bg-arena { background-color: #080808; }
.bg-obsidian { background-color: #101010; }
.bg-carbon { background-color: #171717; }
.bg-fightRed { background-color: #E21B23; }
.bg-deepRed { background-color: #8A0D12; }
.bg-inaRed { background-color: #D71920; }
.bg-indSaffron { background-color: #FF8A1F; }
.bg-subtleGreen { background-color: #138A4B; }
.text-whitePrimary { color: #F5F5F2; }
.text-mutedSilver { color: #A0A0A0; }
.text-fightRed { color: #E21B23; }
.text-inaRed { color: #D71920; }
.text-indSaffron { color: #FF8A1F; }
.text-subtleGreen { color: #138A4B; }
.text-deepRed { color: #8A0D12; }
.text-arena { color: #080808; }

input:not([type="hidden"]):not([type="file"]):not([type="checkbox"]):not([type="radio"]),
textarea,
select {
  color: #F5F5F2;
  caret-color: #E21B23;
}
input::placeholder,
textarea::placeholder {
  color: rgba(245, 245, 242, 0.3);
}
option {
  background-color: #101010;
  color: #F5F5F2;
}
.bg-arena\/50 { background-color: rgba(8, 8, 8, 0.5); }
.bg-arena\/70 { background-color: rgba(8, 8, 8, 0.7); }
.bg-arena\/80 { background-color: rgba(8, 8, 8, 0.8); }
.bg-arena\/95 { background-color: rgba(8, 8, 8, 0.95); }
.bg-arena\/98 { background-color: rgba(8, 8, 8, 0.98); }
.bg-obsidian\/90 { background-color: rgba(16, 16, 16, 0.9); }
.bg-obsidian\/95 { background-color: rgba(16, 16, 16, 0.95); }
.bg-carbon\/60 { background-color: rgba(23, 23, 23, 0.6); }
.bg-fightRed\/10 { background-color: rgba(226, 27, 35, 0.1); }
.bg-fightRed\/20 { background-color: rgba(226, 27, 35, 0.2); }
.bg-fightRed\/90 { background-color: rgba(226, 27, 35, 0.9); }
.bg-subtleGreen\/10 { background-color: rgba(19, 138, 75, 0.1); }
.bg-inaRed\/20 { background-color: rgba(215, 25, 32, 0.2); }
.bg-indSaffron\/20 { background-color: rgba(255, 138, 31, 0.2); }
.border-inaRed\/40 { border-color: rgba(215, 25, 32, 0.4); }
.border-indSaffron\/40 { border-color: rgba(255, 138, 31, 0.4); }
.bg-inaRed\/30 { background-color: rgba(215, 25, 32, 0.3); }
.bg-indSaffron\/30 { background-color: rgba(255, 138, 31, 0.3); }
.text-whitePrimary\/70 { color: rgba(245, 245, 242, 0.7); }
.text-whitePrimary\/80 { color: rgba(245, 245, 242, 0.8); }
.text-whitePrimary\/90 { color: rgba(245, 245, 242, 0.9); }
.text-mutedSilver\/60 { color: rgba(160, 160, 160, 0.6); }
.border-fightRed\/50 { border-color: rgba(226, 27, 35, 0.5); }
.bg-arena\/85 { background-color: rgba(8, 8, 8, 0.85); }
.border-fightRed\/70 { border-color: rgba(226, 27, 35, 0.7); }
.border-subtleGreen\/40 { border-color: rgba(19, 138, 75, 0.4); }
.hover\:bg-fightRed\/90:hover { background-color: rgba(226, 27, 35, 0.9); }
.hover\:text-fightRed:hover { color: #E21B23; }
.hover\:border-fightRed:hover { border-color: #E21B23; }
.selection\:bg-fightRed::selection,
.selection\:bg-fightRed *::selection { background-color: #E21B23; }
.selection\:text-white::selection,
.selection\:text-white *::selection { color: #fff; }

/* Scroll offset for fixed navbar */
section {
  scroll-margin-top: 80px;
}

/* Scanline effect for broadcast feel */
.scanlines {
  background: linear-gradient(
    rgba(18, 16, 16, 0) 50%, 
    rgba(0, 0, 0, 0.35) 50%
  ), linear-gradient(
    90deg,
    rgba(255, 0, 0, 0.03),
    rgba(0, 255, 0, 0.01),
    rgba(0, 255, 0, 0.03)
  );
  background-size: 100% 4px, 6px 100%;
  pointer-events: none;
}

/* Red laser / scanner animation */
@keyframes redScan {
  0% { transform: translateY(-100%); opacity: 0; }
  50% { opacity: 0.8; }
  100% { transform: translateY(1000%); opacity: 0; }
}
.scanner-line {
  animation: redScan 5s ease-in-out infinite;
}

/* Ticker marquee animation */
@keyframes ticker {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: ticker 25s linear infinite;
}
.marquee-track:hover {
  animation-play-state: paused;
}

/* Subtle grid pattern */
.arena-grid {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

/* Hide scrollbar for clean horizontal containers */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Button hover sweep */
.btn-sweep {
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.btn-sweep::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #E21B23;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}
.btn-sweep:hover::before {
  transform: translateX(100%);
}

/* Image fallback styling */
.img-fallback-bg {
  background: radial-gradient(circle at center, #1f1f1f 0%, #080808 100%);
}

/* Diagonal split for country section */
@media (min-width: 1024px) {
  .split-diagonal-left {
    clip-path: polygon(0 0, 100% 0, 88% 100%, 0% 100%);
  }
  .split-diagonal-right {
    clip-path: polygon(12% 0, 100% 0, 100% 100%, 0% 100%);
  }
}

/* Disabled CTA */
.cta-disabled {
  opacity: 0.45;
  pointer-events: none;
  cursor: not-allowed;
}

@media (prefers-reduced-motion: reduce) {
  .scanner-line,
  .marquee-track,
  .animate-ping,
  .animate-pulse,
  .animate-bounce {
    animation: none !important;
  }
}

/* E-ticket print */
@media print {
  body { background: #fff !important; color: #111 !important; }
  .no-print { display: none !important; }
  .eticket-print { background: #fff !important; color: #111 !important; }
}
