/* ==========================================================================
   VM THOTTAM ASEEL GROUPS - HERO SECTION
   Strict modular rules: <= 300 lines
   Dual Transparent Video Flanking Birds & Mobile Face-off Arena
   Order: Top Logo -> Birds Face-Off -> Title & Details
   ========================================================================== */

.hero-section {
  position: relative;
  padding-top: clamp(1.5rem, 3.5vw, 2.8rem);
  padding-bottom: clamp(1.8rem, 3.5vw, 2.8rem);
  overflow: hidden;
  text-align: center;
}

/* Ambient Radial Glow */
.hero-section::before {
  content: '';
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 80vw;
  max-width: 950px;
  height: 480px;
  background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.2) 0%, rgba(139, 0, 0, 0.12) 45%, transparent 75%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
}

.hero-stage-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.0rem;
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Desktop Flanking Bird Stages */
.hero-bird-stage {
  flex: 0 0 clamp(180px, 22vw, 320px);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  pointer-events: none;
}

.hero-bird-video {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  background: transparent !important;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 15px rgba(212, 175, 55, 0.25));
}

.bird-caption-badge {
  font-family: var(--font-tamil);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--accent-gold);
  background: rgba(15, 15, 22, 0.85);
  border: 1px solid var(--border-subtle);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-top: -10px;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.hero-content {
  flex: 1;
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-subhead-tag {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent-gold);
  margin-bottom: 0.6rem;
}

/* Center Emblem Badge */
.hero-emblem-wrapper {
  margin: 0 auto 0.8rem;
  display: flex;
  justify-content: center;
  position: relative;
}

.hero-emblem-img {
  width: clamp(140px, 18vw, 210px);
  height: auto;
  object-fit: contain;
  background: transparent !important;
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 20px rgba(212, 175, 55, 0.35));
  animation: emblemPulse 4s ease-in-out infinite alternate;
}

@keyframes emblemPulse {
  0% { transform: scale(1); filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 15px rgba(212, 175, 55, 0.3)); }
  100% { transform: scale(1.02); filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 25px rgba(212, 175, 55, 0.5)); }
}

/* Mobile Face-off Arena Container (Directly below emblem) */
.mobile-faceoff-arena {
  display: none;
  width: 100%;
  max-width: 440px;
  margin: 0.6rem auto 0.8rem;
  position: relative;
}

.faceoff-birds-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.4rem;
}

.faceoff-bird-box {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faceoff-bird-box .hero-bird-video {
  max-height: 190px;
  width: 100%;
}

.faceoff-vs-badge {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 800;
  color: #000000;
  background: var(--accent-gold);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  box-shadow: 0 0 15px var(--accent-gold-glow);
  letter-spacing: 0.05em;
  transform: translateY(-8px);
}

.faceoff-caption {
  font-family: var(--font-tamil);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent-gold);
  background: rgba(12, 12, 18, 0.85);
  border: 1px solid var(--border-subtle);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  margin-top: -6px;
  white-space: nowrap;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.95rem;
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--accent-gold);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.hero-title {
  font-family: var(--font-tamil);
  font-size: clamp(1.5rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.hero-title .gold-gradient {
  background: linear-gradient(135deg, #ffffff 15%, var(--accent-gold) 65%, #aa820a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-motto {
  font-size: clamp(0.88rem, 1.4vw, 1.05rem);
  color: #e2dbce;
  font-weight: 500;
  max-width: 680px;
  margin: 0 auto 1.1rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}

/* Stats Counter Grid */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  background: rgba(18, 18, 25, 0.7);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 0.9rem 0.8rem;
  backdrop-filter: blur(12px);
  width: 100%;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -0.4rem;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(212, 175, 55, 0.2);
}

.stat-num {
  font-family: var(--font-ui);
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  font-weight: 800;
  color: var(--accent-gold);
  line-height: 1.1;
  text-shadow: 0 0 16px var(--accent-gold-glow);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  font-weight: 500;
}

/* Mobile & Tablet Layout Rules */
@media (max-width: 960px) {
  .hero-bird-stage {
    display: none; /* Hide large desktop flank stages */
  }
  .mobile-faceoff-arena {
    display: block; /* Activate compact face-off arena on mobile */
  }
  .hero-stage-container {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem 0.4rem;
    padding: 0.75rem 0.5rem;
  }
  .stat-item:nth-child(2)::after {
    display: none;
  }
  .hero-actions .btn {
    width: 100%;
    max-width: 320px;
  }
  .faceoff-birds-row {
    gap: 0.2rem;
  }
  .faceoff-bird-box .hero-bird-video {
    max-height: 160px;
  }
  .faceoff-vs-badge {
    font-size: 0.68rem;
    padding: 0.2rem 0.45rem;
  }
  .faceoff-caption {
    font-size: 0.62rem;
    padding: 0.12rem 0.4rem;
  }
}

@media (max-width: 380px) {
  .stat-num {
    font-size: 1.15rem;
  }
  .stat-label {
    font-size: 0.7rem;
  }
  .hero-title {
    font-size: 1.35rem;
  }
  .faceoff-bird-box .hero-bird-video {
    max-height: 135px;
  }
}
