/* ============================================================
   AetherionRO — Animation layer (loads after flux.css)
   ============================================================ */

/* Palette shift — match the frost-arrow cursor (icy blue + white + gold) */
:root{
  --teal:#5ec2ff;--teal-soft:#cfeaff;
  --gold:#e0b168;--gold-soft:#f6e2b6;
  --line:rgba(94,194,255,.24);--line-strong:rgba(224,177,104,.32);
  --bg:#0c2233;--bg-soft:#123048;--surface:#173e58;--surface-2:#1c4a68;--surface-3:#215678;
  --muted:#b9cdd6;
}

html{scroll-behavior:smooth;}

/* Animated depth backdrop */
body{position:relative;}
body::before{
  content:'';
  position:fixed;inset:0;z-index:-2;pointer-events:none;
  background:
    radial-gradient(1000px 650px at 12% -8%, rgba(94,194,255,.1), transparent 60%),
    radial-gradient(900px 700px at 100% 6%, rgba(224,177,104,.08), transparent 55%),
    radial-gradient(1100px 850px at 50% 115%, rgba(94,194,255,.07), transparent 60%);
  background-size:140% 140%,140% 140%,140% 140%;
  animation:aeBgDrift 26s ease-in-out infinite;
}
@keyframes aeBgDrift{
  0%,100%{background-position:0% 0%, 100% 0%, 50% 100%;}
  50%{background-position:8% 6%, 92% 8%, 55% 90%;}
}
#ae-particles{position:fixed;inset:0;z-index:-1;pointer-events:none;}

/* Hero glow orbs — slow pulse */
.hero-glow-one, .hero-glow-two{animation:aeGlowPulse 7s ease-in-out infinite;}
.hero-glow-two{animation-delay:1.4s;}
@keyframes aeGlowPulse{
  0%,100%{opacity:.7;transform:scale(1);}
  50%{opacity:1;transform:scale(1.12);}
}

/* Hero wordmark — soft shine sweep */
.hero-logo{background-size:200% 100%;animation:aeLogoShine 6s ease-in-out infinite;}
@keyframes aeLogoShine{
  0%,100%{background-position:0% 0%;}
  50%{background-position:100% 0%;}
}

/* Reveal on load — pure CSS, never depends on JS timing so content can never get stuck invisible */
.content-card, .sidebar-col > *{animation:aeRevealIn .7s ease both;}
@keyframes aeRevealIn{from{opacity:0;transform:translateY(16px);}to{opacity:1;transform:translateY(0);}}

/* Nav underline sweep */
.top-nav a{position:relative;}
.top-nav a::after{
  content:'';position:absolute;left:0;bottom:-4px;width:0;height:2px;
  background:linear-gradient(90deg,var(--gold),#36d6cf);
  transition:width .3s ease;
}
.top-nav a:hover::after, .top-nav a.is-active::after{width:100%;}

/* Table row hover polish */
table tr{transition:background .2s ease;}

.footer-bottom-center{justify-content:center!important;align-items:center!important;gap:18px;text-align:center;flex-wrap:wrap;}

/* New full AetherionRO logo (navbar + footer) */
.brand{display:flex;align-items:center;}
.brand-logo-img{height:64px;width:auto;object-fit:contain;display:block;}
.footer-logo-img{height:96px;width:auto;object-fit:contain;display:block;}
@media(max-width:760px){.brand-logo-img{height:52px;}}
@media(max-width:500px){.brand-logo-img{height:46px;}.footer-logo-img{height:80px;}}

/* Custom cursor — frost arrow */
html, body {
	cursor: url('../img/ro-cursor.png') 3 6, auto;
}
a, button, .btn, input[type=submit], .nav-cta, .footer-play {
	cursor: url('../img/ro-cursor.png') 3 6, pointer;
}

/* Brighter hero — let the new sky banner show through */
.hero{
  background:
    linear-gradient(90deg, rgba(6,26,42,.82) 0%, rgba(8,32,50,.62) 40%, rgba(8,32,50,.22) 68%, rgba(8,32,50,.08) 100%),
    linear-gradient(0deg, rgba(8,32,50,.55) 0%, transparent 40%),
    url('../img/aetherion-hero.png?v=2') center 42%/cover no-repeat !important;
}

/* Hero title: real wordmark image instead of gradient-text "AetherionRO". */
.hero-logo-img {
  background: none !important;
  -webkit-text-fill-color: initial !important;
  color: transparent !important;
}
.hero-logo-img img {
  display: block;
  width: 560px;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 22px rgba(0,0,0,.35));
}
@media (max-width: 1120px) {
  .hero-logo-img img { width: 460px; }
}
@media (max-width: 760px) {
  .hero-logo-img img { width: 340px; }
}
@media (max-width: 500px) {
  .hero-logo-img img { width: 260px; }
}
