/* ==========================================================================
   KOMBAN HOLIDAYS UPDATE — Red-Eyed Tusker Dark Luxury Theme
   Palette: Deep Obsidian (#070709), Red-Eye Crimson (#FF1E2D), Tusker Gold (#FFB703)
   ========================================================================== */

:root {
  --bg-obsidian: #070709;
  --bg-elevated: #111116;
  --bg-card: #15151b;
  --accent-gold: #FFB703;
  --accent-crimson: #FF1E2D;
  --accent-blood: #991B1B;
  --text-primary: #F8FAFC;
  --text-muted: #94A3B8;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-crimson: rgba(255, 30, 45, 0.38);
  --border-gold: rgba(255, 183, 3, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-obsidian);
  color: var(--text-primary);
}

body {
  font-family: 'Outfit', 'Noto Sans Malayalam', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-obsidian);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Dual-Photo Atmospheric Background Blend */
#site-bg-blend {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background-color: #070709;
}

.site-bg-layer {
  position: absolute;
  top: 0;
  bottom: 0;
  background-repeat: no-repeat;
  background-size: cover;
  will-change: transform;
}

.site-bg-emperor {
  left: 0;
  width: 58%;
  background-image: url('../assets/bg-komban-emperor.jpg');
  background-position: center 48%;
  opacity: 0.25;
  filter: contrast(1.12) brightness(1.15) saturate(0.9);
  -webkit-mask-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.72) 52%, transparent 96%),
    linear-gradient(180deg, transparent 0%, #000 18%, #000 84%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(90deg, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0.72) 52%, transparent 96%),
    linear-gradient(180deg, transparent 0%, #000 18%, #000 84%, transparent 100%);
  mask-composite: intersect;
}

.site-bg-venom {
  right: 0;
  width: 60%;
  background-image: url('../assets/bg-gaddafi-venom.jpg');
  background-position: center 74%;
  opacity: 0.28;
  mix-blend-mode: screen;
  filter: contrast(1.12) brightness(1.08) saturate(1.18);
  -webkit-mask-image:
    linear-gradient(270deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.72) 54%, transparent 96%),
    linear-gradient(180deg, transparent 4%, #000 26%, #000 88%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(270deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.72) 54%, transparent 96%),
    linear-gradient(180deg, transparent 4%, #000 26%, #000 88%, transparent 100%);
  mask-composite: intersect;
}

.site-bg-vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 45%, rgba(7, 7, 9, 0.16) 0%, rgba(7, 7, 9, 0.62) 76%, rgba(7, 7, 9, 0.88) 100%),
    linear-gradient(180deg, rgba(7, 7, 9, 0.52) 0%, rgba(7, 7, 9, 0.18) 45%, rgba(7, 7, 9, 0.72) 100%);
}

.font-display {
  font-family: 'Bebas Neue', 'Noto Sans Malayalam', 'Outfit', sans-serif;
  letter-spacing: 0.04em;
}

.font-komban {
  font-family: 'Outfit', system-ui, -apple-system, sans-serif;
  font-weight: 800;
  font-style: normal;
  letter-spacing: 0.02em;
}

.komban-logo-glow {
  filter: drop-shadow(0 0 10px rgba(255, 30, 45, 0.35)) drop-shadow(0 0 4px rgba(255, 255, 255, 0.14));
}

.komban-navbar-wordmark {
  filter:
    drop-shadow(0 0 10px rgba(255, 30, 45, 0.42))
    drop-shadow(0 2px 6px rgba(255, 183, 3, 0.22))
    brightness(1.06)
    contrast(1.06);
  transition: filter 0.25s ease, transform 0.25s ease;
}

.group:hover .komban-navbar-wordmark {
  filter:
    drop-shadow(0 0 14px rgba(255, 30, 45, 0.65))
    drop-shadow(0 2px 10px rgba(255, 183, 3, 0.38))
    brightness(1.12);
}

.font-malayalam {
  font-family: 'Noto Sans Malayalam', 'Outfit', sans-serif;
}

.font-mono-tech {
  font-family: 'JetBrains Mono', monospace;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #060608;
}
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #FF1E2D, #FFB703);
  border-radius: 999px;
}

/* ==========================================================================
   RED-EYED TUSKER SVG & EMBLEM ANIMATIONS
   ========================================================================== */
.svg-red-eye {
  filter: drop-shadow(0 0 4px #FF1E2D) drop-shadow(0 0 8px #FF1E2D);
  animation: redEyePulse 2.4s ease-in-out infinite alternate;
}

@keyframes redEyePulse {
  0% { opacity: 0.8; filter: drop-shadow(0 0 3px #FF1E2D); }
  100% { opacity: 1; filter: drop-shadow(0 0 8px #FF1E2D) drop-shadow(0 0 14px rgba(255, 30, 45, 0.8)); }
}

.tusker-breathe {
  animation: tuskerFloat 7s ease-in-out infinite alternate;
}

@keyframes tuskerFloat {
  0% { transform: scale(1.01) translateY(0px); }
  100% { transform: scale(1.05) translateY(-6px); }
}

.tusker-eye-hotspot {
  position: absolute;
  width: 26px;
  height: 14px;
  border-radius: 9999px;
  background: radial-gradient(circle, rgba(255, 45, 58, 0.9) 0%, rgba(255, 30, 45, 0.35) 55%, transparent 75%);
  mix-blend-mode: screen;
  filter: blur(4px);
  pointer-events: none;
  animation: eyeFlare 2.2s ease-in-out infinite alternate;
}

@keyframes eyeFlare {
  0% { transform: scale(0.95); opacity: 0.55; }
  100% { transform: scale(1.35); opacity: 0.95; }
}

.bg-tusker-aura {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(255, 30, 45, 0.14), transparent 55%),
    radial-gradient(ellipse at 85% 65%, rgba(255, 183, 3, 0.08), transparent 45%),
    #08080c;
}

/* ==========================================================================
   CINEMATIC PRELOADER (Red-Eyed Tusker Awakening)
   ========================================================================== */
#komban-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: radial-gradient(circle at 50% 48%, #210609 0%, #090709 55%, #030304 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  will-change: transform, opacity;
}

#preloader-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.preloader-tusker-wrap {
  position: absolute;
  width: min(72vw, 520px);
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
  opacity: 0.52;
  mask-image: radial-gradient(circle at center, black 40%, transparent 76%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 76%);
}

.preloader-tusker-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.12) brightness(0.75);
}

.preloader-eye {
  position: absolute;
  top: 34%;
  width: 24px;
  height: 12px;
  border-radius: 50%;
  background: #FF1E2D;
  box-shadow:
    0 0 22px 10px rgba(255, 30, 45, 0.9),
    0 0 65px 25px rgba(255, 30, 45, 0.65);
  pointer-events: none;
}

.preloader-eye-left { left: 36%; }
.preloader-eye-right { right: 35%; }

.preloader-smoke {
  position: absolute;
  width: 140%;
  height: 60%;
  bottom: -15%;
  left: -20%;
  background:
    radial-gradient(ellipse at 30% 60%, rgba(255, 30, 45, 0.24), transparent 60%),
    radial-gradient(ellipse at 70% 55%, rgba(255, 183, 3, 0.14), transparent 60%),
    radial-gradient(ellipse at 50% 80%, rgba(255, 255, 255, 0.05), transparent 65%);
  filter: blur(48px);
  animation: smokeDrift 7s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes smokeDrift {
  0% { transform: translate3d(-3%, 2%, 0) scale(1); opacity: 0.65; }
  100% { transform: translate3d(3%, -4%, 0) scale(1.12); opacity: 0.95; }
}

.light-streak {
  position: absolute;
  height: 2px;
  width: 48vw;
  background: linear-gradient(90deg, transparent, #FF1E2D, #FFB703, #ffffff, transparent);
  filter: blur(1px);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}

.komban-3d-stage {
  perspective: 1100px;
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 0 1rem;
}

.komban-3d-word {
  width: min(82vw, 540px);
  height: auto;
  display: block;
  margin: 0.25rem auto 0;
  object-fit: contain;
  position: relative;
  transform-style: preserve-3d;
  user-select: none;
  filter:
    drop-shadow(0 0 28px rgba(255, 30, 45, 0.55))
    drop-shadow(0 14px 30px rgba(255, 183, 3, 0.35));
}

/* ==========================================================================
   GLASSMORPHISM, NEON BORDERS & GLOWING BUTTONS
   ========================================================================== */
.glass-panel {
  background: linear-gradient(145deg, rgba(22, 20, 26, 0.88), rgba(10, 10, 14, 0.94));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-nav {
  background: rgba(7, 7, 9, 0.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 30, 45, 0.22);
}

.btn-glow-gold {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #FFB703 0%, #FB8500 50%, #E63946 100%);
  background-size: 200% 200%;
  color: #09090b;
  font-weight: 700;
  box-shadow: 0 0 24px rgba(255, 183, 3, 0.32);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, background-position 0.4s ease;
}

.btn-glow-gold:hover {
  transform: translateY(-2px) scale(1.02);
  background-position: 100% 50%;
  box-shadow: 0 0 36px rgba(255, 183, 3, 0.6), 0 0 18px rgba(255, 30, 45, 0.45);
}

.btn-glow-crimson {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #FF1E2D 0%, #B91C1C 55%, #FFB703 135%);
  background-size: 200% 200%;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 0 26px rgba(255, 30, 45, 0.42);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease, background-position 0.4s ease;
}

.btn-glow-crimson:hover {
  transform: translateY(-2px) scale(1.02);
  background-position: 100% 50%;
  box-shadow: 0 0 38px rgba(255, 30, 45, 0.72), 0 0 16px rgba(255, 183, 3, 0.35);
}

.btn-glow-gold::before,
.btn-glow-crimson::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 65%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  transform: skewX(-22deg);
  transition: left 0.65s ease;
}

.btn-glow-gold:hover::before,
.btn-glow-crimson:hover::before {
  left: 145%;
}

.btn-outline-neon {
  border: 1px solid rgba(255, 183, 3, 0.45);
  background: rgba(255, 183, 3, 0.06);
  color: #FFB703;
  transition: all 0.25s ease;
}

.btn-outline-neon:hover {
  border-color: #FFB703;
  background: rgba(255, 183, 3, 0.16);
  box-shadow: 0 0 22px rgba(255, 183, 3, 0.28);
  transform: translateY(-2px);
}

/* ==========================================================================
   3D CARD TILT + RED-EYE CRIMSON SPECULAR HIGHLIGHT
   ========================================================================== */
.tilt-card {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.22s cubic-bezier(0.03, 0.98, 0.52, 0.99), border-color 0.3s ease, box-shadow 0.3s ease;
  will-change: transform;
}

.tilt-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(
    420px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(255, 30, 45, 0.16),
    rgba(255, 183, 3, 0.08) 38%,
    transparent 68%
  );
  opacity: 0;
  transition: opacity 0.25s ease;
}

.tilt-card:hover::after {
  opacity: 1;
}

.tilt-card:hover {
  border-color: rgba(255, 30, 45, 0.5);
  box-shadow: 0 22px 48px -15px rgba(0, 0, 0, 0.9), 0 0 32px rgba(255, 30, 45, 0.16);
}

/* ==========================================================================
   KINETIC MARQUEE & SOUND EQUALIZER BARS
   ========================================================================== */
.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 36s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

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

.eq-bar {
  width: 3px;
  border-radius: 999px;
  background: linear-gradient(180deg, #FF1E2D, #FFB703);
  animation: eqBounce 0.9s ease-in-out infinite alternate;
}

.eq-bar:nth-child(2) { animation-delay: 0.18s; }
.eq-bar:nth-child(3) { animation-delay: 0.36s; }
.eq-bar:nth-child(4) { animation-delay: 0.1s; }
.eq-bar:nth-child(5) { animation-delay: 0.42s; }

@keyframes eqBounce {
  0% { height: 5px; opacity: 0.65; }
  100% { height: 18px; opacity: 1; }
}

/* Grid & Overlay Utilities */
.bg-cyber-grid {
  background-image:
    linear-gradient(to right, rgba(255, 30, 45, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 183, 3, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
}

.noise-overlay {
  background-image: radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 0);
  background-size: 24px 24px;
}

.modal-backdrop {
  background: rgba(4, 4, 6, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}
.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
