/* ═══════════════════════════════════════════════════════════
   HERO SECTION - ENHANCED ANIMATIONS (WARM DARK THEME)
   ═══════════════════════════════════════════════════════════ */

/* ─── TOKENS SYNCED WITH advertise.css v5 ─── */
:root {
  --hero-primary: #F97316;
  --hero-primary-light: #FB923C;
  --hero-primary-dark: #EA580C;
  --hero-primary-glow: rgba(249,115,22,0.18);
  --hero-gold: #E8A838;
  --hero-bg: #14100D;
  --hero-bg-deep: #0F0C0A;
}

/* ═══════════════════════════════════════════════════════════
   ANIMATED BACKGROUND LAYERS
   ═══════════════════════════════════════════════════════════ */

.hero-bg {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  z-index: 1 !important;
}

.hero-gradient {
  position: absolute;
  width: 200%;
  height: 200%;
  top: -50%;
  left: -50%;
  background:
    radial-gradient(circle at 25% 40%, rgba(249,115,22,0.12) 0%, transparent 50%),
    radial-gradient(circle at 75% 55%, rgba(249,115,22,0.08) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(232,168,56,0.06) 0%, transparent 40%);
  animation: rotateGradient 24s linear infinite;
}

@keyframes rotateGradient {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════════════════════════
   FLOATING SIOPAO ELEMENTS
   ═══════════════════════════════════════════════════════════ */

.floating-siopao {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.siopao-float {
  position: absolute;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle at 30% 30%, rgba(255,220,180,0.3), rgba(249,115,22,0.1));
  border-radius: 50%;
  backdrop-filter: blur(2px);
  box-shadow: 0 8px 32px rgba(249,115,22,0.15);
}

.siopao-1 {
  top: 10%;
  left: 10%;
  animation: floatSiopao 8s ease-in-out infinite;
}
.siopao-2 {
  top: 60%;
  left: 15%;
  width: 60px;
  height: 60px;
  animation: floatSiopao 10s ease-in-out infinite 2s;
}
.siopao-3 {
  top: 30%;
  right: 10%;
  width: 100px;
  height: 100px;
  animation: floatSiopao 12s ease-in-out infinite 1s;
}
.siopao-4 {
  bottom: 20%;
  right: 20%;
  width: 70px;
  height: 70px;
  animation: floatSiopao 9s ease-in-out infinite 3s;
}
.siopao-5 {
  bottom: 10%;
  left: 30%;
  width: 90px;
  height: 90px;
  animation: floatSiopao 11s ease-in-out infinite 1.5s;
}

@keyframes floatSiopao {
  0%, 100% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0.2; }
  25%      { transform: translateY(-30px) translateX(20px) rotate(90deg); opacity: 0.4; }
  50%      { transform: translateY(-60px) translateX(0) rotate(180deg); opacity: 0.2; }
  75%      { transform: translateY(-30px) translateX(-20px) rotate(270deg); opacity: 0.4; }
}

/* ═══════════════════════════════════════════════════════════
   GLOWING ORBS
   ═══════════════════════════════════════════════════════════ */

.orbs {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}

.orb-1 {
  width: 400px;
  height: 400px;
  top: -100px;
  left: -100px;
  background: radial-gradient(circle, rgba(249,115,22,0.35) 0%, transparent 70%);
  animation: pulseOrb 8s ease-in-out infinite;
}
.orb-2 {
  width: 500px;
  height: 500px;
  top: 30%;
  right: -150px;
  background: radial-gradient(circle, rgba(232,89,12,0.25) 0%, transparent 70%);
  animation: pulseOrb 10s ease-in-out infinite 3s;
}
.orb-3 {
  width: 350px;
  height: 350px;
  bottom: -100px;
  left: 40%;
  background: radial-gradient(circle, rgba(255,159,64,0.25) 0%, transparent 70%);
  animation: pulseOrb 12s ease-in-out infinite 6s;
}

@keyframes pulseOrb {
  0%, 100% { transform: scale(1) translateY(0); opacity: 0.35; }
  50%      { transform: scale(1.2) translateY(-30px); opacity: 0.55; }
}

/* ═══════════════════════════════════════════════════════════
   GRID OVERLAY
   ═══════════════════════════════════════════════════════════ */

.grid-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridMove 20s linear infinite;
  opacity: 0.5;
}

@keyframes gridMove {
  0%   { transform: translateY(0); }
  100% { transform: translateY(50px); }
}

/* ═══════════════════════════════════════════════════════════
   HERO LOGO VISUAL (ANIMATED LOGO + RINGS)
   ═══════════════════════════════════════════════════════════ */

.hero-visual--logo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 52%;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-logo-large {
  position: relative;
  width: 380px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: logoFloat 6s ease-in-out infinite;
}
@keyframes logoFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-20px) rotate(3deg); }
}
.logo-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(249,115,22,0.35) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  animation: glowPulse 3s ease-in-out infinite;
}
@keyframes glowPulse {
  0%, 100% { transform: scale(1); opacity: 0.55; }
  50%      { transform: scale(1.15); opacity: 0.75; }
}
.logo-image {
  position: relative;
  width: 260px;
  height: 260px;
  z-index: 2;
  filter: drop-shadow(0 20px 40px rgba(249,115,22,0.25));
}
.logo-ring,
.logo-ring-2 {
  position: absolute;
  border: 2px solid rgba(249,115,22,0.25);
  border-radius: 50%;
  border-top-color: rgba(249,115,22,0.7);
  border-right-color: rgba(249,115,22,0.7);
}
.logo-ring   { width: 330px; height: 330px; animation: ringRotate 8s linear infinite; }
.logo-ring-2 { width: 380px; height: 380px; animation: ringRotate 12s linear infinite reverse; }
@keyframes ringRotate {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════════════════════════
   HERO SMOKE CANVAS (JS-DRIVEN)
   ═══════════════════════════════════════════════════════════ */

#heroSmokeCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
  opacity: 0.85;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 1024px) {
  .hero-visual--logo { position: relative; width: 100%; order: 2; padding: 3rem 0; }
  .hero-logo-large { width: 280px; height: 280px; }
  .logo-image { width: 200px; height: 200px; }
  .logo-ring { width: 250px; height: 250px; }
  .logo-ring-2 { width: 280px; height: 280px; }
}

@media (max-width: 480px) {
  .hero-logo-large { width: 200px; height: 200px; }
  .logo-image { width: 150px; height: 150px; }
  .logo-ring { width: 180px; height: 180px; }
  .logo-ring-2 { width: 200px; height: 200px; }
}

@media (max-width: 768px) {
  .siopao-float { display: none; }
  .grid-overlay { display: none; }
  .hero-gradient,
  .orb { animation: none !important; }
  .hero-gradient { width: 140%; height: 140%; top: -20%; left: -20%; }
  .orb { opacity: 0.1; }
  .orb-1, .orb-2, .orb-3 { filter: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-gradient,
  .siopao-float,
  .orb,
  .grid-overlay { animation: none !important; }
}
