/* ══════════════════════════════════════════════
   EXILIUM — HERO SECTION
   Banner principal con dragón, stats, light sweep.
   ══════════════════════════════════════════════ */

.hero {
  margin: 28px 0 24px;
  background-image: url('img/hero-bg.png') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  border: 1px solid rgba(200,146,42,0.3) !important;
  border-radius: 2px !important;
  padding: 28px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  overflow: hidden;
  min-height: 180px !important;
  box-shadow:
    0 0 0 1px rgba(200,146,42,0.06),
    0 0 60px rgba(0,0,0,0.5),
    inset 0 0 80px rgba(200,146,42,0.025) !important;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,5,10,0.95) 0%, rgba(5,5,10,0.55) 50%, rgba(5,5,10,0.95) 100%),
    url('img/embers.png') !important;
  background-size: cover, cover !important;
  opacity: 0.85 !important;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-bright), var(--gold), transparent);
  animation: heroTopLine 3s ease-in-out infinite alternate;
}

/* ── Light sweep ── */
.hero-light-sweep {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.hero-light-sweep::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(200,146,42,0.025) 20deg, transparent 40deg);
  animation: heroSweep 16s linear infinite;
}
.hero-light-sweep::after {
  content: '';
  position: absolute;
  top: -30%; left: -30%;
  width: 160%; height: 160%;
  background: conic-gradient(from 180deg at 50% 50%, transparent 0deg, rgba(139,26,26,0.015) 15deg, transparent 30deg);
  animation: heroSweepReverse 22s linear infinite;
}

/* ── Bottom glow ── */
.hero-bottom-glow {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(0deg, rgba(200,146,42,0.04) 0%, transparent 100%);
  animation: heroBottomPulse 5s ease-in-out infinite alternate;
}

/* ── Dragon ── */
.hero-dragon {
  position: absolute;
  right: -30px;
  top: 50%;
  transform: translateY(-50%);
  height: 185%;
  max-height: 420px;
  object-fit: contain;
  opacity: 0.55;
  filter: brightness(0.85) contrast(1.1) saturate(0.45) drop-shadow(0 0 25px rgba(80,60,40,0.5));
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.2) 18%, rgba(0,0,0,0.8) 50%, black 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.2) 18%, rgba(0,0,0,0.8) 50%, black 100%);
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.8s var(--ease-premium), transform 0.8s var(--ease-out-quart);
}
.hero:hover .hero-dragon { opacity: 0.72; transform: translateY(-50%) scale(1.04); }

/* ── Corner decorations ── */
.hero-corner {
  position: absolute;
  width: 36px;
  height: 36px;
  border-color: var(--gold);
  border-style: solid;
  opacity: 0.3;
  transition: all 0.5s var(--ease-premium);
}
.hero:hover .hero-corner { opacity: 0.55; width: 40px; height: 40px; }
.hero-corner.tl { top: 8px;    left: 8px;   border-width: 1px 0 0 1px; }
.hero-corner.tr { top: 8px;    right: 8px;  border-width: 1px 1px 0 0; }
.hero-corner.bl { bottom: 8px; left: 8px;   border-width: 0 0 1px 1px; }
.hero-corner.br { bottom: 8px; right: 8px;  border-width: 0 1px 1px 0; }

/* ── Content ── */
.hero-left { position: relative; z-index: 1; }
.hero-season {
  font-family: 'Cinzel Decorative', serif;
  font-size: 26px !important;
  font-weight: 900;
  letter-spacing: 4px !important;
  background: linear-gradient(135deg, var(--gold-dim) 0%, var(--gold) 20%, var(--gold-bright) 40%, var(--gold-pale) 55%, var(--gold-bright) 70%, var(--gold) 85%, var(--gold-dim) 100%);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: goldShimmer 6s linear infinite;
  filter: drop-shadow(0 0 20px rgba(232,184,75,0.25));
  position: relative;
}
.hero-season::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold-bright), transparent);
  opacity: 0.5;
}
.hero-subtitle {
  color: var(--text-dim);
  font-size: 15px;
  margin-top: 10px;
  font-style: italic;
  letter-spacing: 0.5px;
  line-height: 1.5;
}
.hero-badges { display: flex; gap: 10px; margin-top: 16px; flex-wrap: wrap; }

/* ── Divider ── */
.hero-divider {
  width: 1px;
  height: 80px;
  position: relative;
  z-index: 1;
  overflow: visible;
}
.hero-divider::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, var(--gold-border), transparent);
}
.hero-divider::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px rgba(232,184,75,0.4);
  animation: dividerDot 3s ease-in-out infinite alternate;
}

/* ── Stats ── */
.hero-stats { display: flex; gap: 32px; position: relative; z-index: 1; }
.hero-stat { text-align: center; position: relative; }
.hero-stat::before {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,184,75,0.06) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}
.hero-stat:hover::before { opacity: 1; }
.hero-stat-val {
  font-family: 'Cinzel', serif !important;
  font-size: 32px !important;
  font-weight: 900 !important;
  line-height: 1;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 50%, var(--gold-pale) 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  filter: drop-shadow(0 0 10px rgba(232,184,75,0.25)) !important;
  transition: all 0.4s var(--ease-premium);
}
.hero-stat:hover .hero-stat-val { transform: scale(1.08); filter: drop-shadow(0 0 14px rgba(232,184,75,0.5)); }
.hero-stat-lbl {
  font-family: 'Cinzel', serif !important;
  font-size: 9px !important;
  color: var(--text-muted) !important;
  letter-spacing: 2.5px !important;
  text-transform: uppercase !important;
  margin-top: 4px !important;
  transition: color 0.3s;
}
.hero-stat:hover .hero-stat-lbl { color: var(--text-dim); }
