.hero {
    position: relative;
    z-index: 0;
    display: grid;
    min-height: 430px;
    overflow: hidden;
    place-items: center;
    isolation: isolate;
    text-align: center;
    border-bottom: 1px solid rgba(203, 151, 62, .7);
    background:
        radial-gradient(ellipse at 50% 26%, rgba(153, 70, 190, .3), transparent 37%),
        radial-gradient(ellipse at 18% 86%, rgba(122, 208, 42, .13), transparent 34%),
        radial-gradient(ellipse at 82% 86%, rgba(122, 208, 42, .13), transparent 34%),
        linear-gradient(180deg, #0c0a0f 0%, #160c13 43%, #110b0b 70%, #080908 100%);
    box-shadow: inset 0 -70px 90px rgba(0, 0, 0, .68);
}

.hero::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    pointer-events: none;
    opacity: .7;
    background:
        linear-gradient(90deg, rgba(115, 206, 36, .06), transparent 14% 86%, rgba(115, 206, 36, .06)),
        repeating-linear-gradient(112deg, transparent 0 45px, rgba(204, 151, 62, .022) 46px, transparent 48px);
}

.hero-effects {
    position: absolute;
    z-index: 1;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 30px 20px 38px;
}

.header-logo {
    display: block;
    width: min(520px, 72vw);
    height: auto;
    margin: 0 auto 12px;
    object-fit: contain;
    filter:
        drop-shadow(0 14px 22px rgba(0, 0, 0, .96))
        drop-shadow(0 0 24px rgba(157, 69, 198, .31))
        drop-shadow(0 0 8px rgba(122, 211, 47, .2));
    animation: logoBreath 5s ease-in-out infinite;
}

.subtitle {
    display: flex;
    margin: 0;
    align-items: center;
    justify-content: center;
    gap: 18px;
    color: #ead49b;
    font-size: clamp(18px, 2.1vw, 25px);
    font-style: normal;
    letter-spacing: .4px;
    text-shadow: 0 3px 7px #000, 0 0 13px rgba(159, 226, 69, .12);
}

.subtitle::before,
.subtitle::after {
    content: "";
    width: clamp(45px, 9vw, 145px);
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(206, 162, 70, .85));
}
.subtitle::after { transform: scaleX(-1); }

.arcane-glow {
    position: absolute;
    top: -8%;
    left: 50%;
    width: 620px;
    height: 330px;
    border-radius: 50%;
    transform: translateX(-50%);
    filter: blur(32px);
    background: radial-gradient(ellipse, rgba(191, 112, 238, .31), rgba(101, 42, 135, .13) 48%, transparent 72%);
    animation: arcanePulse 6s ease-in-out infinite;
}

.fel-fog {
    position: absolute;
    bottom: -70px;
    width: 600px;
    height: 230px;
    border-radius: 50%;
    filter: blur(38px);
    background: radial-gradient(ellipse, rgba(146, 234, 57, .28), rgba(57, 110, 25, .08) 53%, transparent 74%);
}
.fel-fog-left { left: -150px; animation: felFogLeft 12s ease-in-out infinite alternate; }
.fel-fog-right { right: -160px; animation: felFogRight 14s ease-in-out infinite alternate; }

.fel-lightning {
    position: absolute;
    top: 17%;
    width: 3px;
    height: 170px;
    opacity: .18;
    filter: drop-shadow(0 0 8px #9eef48);
    background: linear-gradient(#bcff66, transparent);
    clip-path: polygon(40% 0, 100% 0, 64% 30%, 93% 30%, 24% 100%, 45% 47%, 0 47%);
    animation: lightningFlash 7s linear infinite;
}
.fel-lightning-left { left: 12%; transform: rotate(14deg); }
.fel-lightning-right { right: 12%; transform: rotate(-16deg) scaleX(-1); animation-delay: -3.4s; }

.fel-particles { position: absolute; inset: 0; }
.fel-particles i {
    position: absolute;
    bottom: -10px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    opacity: 0;
    background: #c4ff67;
    box-shadow: 0 0 6px #a8ef4c, 0 0 15px rgba(122, 226, 52, .8);
    animation: felParticleRise 8s linear infinite;
}
.fel-particles i:nth-child(1) { left: 3%; animation-delay: 0s; }
.fel-particles i:nth-child(2) { left: 9%; animation-delay: 2.7s; }
.fel-particles i:nth-child(3) { left: 15%; animation-delay: 5.1s; }
.fel-particles i:nth-child(4) { left: 22%; animation-delay: 1.1s; }
.fel-particles i:nth-child(5) { left: 29%; animation-delay: 6.2s; }
.fel-particles i:nth-child(6) { left: 35%; animation-delay: 3.4s; }
.fel-particles i:nth-child(7) { left: 42%; animation-delay: 7s; }
.fel-particles i:nth-child(8) { left: 48%; animation-delay: 1.8s; }
.fel-particles i:nth-child(9) { left: 55%; animation-delay: 4.7s; }
.fel-particles i:nth-child(10) { left: 61%; animation-delay: .7s; }
.fel-particles i:nth-child(11) { left: 68%; animation-delay: 6.6s; }
.fel-particles i:nth-child(12) { left: 74%; animation-delay: 2.2s; }
.fel-particles i:nth-child(13) { left: 80%; animation-delay: 5.7s; }
.fel-particles i:nth-child(14) { left: 86%; animation-delay: 3s; }
.fel-particles i:nth-child(15) { left: 92%; animation-delay: 7.4s; }
.fel-particles i:nth-child(16) { left: 97%; animation-delay: 1.4s; }
.fel-particles i:nth-child(17) { left: 18%; animation-delay: 4s; }
.fel-particles i:nth-child(18) { left: 83%; animation-delay: .2s; }
