* {
    box-sizing: border-box;
}

:root {
    --bg-0: #08060f;
    --bg-1: #120b22;
    --bg-2: #1a1230;
    --text-main: #f4f1fb;
    --text-muted: #c7bddb;
    --line-soft: rgba(218, 184, 111, 0.28);
    --line-strong: rgba(242, 203, 126, 0.5);
    --surface-a: rgba(20, 14, 36, 0.9);
    --surface-b: rgba(13, 10, 25, 0.84);
    --accent-red-1: #7d3fc9;
    --accent-red-2: #4f2389;
    --accent-gold-1: #f5cf82;
    --accent-gold-2: #bb8c3d;
    --edge-glow: rgba(242, 203, 126, 0.28);
    --edge-shadow: rgba(112, 67, 190, 0.22);
}

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    color: var(--text-main);
    background:
        linear-gradient(145deg, #100b1d 0%, #170f2d 45%, #0f0b19 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.theme-blood-crown {
    position: relative;
}

.theme-blood-crown::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(circle at 20% -10%, rgba(245, 207, 130, 0.08), transparent 38%),
        radial-gradient(circle at 80% 120%, rgba(125, 63, 201, 0.12), transparent 40%);
}

.bg-crown {
    position: fixed;
    width: min(58vw, 520px);
    aspect-ratio: 1;
    right: -90px;
    top: 52%;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 0;
    opacity: 0.42;
    background-color: transparent;
    mix-blend-mode: lighten;
    filter: saturate(1.08) contrast(1.06);
    -webkit-mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 54%, rgba(0, 0, 0, 0) 88%);
    mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 1) 54%, rgba(0, 0, 0, 0) 88%);
    transition: transform 0.15s ease-out;
    background: no-repeat center / contain url("blood-crown-logo.png");
    animation: crownFloat 7s ease-in-out infinite;
}

.spark-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.blood-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

/* No static blob / second-layer blood — rain only */
.blood-layer::before,
.blood-layer::after {
    content: none;
    display: none;
}

.blood-drop {
    position: absolute;
    width: var(--blood-size, 6px);
    height: calc(var(--blood-size, 6px) * 3.45);
    border-radius: 52% 48% 45% 55% / 62% 60% 40% 38%;
    background: linear-gradient(180deg, #9d0208 0%, #6d0008 48%, #3c0003 100%);
    box-shadow:
        0 0 4px rgba(118, 0, 0, 0.44),
        0 0 8px rgba(90, 0, 0, 0.2),
        inset 0 -2px 3px rgba(26, 0, 0, 0.62),
        inset 0 1px 1px rgba(255, 84, 84, 0.18);
    opacity: 0;
    transform-origin: top center;
    animation: bloodDropFall var(--blood-duration, 4600ms) cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

.blood-rain-drop {
    position: absolute;
    width: var(--rain-width, 1px);
    height: var(--rain-length, 16px);
    border-radius: 999px;
    background: linear-gradient(
        180deg,
        rgba(126, 0, 0, 0) 0%,
        rgba(126, 0, 0, calc(var(--rain-alpha, 0.82) * 0.38)) 22%,
        rgba(136, 0, 0, var(--rain-alpha, 0.82)) 74%,
        rgba(74, 0, 0, calc(var(--rain-alpha, 0.82) + 0.08)) 100%
    );
    opacity: 0;
    filter: blur(var(--rain-blur, 0px));
    transform-origin: center top;
    animation: bloodRainFall var(--rain-duration, 1200ms) linear forwards;
}

.blood-rain-drop::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: 55%;
    height: 72%;
    transform: translateX(-50%);
    border-radius: 999px;
    background: linear-gradient(
        180deg,
        rgba(118, 0, 0, 0) 0%,
        rgba(118, 0, 0, calc(var(--rain-alpha, 0.75) * 0.35)) 40%,
        rgba(118, 0, 0, 0) 100%
    );
    opacity: 0.9;
}

.blood-rain-drop::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -1px;
    width: calc(var(--rain-width, 1px) * 2.2);
    height: calc(var(--rain-width, 1px) * 1.5);
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(130, 0, 0, 0.92) 0%, rgba(84, 0, 0, 0.15) 74%, rgba(84, 0, 0, 0) 100%);
}

.blood-drop::before {
    content: "";
    position: absolute;
    left: 48%;
    top: -142%;
    width: 16%;
    height: 168%;
    transform: translateX(-50%) scaleY(var(--blood-tail-scale, 1));
    transform-origin: bottom center;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(118, 0, 0, 0.7), rgba(118, 0, 0, 0.24), rgba(118, 0, 0, 0));
    opacity: 0.82;
    filter: blur(0.22px);
}

.blood-drop::after {
    content: "";
    position: absolute;
    left: 20%;
    top: 10%;
    width: 30%;
    height: 16%;
    border-radius: 50%;
    background: rgba(255, 120, 120, 0.3);
    filter: blur(0.8px);
}

.blood-drop-large {
    border-radius: 49% 51% 40% 58% / 63% 58% 37% 42%;
    box-shadow:
        0 0 8px rgba(132, 0, 0, 0.72),
        0 0 18px rgba(92, 0, 0, 0.34),
        inset 0 -3px 5px rgba(24, 0, 0, 0.74),
        inset 0 1px 3px rgba(255, 82, 82, 0.22);
}

.blood-drop-trail::before {
    width: 22%;
    height: 225%;
    top: -192%;
    opacity: 0.9;
    background: linear-gradient(180deg, rgba(104, 0, 0, 0.8), rgba(104, 0, 0, 0.28), rgba(104, 0, 0, 0));
}

.blood-mist {
    position: absolute;
    width: var(--mist-size, 140px);
    height: var(--mist-size, 140px);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(125, 8, 8, 0.3) 0%, rgba(92, 0, 8, 0.09) 56%, transparent 100%);
    opacity: 0;
    filter: blur(16px);
    animation: bloodMistFloat var(--mist-duration, 12500ms) ease-out forwards;
}

.blood-splash {
    position: absolute;
    width: var(--splash-size, 26px);
    height: var(--splash-size, 26px);
    border-radius: 50%;
    opacity: 0;
    background:
        radial-gradient(circle at 49% 48%, rgba(114, 0, 0, 0.92) 0 26%, transparent 32% 100%),
        radial-gradient(circle at 16% 26%, rgba(152, 6, 6, 0.84) 0 9%, transparent 13% 100%),
        radial-gradient(circle at 82% 21%, rgba(90, 0, 0, 0.86) 0 8%, transparent 12% 100%),
        radial-gradient(circle at 22% 78%, rgba(120, 0, 0, 0.78) 0 8%, transparent 11% 100%),
        radial-gradient(circle at 78% 78%, rgba(94, 0, 0, 0.76) 0 7%, transparent 10% 100%);
    animation: bloodSplashPulse var(--splash-duration, 3000ms) ease-out forwards;
}

.blood-streak {
    position: absolute;
    border-radius: 0 0 2px 2px;
    background: linear-gradient(180deg,
        rgba(128, 0, 0, 0.95) 0%,
        rgba(88, 0, 0, 0.74) 36%,
        rgba(54, 0, 0, 0.4) 74%,
        rgba(54, 0, 0, 0) 100%);
    opacity: 0;
    animation: bloodStreakSlide var(--streak-duration, 3600ms) ease-in forwards;
}

.blood-streak::after {
    content: "";
    position: absolute;
    left: -2px;
    right: -2px;
    bottom: -8px;
    height: 10px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(128, 0, 0, 0.75), transparent 70%);
}

.blood-puddle {
    position: absolute;
    width: var(--puddle-size, 28px);
    height: calc(var(--puddle-size, 28px) * 0.38);
    transform: translate(-50%, -50%) scale(0.45);
    border-radius: 50%;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(108, 0, 0, 0.78) 0%, rgba(74, 0, 0, 0.56) 58%, rgba(55, 0, 0, 0) 100%),
        radial-gradient(ellipse at 35% 45%, rgba(190, 22, 22, 0.22) 0%, rgba(190, 22, 22, 0) 56%);
    filter: blur(0.3px);
    opacity: 0;
    animation: bloodPuddleSpread var(--puddle-duration, 5200ms) ease-out forwards;
}

.blood-impact-dot {
    position: absolute;
    width: var(--impact-size, 3px);
    height: var(--impact-size, 3px);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(132, 0, 0, 0.9) 0%, rgba(82, 0, 0, 0.5) 68%, rgba(82, 0, 0, 0) 100%);
    opacity: 0;
    transform: translate(-50%, -50%);
    animation: bloodImpactScatter var(--impact-duration, 900ms) cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.blood-ground-ring {
    position: absolute;
    width: var(--ring-size, 10px);
    height: calc(var(--ring-size, 10px) * 0.54);
    border-radius: 50%;
    border: 1px solid rgba(120, 0, 0, 0.62);
    box-shadow: 0 0 6px rgba(96, 0, 0, 0.26);
    transform: translate(-50%, -50%) scale(0.3);
    opacity: 0;
    animation: bloodGroundRing var(--ring-duration, 600ms) ease-out forwards;
}

.blood-rain-hit-splash {
    position: absolute;
    width: var(--hit-splash-size, 9px);
    height: var(--hit-splash-size, 9px);
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(
        circle,
        rgba(132, 0, 0, 0.88) 0 28%,
        rgba(90, 0, 0, 0.35) 52%,
        transparent 70%
    );
    opacity: 0;
    animation: bloodRainHitSplash var(--hit-splash-duration, 420ms) ease-out forwards;
}

@keyframes bloodStreakSlide {
    0% {
        opacity: 0;
        transform: translateY(-100%) scaleY(0.3);
    }
    12% {
        opacity: 0.92;
        transform: translateY(0) scaleY(0.6);
    }
    60% {
        opacity: 0.78;
        transform: translateY(40vh) scaleY(1);
    }
    100% {
        opacity: 0;
        transform: translateY(100vh) scaleY(1.1);
    }
}

@keyframes bloodPuddleSpread {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.4);
    }
    18% {
        opacity: 0.84;
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.08);
    }
}

@keyframes bloodImpactScatter {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) translate(0, 0) scale(0.35);
    }
    16% {
        opacity: 0.95;
    }
    100% {
        opacity: 0;
        transform: translate(
            calc(-50% + var(--impact-x, 0px)),
            calc(-50% + var(--impact-y, 0px))
        ) scale(1);
    }
}

@keyframes bloodRainFall {
    0% {
        opacity: 0;
        transform: translate3d(0, -14px, 0) rotate(var(--rain-tilt, 0deg)) scaleY(0.65);
    }
    10% {
        opacity: 0.95;
    }
    85% {
        opacity: 0.82;
    }
    100% {
        opacity: 0;
        transform: translate3d(var(--rain-drift, 0px), 112vh, 0) rotate(var(--rain-tilt, 0deg)) scaleY(1);
    }
}

.blood-rain-drop--header {
    animation-name: bloodRainFallHeader;
}

@keyframes bloodRainFallHeader {
    0% {
        opacity: 0;
        transform: translate3d(0, -10px, 0) rotate(var(--rain-tilt, 0deg)) scaleY(0.7);
    }
    12% {
        opacity: 0.92;
    }
    100% {
        opacity: 0;
        transform: translate3d(var(--rain-drift, 0px), var(--rain-fall-y, 100px), 0) rotate(var(--rain-tilt, 0deg)) scaleY(1);
    }
}

@keyframes bloodGroundRing {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.3);
    }
    20% {
        opacity: 0.7;
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.8);
    }
}

@keyframes bloodRainHitSplash {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.15);
    }
    40% {
        opacity: 0.92;
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.4);
    }
}

.spark {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 207, 130, 1) 0%, rgba(245, 207, 130, 0) 72%);
    opacity: 0;
    animation: sparkFade 700ms ease-out forwards;
}

.cursor-glow {
    position: fixed;
    width: 170px;
    height: 170px;
    left: 0;
    top: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.22;
    background: radial-gradient(circle, rgba(245, 207, 130, 0.32) 0%, rgba(245, 207, 130, 0.02) 55%, transparent 72%);
    transition: transform 0.08s linear;
}

a {
    color: inherit;
    text-decoration: none;
}

.bg-grid {
    position: fixed;
    inset: 0;
    background-image: linear-gradient(rgba(193, 164, 113, 0.05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(193, 164, 113, 0.05) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: radial-gradient(circle at 50% 20%, black 30%, transparent 90%);
    pointer-events: none;
    z-index: 0;
    display: none;
}

.bg-orb {
    position: fixed;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    filter: blur(44px);
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
    display: none;
}

.orb-1 {
    top: -120px;
    left: -100px;
    background: radial-gradient(circle, #8b4ce0 0%, #40206f 44%, transparent 100%);
}

.orb-2 {
    bottom: -140px;
    right: -120px;
    animation-delay: -5s;
    background: radial-gradient(circle, #f5cf82 0%, #9c7232 44%, transparent 100%);
}

.bg-aurora {
    position: fixed;
    inset: -10% -15%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.55;
    mix-blend-mode: screen;
    background:
        radial-gradient(circle at 30% 25%, rgba(143, 89, 222, 0.34), transparent 40%),
        radial-gradient(circle at 72% 32%, rgba(230, 188, 108, 0.28), transparent 42%),
        radial-gradient(circle at 50% 86%, rgba(82, 56, 145, 0.18), transparent 44%);
    display: none;
}

.bg-rings {
    position: fixed;
    width: 880px;
    aspect-ratio: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.22;
    background:
        radial-gradient(circle, transparent 34%, rgba(231, 188, 110, 0.14) 35%, transparent 37%),
        radial-gradient(circle, transparent 44%, rgba(142, 88, 223, 0.12) 45%, transparent 47%),
        radial-gradient(circle, transparent 56%, rgba(211, 166, 92, 0.1) 57%, transparent 59%);
    display: none;
}

.container {
    width: min(1100px, 94%);
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.site-header {
    border-bottom: 1px solid var(--line-soft);
    background: rgba(12, 8, 24, 0.86);
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 24px rgba(4, 3, 10, 0.36);
    position: relative;
    overflow: hidden;
    position: sticky;
    top: 0;
    z-index: 20;
}

.blood-header-rain {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.site-header::after {
    content: "";
    position: absolute;
    left: -20%;
    right: -20%;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(245, 207, 130, 0.52) 45%, transparent 100%);
    animation: borderSweep 8s linear infinite;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 18px;
    min-height: 72px;
}

.nav nav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.nav nav a {
    padding: 9px 13px;
    border-radius: 10px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    font-size: 14px;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    --mx: 50%;
    --my: 50%;
}

.nav nav a:hover {
    background: rgba(219, 174, 99, 0.14);
    color: var(--accent-gold-1);
    border-color: rgba(245, 207, 130, 0.3);
    transform: translateY(-1px);
}

.nav nav a.active {
    background: linear-gradient(140deg, rgba(130, 74, 207, 0.34), rgba(84, 46, 151, 0.35));
    border-color: rgba(196, 152, 237, 0.5);
    color: #f6ebff;
}

.nav-count {
    margin-left: 6px;
    display: inline-grid;
    place-items: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    background: linear-gradient(140deg, #d44963, #9b2038);
    color: #fff;
}

.pending-alert-wrap {
    position: relative;
    z-index: 10;
}

.pending-alert {
    margin-top: 8px;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(215, 82, 103, 0.45);
    background: rgba(113, 20, 39, 0.42);
    color: #ffe8ec;
}

.nav nav a::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 5px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(245, 207, 130, 0.05), rgba(245, 207, 130, 0.85), rgba(245, 207, 130, 0.05));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.22s ease;
}

.nav nav a:hover::after,
.nav nav a.active::after {
    transform: scaleX(1);
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.brand-title {
    text-transform: uppercase;
    letter-spacing: 1.1px;
    animation: brandTitleFloat 3.6s ease-in-out infinite;
    text-shadow: 0 0 12px rgba(245, 207, 130, 0.22);
    font-size: 16px;
    font-weight: 800;
}

.profile-dropdown {
    position: relative;
    z-index: 3;
}

.profile-trigger {
    position: relative;
    isolation: isolate;
    border: 1px solid rgba(206, 168, 247, 0.34);
    background: linear-gradient(140deg, rgba(36, 20, 66, 0.94), rgba(20, 12, 38, 0.92));
    color: var(--text-main);
    border-radius: 999px;
    padding: 4px 12px 4px 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2px;
    box-shadow: 0 8px 20px rgba(4, 3, 11, 0.52), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
    max-width: 160px;
    overflow: hidden;
    --mx: 50%;
    --my: 50%;
}

.profile-trigger::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
    pointer-events: none;
    z-index: -1;
}

.profile-trigger::after {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #f8e9bf, #c89a4d 72%);
    box-shadow: 0 0 10px rgba(247, 210, 137, 0.6);
    margin-left: 2px;
    flex-shrink: 0;
}

.profile-trigger:hover {
    transform: translateY(-1px) scale(1.01);
    border-color: rgba(233, 198, 255, 0.56);
    background: linear-gradient(140deg, rgba(49, 28, 91, 0.97), rgba(25, 15, 50, 0.95));
    box-shadow: 0 12px 24px rgba(8, 5, 20, 0.62), 0 0 0 1px rgba(245, 207, 130, 0.12);
}

.profile-trigger .avatar-sm {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(239, 207, 147, 0.7);
    box-shadow: 0 0 0 2px rgba(10, 8, 20, 0.72), 0 4px 10px rgba(0, 0, 0, 0.45);
    flex-shrink: 0;
}

.profile-trigger span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 88px;
    color: rgba(244, 239, 255, 0.95);
}

.brand-badge {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #1d1205;
    background: linear-gradient(140deg, var(--accent-gold-1), var(--accent-gold-2));
    box-shadow: 0 6px 16px rgba(198, 151, 73, 0.4);
}

.content {
    padding: 34px 0 40px;
}

.hero {
    padding: 34px;
    border: 1px solid var(--line-strong);
    border-radius: 18px;
    background: linear-gradient(155deg, rgba(38, 19, 70, 0.88), rgba(18, 12, 34, 0.86));
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(212, 168, 90, 0.12);
    margin-bottom: 18px;
    transform-style: preserve-3d;
    animation: riseIn 0.75s ease;
    position: relative;
    overflow: hidden;
    --mx: 50%;
    --my: 50%;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: inherit;
    background:
        radial-gradient(320px circle at var(--mx) var(--my), rgba(245, 207, 130, 0.17), transparent 52%),
        linear-gradient(130deg, rgba(255, 255, 255, 0.06), transparent 24%, transparent 70%, rgba(245, 207, 130, 0.08));
}

.hero::after {
    content: "";
    position: absolute;
    top: -120%;
    left: -10%;
    width: 34%;
    height: 300%;
    transform: rotate(24deg);
    background: linear-gradient(180deg, transparent, rgba(245, 207, 130, 0.14), transparent);
    animation: sheenSlide 9s ease-in-out infinite;
    pointer-events: none;
}

.hero h1 {
    margin-top: 6px;
    margin-bottom: 10px;
    font-size: clamp(30px, 5vw, 44px);
    text-shadow: 0 4px 24px rgba(148, 94, 230, 0.36);
}

.hero-kicker {
    display: inline-flex;
    margin: 0;
    padding: 7px 11px;
    border-radius: 999px;
    background: rgba(212, 167, 91, 0.14);
    border: 1px solid rgba(212, 167, 91, 0.32);
    color: #f2cd8f;
    font-size: 12px;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.stat-card {
    display: grid;
    gap: 4px;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid var(--line-soft);
    background: rgba(27, 14, 22, 0.56);
}

.stat-card strong {
    font-size: 20px;
    color: var(--accent-gold-1);
}

.stat-card span {
    font-size: 13px;
    color: var(--text-muted);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.card {
    border: 1px solid var(--line-soft);
    border-radius: 14px;
    background: linear-gradient(145deg, var(--surface-a), var(--surface-b));
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.26);
    transition: box-shadow 0.24s ease, border-color 0.24s ease;
    animation: riseIn 0.6s ease;
    position: relative;
    overflow: hidden;
    --mx: 50%;
    --my: 50%;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background: radial-gradient(240px circle at var(--mx) var(--my), rgba(245, 207, 130, 0.1), transparent 60%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), inset 0 0 30px rgba(0, 0, 0, 0.1);
}

.card::after {
    content: none;
}

.sub-card {
    margin: 4px 0 0;
    background: rgba(255, 255, 255, 0.02);
}

.card:hover {
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34), 0 0 0 1px var(--edge-glow);
    border-color: var(--line-strong);
}

.card:hover::after {
    content: none;
}

.btn {
    display: inline-block;
    border: none;
    padding: 11px 16px;
    border-radius: 10px;
    background: linear-gradient(140deg, var(--accent-red-1), var(--accent-red-2));
    color: white;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(95, 50, 163, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    position: relative;
    overflow: hidden;
    --mx: 50%;
    --my: 50%;
}

.btn-disabled {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(120, 64, 201, 0.44);
    filter: brightness(1.06);
}

.btn:active {
    transform: translateY(0);
}

.btn-secondary {
    background: linear-gradient(140deg, var(--accent-gold-1), var(--accent-gold-2));
    color: #2b1b07;
    box-shadow: 0 10px 22px rgba(181, 140, 71, 0.35);
}

.btn-discord {
    background: linear-gradient(140deg, #8a54de, #5b2f9b);
}

.reveal-pending {
    opacity: 0;
    transform: translateY(14px) scale(0.99);
    filter: saturate(0.94);
    transition: opacity 0.48s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.48s cubic-bezier(0.2, 0.7, 0.2, 1), filter 0.48s ease;
}

.reveal-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: saturate(1);
}

.tilt-3d {
    transform: perspective(1080px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateZ(0);
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.22s cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
    .reveal-pending,
    .reveal-visible,
    .tilt-3d {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
        animation: none;
    }
}

.form-grid {
    display: grid;
    gap: 13px;
}

label {
    display: grid;
    gap: 7px;
    font-size: 14px;
    color: #e9e0f8;
}

input,
textarea,
select {
    width: 100%;
    border: 1px solid rgba(179, 145, 226, 0.24);
    border-radius: 11px;
    padding: 11px 12px;
    background: rgba(14, 10, 25, 0.82);
    color: var(--text-main);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: rgba(231, 199, 132, 0.7);
    background: rgba(16, 11, 28, 0.94);
    box-shadow: 0 0 0 3px rgba(205, 159, 88, 0.14);
}

input::placeholder,
textarea::placeholder {
    color: rgba(200, 191, 224, 0.58);
}

textarea {
    min-height: 100px;
    resize: vertical;
}

.center-screen {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.intro-card {
    max-width: 560px;
    text-align: center;
    animation: pulseGlow 4.5s ease-in-out infinite;
}

.small-text {
    opacity: 0.75;
    font-size: 13px;
}

.flash {
    border: 1px solid rgba(202, 77, 106, 0.48);
    background: rgba(80, 24, 38, 0.5);
    padding: 10px;
    border-radius: 8px;
}

.application-card {
    margin-top: 12px;
}

.application-fold {
    padding: 0;
    overflow: hidden;
}

.application-summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 16px;
    border-bottom: 1px solid transparent;
}

.application-summary::-webkit-details-marker {
    display: none;
}

.application-summary-main {
    display: grid;
    gap: 2px;
}

.application-owner {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-app-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(205, 159, 89, 0.5);
    box-shadow: 0 0 0 2px rgba(20, 10, 16, 0.58);
    flex-shrink: 0;
}

.application-owner .muted {
    display: block;
    font-size: 12px;
}

.profile-v3 {
    gap: 14px;
}

.profile-v3-header {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto;
    gap: 14px 20px;
    align-items: center;
}

.profile-v3-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-v3-user h2 {
    margin: 0 0 4px;
}

.profile-v3-badges {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.profile-v3-kpis {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(140px, 1fr));
    gap: 10px;
}

.profile-v3-kpis div {
    border: 1px solid var(--line-soft);
    border-radius: 10px;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.02);
}

.profile-v3-kpis span {
    display: block;
    font-size: 12px;
    opacity: 0.78;
    margin-bottom: 4px;
}

.profile-v3-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 14px;
}

.profile-v3-details h3,
.profile-v3-actions h3,
.profile-v3-activity h3 {
    margin-top: 0;
}

.profile-v3-table {
    display: grid;
    gap: 8px;
}

.profile-v3-table div {
    display: grid;
    grid-template-columns: minmax(140px, 180px) 1fr;
    align-items: center;
    gap: 10px;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
    padding-bottom: 6px;
}

.profile-v3-table div:last-child {
    border-bottom: 0;
}

.profile-v3-table span {
    color: var(--text-muted);
    font-size: 13px;
}

.profile-v3-table strong {
    color: var(--text-main);
    word-break: break-word;
}

.profile-v3-actions .hero-actions {
    margin-top: 12px;
}

.live-hub-card {
    margin-top: 2px;
    border-color: rgba(210, 70, 92, 0.45);
    box-shadow: 0 14px 26px rgba(9, 2, 5, 0.46), inset 0 0 0 1px rgba(255, 196, 160, 0.06);
}

.live-hub-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.live-hub-head h3 {
    margin: 0;
}

.live-dot {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 0.6px;
    font-weight: 700;
    color: #ffdfe5;
    border: 1px solid rgba(215, 76, 98, 0.45);
    background: rgba(139, 23, 42, 0.38);
}

.live-ticker {
    margin-top: 10px;
    border-radius: 11px;
    border: 1px solid var(--line-soft);
    background: rgba(255, 255, 255, 0.02);
    overflow: hidden;
    position: relative;
}

.live-ticker-track {
    display: inline-flex;
    align-items: center;
    gap: 28px;
    white-space: nowrap;
    padding: 10px 16px;
    min-width: 100%;
}

.live-ticker-track span {
    position: relative;
    font-size: 13px;
    color: var(--text-main);
    opacity: 0.9;
}

.live-ticker-track span::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(205, 153, 80, 0.84);
    display: inline-block;
    margin-right: 8px;
    box-shadow: 0 0 6px rgba(205, 153, 80, 0.4);
}

.live-chat-box {
    margin-top: 12px;
    display: grid;
    gap: 10px;
}

.live-chat-log {
    min-height: 98px;
    max-height: 170px;
    overflow: auto;
    border: 1px solid var(--line-soft);
    border-radius: 11px;
    background: rgba(12, 6, 12, 0.42);
    padding: 10px 12px;
}

.live-chat-log p {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.45;
}

.live-chat-log p:last-child {
    margin-bottom: 0;
}

.live-chat-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

.live-chat-form .btn {
    min-width: 82px;
}

.livechat-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 14px;
}

.livechat-sidebar,
.livechat-main {
    min-height: 520px;
}

.livechat-head h2 {
    margin: 0 0 6px;
}

.ticket-list {
    margin-top: 12px;
    display: grid;
    gap: 8px;
}

.ticket-item {
    display: grid;
    gap: 4px;
    border: 1px solid var(--line-soft);
    border-radius: 10px;
    padding: 10px 11px;
    background: rgba(255, 255, 255, 0.02);
}

.ticket-item.active,
.ticket-item:hover {
    border-color: var(--line-strong);
    background: rgba(154, 48, 74, 0.15);
}

.livechat-main-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.ticket-chat-log {
    min-height: 300px;
    max-height: 420px;
    overflow: auto;
    border: 1px solid var(--line-soft);
    border-radius: 12px;
    padding: 10px;
    background: rgba(8, 5, 12, 0.45);
    margin-bottom: 10px;
}

.ticket-msg {
    border: 1px solid var(--line-soft);
    border-radius: 10px;
    padding: 8px 10px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.02);
}

.ticket-msg-admin {
    border-color: rgba(212, 167, 90, 0.45);
    background: rgba(151, 111, 49, 0.14);
}

.ticket-msg-user {
    border-color: rgba(174, 79, 103, 0.45);
    background: rgba(126, 34, 56, 0.16);
}

.ticket-msg-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.ticket-msg p {
    margin: 0;
    line-height: 1.45;
}

.ticket-close-form {
    margin-top: 8px;
}

.status-open {
    color: #ffd78d;
}

.status-closed {
    color: #b8a9b4;
}

.players-hero {
    display: grid;
    gap: 8px;
}

.players-hero h2 {
    margin-bottom: 0;
}

.players-hero-stats {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.players-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
}

.player-card {
    display: grid;
    gap: 12px;
}

.player-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.player-rank {
    display: inline-block;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: rgba(146, 45, 69, 0.22);
    border: 1px solid rgba(205, 83, 105, 0.35);
}

.player-badge {
    display: inline-block;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 0.4px;
    background: rgba(116, 79, 31, 0.2);
    border: 1px solid rgba(196, 151, 78, 0.42);
    color: #f2e7d1;
}

.player-card-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.player-card-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(205, 159, 89, 0.5);
    box-shadow: 0 0 0 2px rgba(20, 10, 16, 0.58);
}

.player-card-user h3 {
    margin: 0;
    font-size: 18px;
}

.player-card-user p {
    margin: 2px 0 0;
}

.player-card-meta {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 10px;
    display: grid;
    gap: 3px;
}

.player-card-meta span {
    font-size: 12px;
    color: var(--text-muted);
}

.players-header-v2 {
    display: grid;
    gap: 8px;
}

.players-header-v2 h2 {
    margin: 0;
}

.players-kpi-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.kpi-chip {
    display: inline-block;
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 12px;
    border: 1px solid rgba(205, 160, 90, 0.38);
    background: rgba(121, 82, 34, 0.18);
    color: #f2e5ce;
}

.players-spotlight {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.spotlight-card {
    display: grid;
    gap: 10px;
}

.spotlight-rank {
    display: inline-block;
    width: fit-content;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
    background: rgba(214, 162, 91, 0.18);
    border: 1px solid rgba(214, 162, 91, 0.42);
    color: #f6ebd7;
}

.spotlight-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.spotlight-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(205, 159, 89, 0.5);
    box-shadow: 0 0 0 2px rgba(20, 10, 16, 0.58);
}

.spotlight-user h3 {
    margin: 0;
}

.spotlight-user p {
    margin: 3px 0 0;
}

.spotlight-badge {
    display: inline-block;
    margin-top: 3px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    color: #ffe9bf;
    border: 1px solid rgba(205, 159, 89, 0.45);
    background: rgba(132, 89, 35, 0.24);
}

.players-list-card {
    margin-top: 12px;
}

.players-list-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
}

.players-list-head h3 {
    margin: 0;
}

.players-rows {
    display: grid;
    gap: 8px;
}

.player-row {
    display: grid;
    grid-template-columns: 72px 1fr auto auto;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--line-soft);
    border-radius: 11px;
    padding: 9px 10px;
    background: rgba(255, 255, 255, 0.02);
}

.player-row:hover {
    border-color: var(--line-strong);
    background: rgba(145, 48, 74, 0.12);
}

.row-rank {
    font-weight: 700;
    color: #f4e0b5;
}

.row-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.row-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(205, 159, 89, 0.5);
}

.row-name {
    display: grid;
    gap: 2px;
}

.row-time {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 12px;
    border: 1px solid rgba(172, 124, 215, 0.34);
    background: rgba(119, 69, 187, 0.2);
    color: #f3e8ff;
}

.row-player-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 11px;
    letter-spacing: 0.3px;
    font-weight: 700;
    border: 1px solid rgba(205, 159, 89, 0.45);
    background: rgba(132, 89, 35, 0.24);
    color: #ffe9bf;
}

.players-badge-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 14px;
}

.player-medal-card {
    display: grid;
    gap: 12px;
    justify-items: center;
    text-align: center;
}

.medal-badge {
    position: relative;
    width: 118px;
    height: 118px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 2px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.34);
}

.medal-core {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 8px;
    border: 2px dashed rgba(255, 255, 255, 0.3);
}

.medal-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    line-height: 1.2;
    max-width: 70px;
}

.medal-rank {
    font-size: 20px;
    line-height: 1;
}

.medal-ribbon {
    position: absolute;
    bottom: -14px;
    width: 20px;
    height: 28px;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%);
    border-radius: 2px;
}

.medal-ribbon-left {
    left: 29px;
}

.medal-ribbon-right {
    right: 29px;
}

.medal-gold {
    background: radial-gradient(circle at 30% 25%, #fbeac7 0%, #d6aa64 45%, #976a2f 100%);
}

.medal-gold .medal-core {
    background: radial-gradient(circle at 30% 25%, #fff6df 0%, #e3bf83 52%, #b37f3d 100%);
}

.medal-gold .medal-ribbon {
    background: linear-gradient(180deg, #d7a962, #9a6e34);
}

.medal-silver {
    background: radial-gradient(circle at 30% 25%, #f1f4f7 0%, #b8c2cc 45%, #76838f 100%);
}

.medal-silver .medal-core {
    background: radial-gradient(circle at 30% 25%, #ffffff 0%, #cfd7df 52%, #919ca7 100%);
}

.medal-silver .medal-ribbon {
    background: linear-gradient(180deg, #a9b2bc, #79828d);
}

.medal-bronze {
    background: radial-gradient(circle at 30% 25%, #ffd5b0 0%, #cd8553 45%, #8a4f2d 100%);
}

.medal-bronze .medal-core {
    background: radial-gradient(circle at 30% 25%, #ffe3cc 0%, #d79b6f 52%, #9e623d 100%);
}

.medal-bronze .medal-ribbon {
    background: linear-gradient(180deg, #c78153, #8c532f);
}

.medal-crimson {
    background: radial-gradient(circle at 30% 25%, #ffb0bf 0%, #cf4b64 45%, #88253a 100%);
}

.medal-crimson .medal-core {
    background: radial-gradient(circle at 30% 25%, #ffd4de 0%, #dd6e84 52%, #a13a52 100%);
}

.medal-crimson .medal-ribbon {
    background: linear-gradient(180deg, #c64760, #8e2a3f);
}

.player-medal-user {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
}

.player-medal-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(205, 159, 89, 0.5);
}

.player-medal-user h3 {
    margin: 0;
    font-size: 17px;
}

.player-medal-user p {
    margin: 2px 0 0;
    font-size: 12px;
}

.player-medal-time {
    margin: 0;
    font-size: 12px;
    color: var(--text-muted);
}

/* Players v3 - clean cool badges */
.players-cool-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 12px;
}

.player-cool-card {
    display: grid;
    gap: 12px;
    border-color: rgba(188, 73, 97, 0.34);
}

.player-cool-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.player-cool-rank {
    display: inline-block;
    min-width: 40px;
    text-align: center;
    padding: 4px 8px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 12px;
    background: rgba(125, 31, 51, 0.22);
    border: 1px solid rgba(181, 68, 90, 0.44);
    color: #ffe0e8;
}

.player-cool-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px 5px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.35px;
    border: 1px solid rgba(205, 159, 89, 0.45);
    background: rgba(132, 89, 35, 0.24);
    color: #ffe9bf;
    clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 8px 100%, 0 50%);
}

.player-cool-badge .badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 8px currentColor;
}

.player-cool-badge-gold {
    border-color: rgba(215, 175, 110, 0.6);
    background: linear-gradient(140deg, rgba(178, 133, 56, 0.3), rgba(121, 86, 29, 0.28));
    color: #ffe8b3;
}

.player-cool-badge-silver {
    border-color: rgba(183, 191, 205, 0.58);
    background: linear-gradient(140deg, rgba(125, 136, 154, 0.28), rgba(88, 98, 116, 0.26));
    color: #ecf1fb;
}

.player-cool-badge-bronze {
    border-color: rgba(202, 133, 92, 0.58);
    background: linear-gradient(140deg, rgba(148, 85, 53, 0.3), rgba(103, 57, 35, 0.26));
    color: #ffd9c1;
}

.player-cool-badge-crimson {
    border-color: rgba(198, 84, 108, 0.56);
    background: linear-gradient(140deg, rgba(140, 35, 58, 0.3), rgba(96, 20, 38, 0.27));
    color: #ffd7e1;
}

.player-cool-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.player-cool-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(205, 159, 89, 0.5);
    box-shadow: 0 0 0 2px rgba(20, 10, 16, 0.58);
}

.player-cool-user h3 {
    margin: 0;
    font-size: 18px;
}

.player-cool-user p {
    margin: 2px 0 0;
    font-size: 12px;
}

.player-cool-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 9px;
}

.player-cool-foot span {
    font-size: 12px;
    color: var(--text-muted);
}

.player-cool-foot strong {
    font-size: 12px;
}

@media (max-width: 900px) {
    .profile-v3-header {
        grid-template-columns: 1fr;
    }

    .profile-v3-badges {
        justify-content: flex-start;
    }

    .profile-v3-kpis {
        grid-template-columns: 1fr;
    }

    .profile-v3-grid {
        grid-template-columns: 1fr;
    }

    .profile-v3-table div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .live-chat-form {
        grid-template-columns: 1fr;
    }

    .livechat-layout {
        grid-template-columns: 1fr;
    }

    .livechat-sidebar,
    .livechat-main {
        min-height: 0;
    }

    .player-row {
        grid-template-columns: 1fr;
        align-items: flex-start;
    }

    .row-time {
        margin-top: 4px;
    }
}

.application-summary-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.fold-open-label {
    font-size: 12px;
    opacity: 0.72;
}

.application-fold[open] .application-summary {
    border-bottom-color: var(--line-soft);
}

.fold-status {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.4px;
}

.application-body {
    padding: 14px 16px 16px;
}

.portal-shell {
    display: grid;
    gap: 14px;
}

.profile-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: linear-gradient(140deg, rgba(30, 18, 56, 0.92), rgba(18, 12, 34, 0.84));
    border-color: var(--line-soft);
}

.profile-main {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(207, 166, 91, 0.55);
}

.profile-main h2 {
    margin: 0;
    font-size: 20px;
}

.muted {
    opacity: 0.78;
}

.tiny {
    font-size: 12px;
    margin: 0 0 4px;
}

.profile-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.pill {
    background: rgba(125, 74, 196, 0.34);
    border: 1px solid rgba(171, 124, 230, 0.4);
    color: #f0e5ff;
    font-size: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 5px 9px;
}

.pill.subtle {
    background: rgba(28, 17, 49, 0.74);
}

.portal-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.portal-tabs a {
    background: rgba(22, 14, 40, 0.9);
    border: 1px solid var(--line-soft);
    padding: 9px 14px;
    border-radius: 10px;
    font-size: 14px;
    transition: 0.2s ease;
}

.portal-tabs a.active,
.portal-tabs a:hover {
    background: linear-gradient(140deg, #8950df, #5d319f);
    border-color: rgba(178, 133, 236, 0.62);
}

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr);
    gap: 14px;
}

.user-info {
    background: linear-gradient(145deg, rgba(28, 17, 53, 0.92), rgba(18, 13, 34, 0.86));
    border-color: var(--line-soft);
}

.user-info h3,
.side-stack h3 {
    margin-top: 0;
}

.card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.chip {
    font-size: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 5px 10px;
    color: #f7dfa9;
    background: rgba(185, 142, 72, 0.25);
    border: 1px solid rgba(220, 178, 98, 0.36);
}

.info-grid {
    margin-top: 12px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.info-grid span {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.info-grid strong {
    font-size: 15px;
    font-weight: 700;
}

.side-stack {
    display: grid;
    gap: 12px;
}

.progress-wrap {
    margin-top: 16px;
    border-top: 1px solid var(--line-soft);
    padding-top: 12px;
}

.progress-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    color: #e3d2b2;
    font-size: 13px;
}

.progress-track {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: rgba(14, 18, 29, 0.8);
    border: 1px solid var(--line-soft);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #8850dc, #f4cd7f);
}

.mission-card {
    background: linear-gradient(145deg, rgba(30, 18, 56, 0.92), rgba(22, 14, 39, 0.86));
    border-color: var(--line-soft);
}

.side-stack .card {
    background: linear-gradient(145deg, rgba(27, 17, 50, 0.94), rgba(19, 13, 34, 0.88));
    border-color: var(--line-soft);
}

.stat-list {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.stat-list li {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: #e3e6f0;
}

.status-approved {
    color: #6fe8a9;
}

.status-rejected {
    color: #ff8ea2;
}

.status-pending {
    color: #f7d78c;
}

.status-pill {
    display: inline-block;
    padding: 5px 10px 4px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.3px;
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.05),
        0 10px 26px rgba(0, 0, 0, 0.25);
}

.status-online {
    color: #78ecb2;
}

.status-offline {
    color: #ff9cac;
}

.status-unknown {
    color: #d8c69b;
}

.status-pill.status-online {
    background:
        radial-gradient(120% 180% at 50% 10%, rgba(132, 255, 196, 0.22) 0%, rgba(132, 255, 196, 0.07) 40%, rgba(0, 0, 0, 0) 70%),
        linear-gradient(140deg, rgba(0, 0, 0, 0.12) 0%, rgba(35, 176, 101, 0.18) 40%, rgba(18, 58, 42, 0.18) 100%);
    border-color: rgba(96, 214, 156, 0.62);
    color: #9dffd1;
    text-shadow: 0 0 18px rgba(120, 255, 190, 0.25);
    box-shadow:
        inset 0 0 0 1px rgba(96, 214, 156, 0.18),
        0 0 0 1px rgba(120, 255, 190, 0.05),
        0 14px 32px rgba(0, 0, 0, 0.28),
        0 0 22px rgba(85, 255, 170, 0.12);
}

.status-pill.status-online::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 999px;
    pointer-events: none;
    opacity: 0.95;
    filter: blur(7px);
    background:
        radial-gradient(60% 120% at 10% 50%, rgba(140, 255, 205, 0.35) 0%, rgba(140, 255, 205, 0) 60%),
        radial-gradient(60% 120% at 90% 50%, rgba(140, 255, 205, 0.28) 0%, rgba(140, 255, 205, 0) 55%),
        linear-gradient(140deg, rgba(140, 255, 205, 0) 0%, rgba(140, 255, 205, 0.32) 40%, rgba(140, 255, 205, 0) 78%),
        repeating-linear-gradient(90deg, rgba(140, 255, 205, 0.0) 0px 9px, rgba(140, 255, 205, 0.18) 9px 10px);
    animation: onlineBorderPulse 2.3s ease-in-out infinite;
}

.status-pill.status-online::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 8px;
    width: 9px;
    height: 9px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(175, 255, 220, 1) 0%, rgba(120, 255, 190, 0.65) 38%, rgba(120, 255, 190, 0.05) 70%, transparent 72%);
    box-shadow:
        0 0 10px rgba(120, 255, 190, 0.35),
        0 0 26px rgba(120, 255, 190, 0.18);
    opacity: 0.95;
    animation: onlinePing 1.7s ease-in-out infinite;
}

@keyframes onlineBorderPulse {
    0% {
        transform: scale(0.995);
        opacity: 0.75;
    }
    45% {
        transform: scale(1.01);
        opacity: 1;
    }
    100% {
        transform: scale(0.995);
        opacity: 0.75;
    }
}

@keyframes onlinePing {
    0% {
        transform: translateY(-50%) scale(0.92);
        opacity: 0.65;
    }
    35% {
        transform: translateY(-50%) scale(1.18);
        opacity: 1;
    }
    70% {
        transform: translateY(-50%) scale(0.98);
        opacity: 0.75;
    }
    100% {
        transform: translateY(-50%) scale(0.92);
        opacity: 0.65;
    }
}

.status-pill.status-offline {
    background: rgba(220, 82, 109, 0.14);
    border-color: rgba(231, 104, 129, 0.32);
}

.status-pill.status-unknown {
    background: rgba(193, 162, 96, 0.12);
    border-color: rgba(214, 181, 111, 0.3);
}

@media (prefers-reduced-motion: reduce) {
    .status-pill.status-online::before {
        animation: none !important;
    }
    .status-pill.status-online::after {
        animation: none !important;
    }
}

.timeline-list {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.timeline-list li {
    display: grid;
    grid-template-columns: 16px 1fr;
    gap: 10px;
    align-items: start;
}

.timeline-list strong {
    font-size: 14px;
}

.timeline-list p {
    margin: 3px 0 0;
    font-size: 12px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-top: 5px;
    background: #f1c97c;
    box-shadow: 0 0 0 4px rgba(232, 189, 109, 0.2);
}

.table-wrap {
    overflow-x: auto;
}

.players-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.players-table th,
.players-table td {
    text-align: left;
    padding: 12px 10px;
    border-bottom: 1px solid var(--line-soft);
    font-size: 14px;
}

.players-table th {
    color: var(--accent-gold-1);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
}

.players-table tr:hover td {
    background: rgba(255, 255, 255, 0.03);
    box-shadow: inset 0 0 0 1px rgba(242, 203, 126, 0.12);
}

.table-subtext {
    display: block;
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 11px;
}

.list-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--line-soft);
}

.rank-badge {
    display: inline-block;
    padding: 5px 9px;
    border-radius: 999px;
    font-size: 12px;
    background: rgba(142, 88, 223, 0.2);
    border: 1px solid rgba(178, 133, 236, 0.42);
    color: #f3e8ff;
}

.membership-card strong {
    display: inline-block;
    margin-top: 10px;
}

.membership-promo-image {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 12px;
    border: 1px solid rgba(214, 164, 96, 0.42);
    box-shadow: 0 14px 24px rgba(8, 3, 8, 0.42);
    object-fit: cover;
}

.feature-list {
    margin: 10px 0 0;
    padding-left: 18px;
    color: var(--text-muted);
}

.feature-list li {
    margin-bottom: 4px;
}

.admin-stats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.stat-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line-soft);
    border-radius: 999px;
    padding: 7px 12px;
    font-size: 13px;
}

.admin-filter-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
    margin-top: 14px;
    align-items: end;
}

.qa-list {
    margin: 10px 0;
    padding: 10px;
    border: 1px solid var(--line-soft);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.02);
}

.qa-list h4 {
    margin: 0 0 8px;
}

.qa-item {
    border-top: 1px dashed var(--line-soft);
    padding-top: 8px;
    margin-top: 8px;
}

.qa-item p {
    margin: 4px 0;
}

.server-status-bar {
    position: relative;
    z-index: 9;
    border-bottom: 1px solid var(--line-soft);
    background: rgba(14, 8, 21, 0.68);
}

.server-status-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 0;
}

.server-status-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.server-status-right {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 320px;
    justify-content: flex-end;
}

.server-occupancy {
    width: 150px;
    height: 8px;
    border-radius: 999px;
    border: 1px solid var(--line-soft);
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.server-occupancy-fill {
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #d74965, #d4b06a);
}

.announcement-card {
    margin-top: 14px;
}

.announcement-home-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.announcement-list {
    display: grid;
    gap: 10px;
}

.announcement-item {
    border: 1px solid var(--line-soft);
    border-radius: 12px;
    padding: 12px;
    background: linear-gradient(155deg, rgba(61, 16, 27, 0.32), rgba(18, 10, 22, 0.5));
    box-shadow: 0 10px 22px rgba(8, 3, 8, 0.32);
    position: relative;
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    animation: announcementBreath 6.5s ease-in-out infinite;
}

.announcement-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(11, 4, 11, 0.42);
}

.announcement-item h4 {
    margin: 0 0 8px;
}

.announcement-item p {
    margin: 0 0 8px;
    white-space: pre-wrap;
}

.announcement-head,
.announcement-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.announcement-meta-row,
.announcement-badges {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.announcement-type {
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 11px;
    border: 1px solid rgba(214, 174, 103, 0.42);
    background: rgba(128, 88, 35, 0.22);
    color: #ffeac3;
}

.announcement-audience {
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 11px;
    border: 1px solid rgba(174, 95, 180, 0.36);
    background: rgba(86, 43, 112, 0.22);
    color: #f0ddff;
}

.announcement-item::after {
    content: none;
}

.announcement-item-normal {
    border-color: rgba(201, 149, 77, 0.35);
}

.announcement-item-high {
    border-color: rgba(212, 127, 60, 0.48);
    box-shadow: 0 12px 24px rgba(70, 28, 10, 0.36);
}

.announcement-item-urgent {
    border-color: rgba(220, 74, 94, 0.56);
    box-shadow: 0 14px 28px rgba(92, 14, 30, 0.38);
}

.admin-announcement-list {
    margin-top: 14px;
}

.admin-panel-switcher {
    margin-top: 12px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.admin-panel-switcher a {
    border: 1px solid rgba(205, 160, 90, 0.35);
    background: rgba(110, 74, 28, 0.22);
    color: #f3e7d2;
    border-radius: 999px;
    padding: 5px 11px;
    font-size: 12px;
}

.admin-panel-switcher a:hover {
    border-color: rgba(225, 183, 113, 0.54);
    background: rgba(137, 95, 38, 0.26);
}

.admin-panel-switcher a.active {
    border-color: rgba(227, 188, 115, 0.62);
    background: linear-gradient(140deg, rgba(171, 39, 63, 0.34), rgba(109, 20, 39, 0.3));
    color: #fff2d9;
}

.checkbox-line {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-line input {
    width: auto;
}

.app-tracker-card {
    margin-top: 2px;
}

.app-tracker-steps {
    display: grid;
    gap: 10px;
}

.app-tracker-step {
    display: grid;
    grid-template-columns: 16px 1fr;
    gap: 10px;
    align-items: start;
    opacity: 0.86;
}

.app-tracker-step.is-done {
    opacity: 1;
}

.app-tracker-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-top: 5px;
    background: rgba(212, 110, 130, 0.55);
    box-shadow: 0 0 0 4px rgba(188, 72, 94, 0.18);
}

.app-tracker-step.is-done .app-tracker-dot {
    background: #f1c97c;
    box-shadow: 0 0 0 4px rgba(232, 189, 109, 0.2);
    animation: dotPulse 2.2s ease-in-out infinite;
}

@media (max-width: 860px) {
    .nav {
        flex-wrap: wrap;
    }

    .profile-dropdown {
        margin-left: auto;
    }

    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .server-status-inner,
    .server-status-right {
        flex-direction: column;
        align-items: flex-start;
        min-width: 0;
    }

    .announcement-head,
    .announcement-foot {
        flex-direction: column;
        align-items: flex-start;
    }

    .announcement-meta-row {
        align-items: flex-start;
    }
}

@keyframes floatOrb {
    0%,
    100% {
        transform: translateY(0px) translateX(0px);
    }
    50% {
        transform: translateY(-24px) translateX(10px);
    }
}

@keyframes auroraDrift {
    0% {
        transform: rotate(0deg) scale(1);
        filter: hue-rotate(0deg);
    }
    50% {
        transform: rotate(4deg) scale(1.06);
        filter: hue-rotate(10deg);
    }
    100% {
        transform: rotate(-3deg) scale(1.02);
        filter: hue-rotate(-8deg);
    }
}

@keyframes ringPulse {
    0%,
    100% {
        opacity: 0.16;
        transform: translate(-50%, -50%) scale(0.95);
    }
    50% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1.03);
    }
}

@keyframes gridShift {
    from {
        transform: translateY(0px);
    }
    to {
        transform: translateY(38px);
    }
}

@keyframes pulseGlow {
    0%,
    100% {
        box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
    }
    50% {
        box-shadow: 0 16px 44px rgba(173, 29, 55, 0.35);
    }
}

@keyframes riseIn {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.99);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes borderSweep {
    0% {
        transform: translateX(-30%);
    }
    100% {
        transform: translateX(30%);
    }
}

@keyframes sheenSlide {
    0%,
    100% {
        transform: translateX(-40%) rotate(24deg);
        opacity: 0;
    }
    40% {
        opacity: 0.8;
    }
    60% {
        transform: translateX(280%) rotate(24deg);
        opacity: 0;
    }
}

@keyframes crownFloat {
    0%,
    100% {
        transform: translateY(-50%) translateY(-6px);
    }
    50% {
        transform: translateY(-50%) translateY(10px);
    }
}

@keyframes sparkFade {
    0% {
        opacity: 0.95;
        transform: scale(0.7) translateY(0);
    }
    100% {
        opacity: 0;
        transform: scale(1.5) translateY(-12px);
    }
}

@keyframes bloodDropFall {
    0% {
        opacity: 0;
        transform: translate3d(0, -24px, 0) rotate(var(--blood-rotate, 0deg)) scale(0.8);
    }
    8% {
        opacity: 0.94;
        transform: translate3d(calc(var(--blood-sway, 0px) * -0.14), 9vh, 0) rotate(calc(var(--blood-rotate, 0deg) * 0.6)) scale(0.9);
    }
    46% {
        opacity: 0.9;
        transform: translate3d(var(--blood-sway, 0px), 60vh, 0) rotate(calc(var(--blood-rotate, 0deg) * 0.42)) scale(0.98);
    }
    82% {
        opacity: 0.78;
    }
    100% {
        opacity: 0;
        transform: translate3d(calc(var(--blood-drift, 0px) + (var(--blood-sway, 0px) * 0.28)), 122vh, 0) rotate(calc(var(--blood-rotate, 0deg) * 0.18)) scale(1.02);
    }
}

@keyframes bloodMistFloat {
    0% {
        opacity: 0;
        transform: translate3d(0, 12px, 0) scale(0.9);
    }
    22% {
        opacity: 0.25;
    }
    100% {
        opacity: 0;
        transform: translate3d(-16px, -92px, 0) scale(1.1);
    }
}

@keyframes bloodTopDrip {
    0%,
    100% { transform: translateY(0) scaleY(1); opacity: 0.94; }
    45% { transform: translateY(6px) scaleY(1.03); opacity: 0.98; }
    68% { transform: translateY(3px) scaleY(0.99); opacity: 0.95; }
}

@keyframes bloodPoolPulse {
    0%,
    100% { opacity: 0.75; transform: scale(1); }
    50% { opacity: 0.92; transform: scale(1.02); }
}

@keyframes bloodSplashPulse {
    0% {
        opacity: 0;
        transform: scale(0.56) rotate(0deg);
    }
    14% {
        opacity: 0.75;
    }
    100% {
        opacity: 0;
        transform: scale(1.16) rotate(10deg);
    }
}

@keyframes brandTitleFloat {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-2px);
    }
}

/* === Full UI Refresh: Premium Royal Glass === */
:root {
    --bg-0: #070a14;
    --bg-1: #0e1530;
    --bg-2: #151f45;
    --text-main: #f5f7ff;
    --text-muted: #aeb9dd;
    --line-soft: rgba(117, 145, 226, 0.26);
    --line-strong: rgba(150, 178, 255, 0.52);
    --surface-a: rgba(17, 27, 58, 0.9);
    --surface-b: rgba(12, 20, 45, 0.86);
    --accent-red-1: #6e8cff;
    --accent-red-2: #4f68d6;
    --accent-gold-1: #8ca9ff;
    --accent-gold-2: #6f8cf2;
    --edge-glow: rgba(150, 182, 255, 0.22);
}

body {
    background:
        radial-gradient(1200px 700px at 88% -20%, rgba(118, 152, 255, 0.2), transparent 60%),
        radial-gradient(900px 580px at -10% 18%, rgba(83, 115, 220, 0.2), transparent 64%),
        linear-gradient(160deg, #070b18 0%, #0b1330 46%, #0d183b 100%);
    color: var(--text-main);
}

.bg-crown,
.spark-layer,
.cursor-glow {
    display: none !important;
}

.site-header {
    background: rgba(10, 18, 42, 0.82);
    border-bottom: 1px solid rgba(139, 169, 255, 0.25);
    box-shadow: 0 10px 28px rgba(4, 10, 28, 0.38);
    backdrop-filter: blur(14px);
}

.site-header::after {
    background: linear-gradient(90deg, transparent 0%, rgba(147, 177, 255, 0.6) 50%, transparent 100%);
    opacity: 0.8;
}

.brand-title {
    letter-spacing: 1.3px;
    font-size: 15px;
    animation: none;
    text-shadow: 0 0 14px rgba(140, 171, 255, 0.26);
}

.nav nav a {
    border-radius: 12px;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0);
    font-size: 13px;
    font-weight: 600;
}

.nav nav a:hover {
    background: rgba(124, 153, 239, 0.18);
    border-color: rgba(146, 175, 255, 0.4);
    color: #eff4ff;
}

.nav nav a.active {
    background: linear-gradient(140deg, rgba(97, 128, 227, 0.36), rgba(70, 95, 184, 0.34));
    border-color: rgba(157, 186, 255, 0.6);
    color: #f6f8ff;
}

.profile-trigger {
    border: 1px solid rgba(141, 171, 255, 0.42);
    background: linear-gradient(140deg, rgba(28, 42, 87, 0.95), rgba(21, 33, 69, 0.94));
    box-shadow: 0 10px 22px rgba(4, 10, 26, 0.46), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.profile-trigger:hover {
    background: linear-gradient(140deg, rgba(40, 58, 114, 0.96), rgba(24, 37, 80, 0.95));
    border-color: rgba(171, 197, 255, 0.7);
}

.hero,
.card {
    border: 1px solid rgba(129, 160, 246, 0.26);
    background: linear-gradient(155deg, rgba(18, 29, 62, 0.92), rgba(12, 21, 48, 0.9));
    box-shadow: 0 14px 34px rgba(3, 10, 26, 0.36);
}

.hero::after,
.card::after {
    content: none;
}

.hero h1 {
    text-shadow: 0 6px 20px rgba(98, 129, 224, 0.32);
}

.hero-kicker,
.pill,
.chip {
    background: rgba(125, 154, 239, 0.16);
    border-color: rgba(141, 170, 253, 0.45);
    color: #e8efff;
}

.btn {
    background: linear-gradient(140deg, #6e8cff, #4f68d6);
    box-shadow: 0 10px 22px rgba(68, 98, 196, 0.4);
}

.btn:hover {
    box-shadow: 0 14px 28px rgba(68, 98, 196, 0.5);
    filter: brightness(1.08);
}

.btn-secondary {
    background: linear-gradient(140deg, #8ea8ff, #6f8cf2);
    color: #0f1a3d;
}

input,
textarea,
select {
    border: 1px solid rgba(128, 160, 248, 0.34);
    background: rgba(11, 19, 43, 0.9);
    border-radius: 12px;
    color: #f4f7ff;
}

input:focus,
textarea:focus,
select:focus {
    border-color: rgba(161, 188, 255, 0.84);
    box-shadow: 0 0 0 3px rgba(123, 154, 244, 0.2);
}

.players-table th {
    background: rgba(18, 30, 66, 0.78);
    color: #dce8ff;
}

.players-table tr:hover {
    background: rgba(92, 126, 221, 0.1);
}

/* reduce over-animation and keep premium smoothness */
.tilt-3d {
    transition: transform 0.16s ease;
}

.reveal-pending {
    transform: translateY(8px);
    transition: opacity 0.32s ease, transform 0.32s ease;
}

@media (prefers-reduced-motion: reduce) {
    .bg-crown,
    .spark,
    .cursor-glow {
        animation: none !important;
        transition: none !important;
    }
}

/* =========================
   UI V2 - Full Redesign
========================= */
.ui-v2 {
    --v2-bg: #090607;
    --v2-surface: rgba(28, 11, 16, 0.88);
    --v2-surface-2: rgba(16, 8, 11, 0.82);
    --v2-border: rgba(166, 53, 67, 0.3);
    --v2-border-strong: rgba(214, 84, 101, 0.56);
    --v2-text: #f8f0f2;
    --v2-muted: #d1b7bf;
    --v2-accent: #b1263d;
    --v2-accent-2: #731528;
    --v2-shadow: 0 18px 44px rgba(9, 2, 4, 0.56);
    background:
        radial-gradient(1100px 700px at 88% -20%, rgba(145, 20, 43, 0.22), transparent 64%),
        radial-gradient(900px 580px at 6% 4%, rgba(89, 14, 28, 0.24), transparent 62%),
        linear-gradient(165deg, #080506 0%, #100709 42%, #13080b 100%);
    color: var(--v2-text);
}

.ui-v2::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(500px 220px at 92% 8%, rgba(185, 31, 55, 0.12), transparent 72%),
        radial-gradient(430px 180px at 10% 88%, rgba(142, 20, 40, 0.1), transparent 75%);
}

.ui-v2 .bg-crown,
.ui-v2 .cursor-glow {
    display: none !important;
}

.ui-v2 .bg-crown {
    display: block !important;
    width: min(52vw, 460px);
    right: -70px;
    top: 54%;
    opacity: 0.18;
    mix-blend-mode: screen;
    filter: saturate(1.02) contrast(1.05);
    animation: crownFloatV2 8.5s ease-in-out infinite;
    transform: translateY(-50%) translateX(0);
}

.ui-v2.page-memberships .bg-crown {
    /* Store/memberships page par thoda left shift */
    right: -40px;
    top: 52.5%;
}

.ui-v2 .spark-layer {
    display: block !important;
    opacity: 0.9;
    z-index: 0;
}

.ui-v2 .blood-layer {
    display: block !important;
    opacity: 1;
    mix-blend-mode: normal;
    z-index: 1;
}

.ui-v2 .spark-layer::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(600px 220px at 12% 100%, rgba(183, 28, 44, 0.13), transparent 70%),
        radial-gradient(520px 210px at 88% 100%, rgba(205, 60, 45, 0.1), transparent 72%),
        radial-gradient(380px 180px at 50% 100%, rgba(214, 84, 55, 0.08), transparent 74%);
}

.ui-v2 .container {
    width: min(1180px, 94%);
}

.ui-v2 .site-header {
    background: rgba(23, 8, 12, 0.82);
    border-bottom: 1px solid var(--v2-border);
    box-shadow: 0 10px 30px rgba(10, 2, 5, 0.5);
    backdrop-filter: blur(16px);
}

.ui-v2 .blood-header-rain {
    opacity: 0.92;
}

.ui-v2 .site-header .container.nav {
    position: relative;
    z-index: 1;
}

.ui-v2 .site-header::after {
    opacity: 0.38;
    animation: none;
    background: linear-gradient(90deg, transparent 0%, rgba(130, 162, 255, 0.42) 50%, transparent 100%);
}

@keyframes crownFloatV2 {
    0%,
    100% {
        transform: translateY(-50%) translateX(0);
    }
    50% {
        transform: translateY(-53%) translateX(-8px);
    }
}

.ui-v2 .nav {
    min-height: 78px;
}

.ui-v2 .brand {
    position: relative;
    z-index: 2;
    isolation: isolate;
}

.ui-v2 .brand::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: calc(100% - 2px);
    transform: translateX(-50%);
    width: clamp(140px, 28vw, 260px);
    height: 42px;
    pointer-events: none;
    z-index: -1;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    background:
        radial-gradient(120% 95% at 50% 100%, rgba(18, 4, 6, 0.55) 0%, rgba(18, 4, 6, 0.22) 42%, transparent 68%),
        linear-gradient(180deg, rgba(60, 12, 18, 0.2) 0%, transparent 100%);
    box-shadow:
        0 -6px 22px rgba(0, 0, 0, 0.35),
        inset 0 -1px 0 rgba(120, 40, 50, 0.15);
    opacity: 0.85;
}

.ui-v2 .brand-title {
    animation: none;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1.35px;
    text-shadow: 0 0 16px rgba(214, 84, 101, 0.22);
}

.ui-v2 .nav nav {
    gap: 8px;
}

.ui-v2 .nav nav a {
    border-radius: 11px;
    padding: 8px 12px;
    font-size: 13px;
    border: 1px solid transparent;
    color: #f2dce3;
}

.ui-v2 .nav nav a:hover {
    background: linear-gradient(140deg, rgba(143, 30, 49, 0.26), rgba(94, 18, 33, 0.24));
    border-color: rgba(196, 151, 78, 0.48);
    color: #fff6e8;
    box-shadow: 0 0 0 1px rgba(211, 173, 102, 0.2), 0 8px 18px rgba(101, 66, 24, 0.28);
}

.ui-v2 .nav nav a.active {
    background: linear-gradient(140deg, rgba(188, 145, 72, 0.32), rgba(137, 98, 40, 0.3));
    border-color: rgba(206, 164, 93, 0.62);
    color: #fff1d5;
    box-shadow: 0 0 0 1px rgba(228, 198, 141, 0.2), 0 10px 20px rgba(95, 62, 25, 0.33);
}

.ui-v2 .nav-count {
    background: linear-gradient(140deg, #f0c888, #bd8743);
    color: #2a1706;
}

.ui-v2 .pending-alert {
    border-color: rgba(199, 150, 78, 0.5);
    background: rgba(104, 68, 25, 0.34);
    color: #f5e8cf;
}

.ui-v2 .nav nav a::after {
    background: linear-gradient(90deg, rgba(233, 203, 146, 0.05), rgba(219, 178, 103, 0.9), rgba(233, 203, 146, 0.05));
}

.ui-v2 .profile-trigger {
    border: 1px solid rgba(206, 72, 91, 0.48);
    background: linear-gradient(140deg, rgba(87, 19, 35, 0.96), rgba(50, 12, 23, 0.95));
    border-radius: 999px;
    box-shadow: 0 10px 22px rgba(4, 12, 20, 0.52);
}

.ui-v2 .profile-trigger::after {
    background: radial-gradient(circle at 35% 35%, #ffd0da, #d32f4e 74%);
    box-shadow: 0 0 10px rgba(211, 47, 78, 0.58);
}

.ui-v2 .profile-trigger:hover {
    border-color: rgba(236, 117, 136, 0.78);
    background: linear-gradient(140deg, rgba(106, 24, 43, 0.98), rgba(61, 14, 27, 0.97));
}

.ui-v2 .hero,
.ui-v2 .card,
.ui-v2 .intro-card {
    background: linear-gradient(160deg, var(--v2-surface), var(--v2-surface-2));
    border: 1px solid var(--v2-border);
    border-radius: 18px;
    box-shadow: var(--v2-shadow);
}

.ui-v2 .hero {
    padding: 36px;
    margin-bottom: 22px;
    background:
        linear-gradient(100deg, rgba(10, 5, 12, 0.82) 0%, rgba(10, 5, 12, 0.64) 42%, rgba(10, 5, 12, 0.32) 100%),
        url("home-showcase-banner.png") center / cover no-repeat;
    min-height: 320px;
}

.ui-v2 .hero::before {
    background:
        radial-gradient(280px circle at 8% 18%, rgba(180, 33, 57, 0.24), transparent 72%),
        radial-gradient(320px circle at 90% 8%, rgba(118, 20, 38, 0.18), transparent 72%);
}

.ui-v2 .hero::after,
.ui-v2 .card::after {
    content: none;
}

.ui-v2 .card::before {
    background: radial-gradient(240px circle at var(--mx) var(--my), rgba(184, 40, 63, 0.1), transparent 62%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03), inset 0 0 30px rgba(0, 0, 0, 0.12);
}

.ui-v2 .hero h1 {
    font-size: clamp(30px, 4.2vw, 42px);
    margin-bottom: 12px;
    animation: titleGlow 4.2s ease-in-out infinite;
}

.ui-v2 .hero p,
.ui-v2 .card p,
.ui-v2 .muted {
    color: var(--v2-muted);
}

.ui-v2 .hero-highlights {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 14px 0 18px;
}

.ui-v2 .hero-highlights span {
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(155, 34, 56, 0.22);
    border: 1px solid rgba(216, 86, 105, 0.36);
    color: #ffd9e2;
    animation: chipFloat 3.4s ease-in-out infinite;
}

.ui-v2 .hero-highlights span:nth-child(2) {
    animation-delay: 0.35s;
}

.ui-v2 .hero-highlights span:nth-child(3) {
    animation-delay: 0.7s;
}

.ui-v2 .hero-kicker,
.ui-v2 .pill,
.ui-v2 .chip,
.ui-v2 .stat-pill {
    background: rgba(151, 31, 53, 0.22);
    border: 1px solid rgba(214, 84, 103, 0.42);
    color: #ffdce4;
}

.ui-v2 .portal-tabs {
    background: rgba(14, 21, 42, 0.66);
    border: 1px solid var(--v2-border);
    border-radius: 14px;
    padding: 8px;
}

.ui-v2 .portal-tabs a {
    border-radius: 9px;
    border: 1px solid transparent;
    color: #efd6de;
}

.ui-v2 .portal-tabs a:hover,
.ui-v2 .portal-tabs a.active {
    background: rgba(152, 31, 54, 0.24);
    border-color: rgba(216, 86, 104, 0.5);
    color: #f7faff;
}

.ui-v2 .btn {
    border-radius: 12px;
    background: linear-gradient(140deg, var(--v2-accent), var(--v2-accent-2));
    box-shadow: 0 10px 26px rgba(78, 106, 202, 0.4);
    position: relative;
    overflow: hidden;
    animation: btnPulse 4.8s ease-in-out infinite;
}

.ui-v2 .btn:hover {
    box-shadow: 0 14px 30px rgba(78, 106, 202, 0.52);
    filter: brightness(1.08);
}

.ui-v2 .btn::before {
    content: "";
    position: absolute;
    top: -120%;
    left: -22%;
    width: 32%;
    height: 320%;
    transform: rotate(22deg);
    background: linear-gradient(180deg, transparent, rgba(255, 232, 196, 0.22), transparent);
    opacity: 0;
    pointer-events: none;
}

.ui-v2 .btn:hover::before {
    opacity: 1;
    animation: btnSheen 1.2s ease-out;
}

.ui-v2 .btn-secondary {
    background: linear-gradient(140deg, #db4965, #9c2440);
    color: #fff1f4;
}

.ui-v2 label {
    color: #f4d7df;
    font-weight: 600;
}

.ui-v2 input,
.ui-v2 textarea,
.ui-v2 select {
    background: rgba(20, 8, 13, 0.9);
    border: 1px solid rgba(170, 53, 69, 0.38);
    border-radius: 12px;
    padding: 12px 13px;
    color: var(--v2-text);
}

.ui-v2 input:focus,
.ui-v2 textarea:focus,
.ui-v2 select:focus {
    border-color: rgba(230, 94, 114, 0.84);
    box-shadow: 0 0 0 3px rgba(164, 37, 57, 0.24);
}

.ui-v2 .table-wrap {
    overflow: hidden;
}

.ui-v2 .players-table th {
    background: rgba(35, 11, 18, 0.85);
    color: #ffe1e7;
    border-bottom-color: rgba(177, 49, 67, 0.26);
}

.ui-v2 .players-table td {
    border-bottom-color: rgba(153, 44, 59, 0.15);
}

.ui-v2 .players-table tr:hover td {
    background: rgba(155, 32, 52, 0.14);
}

.ui-v2 .timeline-list li .dot {
    background: linear-gradient(140deg, #ff8ea6, #d23857);
    box-shadow: 0 0 0 4px rgba(171, 39, 61, 0.24);
}

.ui-v2 .status-approved {
    color: #91f7c8;
}

.ui-v2 .status-rejected {
    color: #ff9fb0;
}

.ui-v2 .status-pending {
    color: #ffd78d;
}

.ui-v2 .application-summary {
    background: rgba(255, 255, 255, 0.01);
}

.ui-v2 .application-summary:hover {
    background: rgba(174, 49, 70, 0.1);
}

.ui-v2 .application-fold[open] .application-summary {
    background: rgba(173, 55, 75, 0.11);
}

.ui-v2 .announcement-item {
    background: linear-gradient(160deg, rgba(58, 14, 24, 0.64), rgba(26, 10, 18, 0.74));
    border-color: rgba(179, 53, 72, 0.32);
}

.ui-v2 .nav nav a {
    animation: navGlow 5.8s ease-in-out infinite;
}

.ui-v2 .nav nav a:nth-child(2) { animation-delay: 0.25s; }
.ui-v2 .nav nav a:nth-child(3) { animation-delay: 0.5s; }
.ui-v2 .nav nav a:nth-child(4) { animation-delay: 0.75s; }
.ui-v2 .nav nav a:nth-child(5) { animation-delay: 1s; }

.ui-v2 .server-occupancy-fill {
    animation: barFlow 3.4s linear infinite;
}

.ui-v2 .announcement-item-urgent {
    border-color: rgba(225, 82, 102, 0.62);
    box-shadow: 0 16px 30px rgba(86, 14, 31, 0.44);
}

.ui-v2 .announcement-item-high {
    border-color: rgba(212, 144, 73, 0.56);
}

.ui-v2 .announcement-type {
    border-color: rgba(226, 183, 108, 0.52);
    background: rgba(150, 104, 42, 0.26);
    color: #ffeac7;
}

.ui-v2 .announcement-audience {
    border-color: rgba(202, 122, 212, 0.4);
    background: rgba(96, 43, 120, 0.25);
    color: #f4dcff;
}

.ui-v2 .admin-panel-switcher a {
    border-color: rgba(212, 84, 102, 0.42);
    background: rgba(132, 27, 47, 0.24);
    color: #ffe3ea;
}

.ui-v2 .admin-panel-switcher a:hover {
    border-color: rgba(234, 114, 134, 0.56);
    background: rgba(155, 35, 58, 0.3);
}

.ui-v2 .admin-panel-switcher a.active {
    border-color: rgba(229, 184, 108, 0.58);
    background: linear-gradient(140deg, rgba(170, 126, 57, 0.34), rgba(115, 74, 27, 0.32));
    color: #fff1d5;
}

.ui-v2 .reveal-pending {
    transform: translateY(6px);
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.ui-v2 .tilt-3d,
.ui-v2 .site-header::after,
.ui-v2 .hero::after {
    animation: none;
    transform: none;
}

/* UI V2 themed scrollbar */
html,
body.ui-v2,
body.ui-v2 * {
    scrollbar-width: thin;
    scrollbar-color: rgba(179, 48, 66, 0.76) rgba(24, 8, 12, 0.9);
}

html::-webkit-scrollbar,
body.ui-v2::-webkit-scrollbar,
body.ui-v2 *::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

html::-webkit-scrollbar-track,
body.ui-v2::-webkit-scrollbar-track,
body.ui-v2 *::-webkit-scrollbar-track {
    background: linear-gradient(180deg, rgba(27, 9, 14, 0.95), rgba(19, 7, 10, 0.95));
    border-left: 1px solid rgba(156, 43, 59, 0.2);
}

html::-webkit-scrollbar-thumb,
body.ui-v2::-webkit-scrollbar-thumb,
body.ui-v2 *::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(195, 55, 76, 0.92), rgba(140, 30, 47, 0.9));
    border-radius: 999px;
    border: 2px solid rgba(24, 8, 12, 0.95);
    box-shadow:
        inset 0 0 0 1px rgba(255, 178, 195, 0.26),
        0 0 10px rgba(159, 34, 52, 0.25);
}

html::-webkit-scrollbar-thumb:hover,
body.ui-v2::-webkit-scrollbar-thumb:hover,
body.ui-v2 *::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(224, 75, 98, 0.98), rgba(160, 36, 56, 0.96));
}

/* Crown gold polish */
.ui-v2 {
    --v2-gold-1: #d4b06a;
    --v2-gold-2: #9b7336;
    --v2-gold-soft: rgba(185, 144, 74, 0.26);
}

.ui-v2 .bg-crown {
    opacity: 0.26;
    filter: saturate(0.98) contrast(1.06) drop-shadow(0 0 22px rgba(155, 115, 54, 0.24));
}

.ui-v2 .brand-title {
    background: linear-gradient(140deg, #f2e7d1 0%, var(--v2-gold-1) 36%, #fffaf0 50%, var(--v2-gold-2) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 220% 220%;
    animation: crownGoldShift 7s ease-in-out infinite;
}

.ui-v2 .hero,
.ui-v2 .card,
.ui-v2 .profile-trigger {
    box-shadow:
        0 18px 44px rgba(9, 2, 4, 0.56),
        inset 0 0 0 1px rgba(222, 186, 122, 0.08);
}

.ui-v2 .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(420px 220px at 12% 26%, rgba(170, 35, 55, 0.16), transparent 74%),
        radial-gradient(380px 180px at 88% 20%, rgba(183, 132, 60, 0.08), transparent 76%);
    opacity: 0.34;
    animation: heroAuraShift 9s ease-in-out infinite;
}

.ui-v2 .hero-kicker,
.ui-v2 .pill,
.ui-v2 .chip,
.ui-v2 .stat-pill {
    border-color: rgba(196, 151, 78, 0.52);
    box-shadow: inset 0 0 0 1px rgba(233, 205, 153, 0.08);
}

.ui-v2 .btn {
    background: linear-gradient(140deg, #b2273f, #75172b);
    box-shadow: 0 12px 26px rgba(98, 20, 35, 0.48), 0 0 0 1px rgba(190, 145, 75, 0.2);
}

.ui-v2 .btn-secondary {
    background: linear-gradient(140deg, #f6e8c9 0%, #d4b06a 34%, #c3934a 64%, #8f652e 100%);
    color: #2f1d09;
    border: 1px solid rgba(233, 206, 153, 0.56);
    box-shadow:
        0 12px 26px rgba(94, 61, 25, 0.38),
        0 0 0 1px rgba(241, 220, 183, 0.25),
        inset 0 1px 0 rgba(255, 244, 220, 0.44);
}

.ui-v2 .btn-secondary:hover {
    background: linear-gradient(140deg, #fff1d8 0%, #e0bc77 34%, #cb9a52 64%, #9b7136 100%);
    color: #241504;
    box-shadow:
        0 14px 30px rgba(102, 66, 25, 0.42),
        0 0 0 1px rgba(247, 227, 189, 0.3),
        0 0 18px rgba(211, 167, 89, 0.34);
    filter: none;
}

.ui-v2 .btn-secondary:active {
    transform: translateY(0);
    box-shadow:
        0 8px 18px rgba(92, 58, 22, 0.38),
        0 0 0 1px rgba(232, 205, 151, 0.26);
}

.ui-v2 .nav nav a:focus-visible,
.ui-v2 .btn:focus-visible {
    outline: none;
    box-shadow:
        0 0 0 2px rgba(233, 198, 126, 0.45),
        0 0 20px rgba(207, 159, 75, 0.3);
}

.ui-v2 .site-header::after {
    background: linear-gradient(90deg, transparent 0%, rgba(195, 151, 80, 0.55) 50%, transparent 100%);
}

.ui-v2 .tilt-3d,
.ui-v2 .site-header::after {
    animation: none;
    transform: none;
}

.ui-v2 .spark {
    width: var(--spark-size, 4px);
    height: var(--spark-size, 4px);
    border-radius: 50%;
    opacity: 0;
    position: absolute;
    filter: blur(0.2px);
    transform: translate3d(0, 0, 0);
    animation: var(--spark-animation, emberRise) var(--spark-duration, 2400ms) ease-out var(--spark-delay, 0ms) forwards;
}

.ui-v2 .spark::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 1px;
    height: calc(var(--spark-size, 4px) * 3.2);
    transform: translate(-50%, -12%) rotate(5deg);
    border-radius: 999px;
    opacity: 0.42;
    background: linear-gradient(180deg, rgba(255, 238, 206, 0.42), rgba(255, 238, 206, 0));
}

.ui-v2 .spark.spark-fire {
    background: radial-gradient(circle, rgba(255, 116, 84, 0.94) 0%, rgba(205, 44, 42, 0.2) 56%, transparent 100%);
}

.ui-v2 .spark.spark-gold {
    background: radial-gradient(circle, rgba(250, 221, 161, 0.95) 0%, rgba(193, 140, 66, 0.18) 60%, transparent 100%);
}

.ui-v2 .spark.spark-bright {
    filter: blur(0) saturate(1.16);
    box-shadow: 0 0 10px rgba(255, 226, 173, 0.42);
}

.ui-v2 .spark.spark-flee {
    filter: blur(0) saturate(1.22);
    box-shadow: 0 0 12px rgba(255, 160, 140, 0.42);
}

.ui-v2 .spark.spark-rise {
    --spark-animation: emberRise;
}

.ui-v2 .spark.spark-fall {
    --spark-animation: emberFall;
    opacity: 0;
}

@keyframes crownGoldShift {
    0%,
    100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes crownSheen {
    0%,
    100% {
        transform: translateX(-25%) rotate(22deg);
        opacity: 0;
    }
    42% {
        opacity: 0.58;
    }
    65% {
        transform: translateX(250%) rotate(22deg);
        opacity: 0;
    }
}

@keyframes heroAuraShift {
    0%,
    100% {
        opacity: 0.28;
        transform: translateY(0);
    }
    50% {
        opacity: 0.42;
        transform: translateY(-3px);
    }
}

@keyframes emberRise {
    0% {
        opacity: 0;
        transform: translate3d(0, 8px, 0) scale(0.7);
    }
    20% {
        opacity: 0.96;
    }
    62% {
        opacity: 0.62;
    }
    100% {
        opacity: 0;
        transform: translate3d(var(--spark-drift, 0px), calc(var(--spark-rise, 220px) * -1), 0) scale(1.48);
    }
}

@keyframes emberFall {
    0% {
        opacity: 0;
        transform: translate3d(0, -10px, 0) scale(0.65);
    }
    16% {
        opacity: 0.72;
    }
    100% {
        opacity: 0;
        transform: translate3d(var(--spark-drift, 0px), var(--spark-fall, 120px), 0) scale(1.08);
    }
}

@keyframes announcementBreath {
    0%,
    100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

@keyframes dotPulse {
    0%,
    100% { box-shadow: 0 0 0 4px rgba(232, 189, 109, 0.2); }
    50% { box-shadow: 0 0 0 7px rgba(232, 189, 109, 0.08); }
}

@keyframes titleGlow {
    0%,
    100% { text-shadow: 0 5px 18px rgba(109, 22, 40, 0.35); }
    50% { text-shadow: 0 8px 26px rgba(214, 159, 88, 0.38); }
}

@keyframes chipFloat {
    0%,
    100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@keyframes btnPulse {
    0%,
    100% { box-shadow: 0 10px 24px rgba(91, 24, 39, 0.38); }
    50% { box-shadow: 0 14px 30px rgba(146, 96, 36, 0.34); }
}

@keyframes btnSheen {
    0% { transform: translateX(-30%) rotate(22deg); }
    100% { transform: translateX(320%) rotate(22deg); }
}

@keyframes navGlow {
    0%,
    100% { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02); }
    50% { box-shadow: inset 0 0 0 1px rgba(235, 193, 120, 0.22), 0 0 12px rgba(157, 37, 58, 0.2); }
}

@keyframes barFlow {
    0% { filter: saturate(0.95) brightness(0.95); }
    50% { filter: saturate(1.15) brightness(1.07); }
    100% { filter: saturate(0.95) brightness(0.95); }
}

@media (prefers-reduced-motion: reduce) {
    .announcement-item,
    .app-tracker-step.is-done .app-tracker-dot,
    .ui-v2 .hero h1,
    .ui-v2 .hero-highlights span,
    .ui-v2 .btn,
    .ui-v2 .btn:hover::before,
    .ui-v2 .nav nav a,
    .ui-v2 .server-occupancy-fill,
    .blood-layer::before,
    .blood-layer::after,
    .blood-drop,
    .blood-rain-drop,
    .blood-rain-drop--header,
    .blood-mist,
    .blood-splash,
    .blood-streak,
    .blood-puddle,
    .blood-impact-dot,
    .blood-ground-ring,
    .blood-rain-hit-splash {
        animation: none !important;
    }
}

