/* L2 Glory — Violet Realm visual identity. Loaded after the base and page styles. */
:root {
    --bg: #07050d;
    --bg2: #0d0915;
    --panel: rgba(14, 10, 23, .96);
    --panel2: #171021;
    --line: #33264b;
    --gold: #8b5cf6;
    --gold2: #c4a1ff;
    --text: #f1edfa;
    --muted: #a69bb8;
    --shadow: 0 24px 70px rgba(0, 0, 0, .58);
}

body {
    background:
        radial-gradient(circle at 78% 0, rgba(91, 33, 182, .22), transparent 35%),
        var(--bg);
}

.site-header {
    background: rgba(7, 5, 13, .97);
    border-bottom-color: rgba(139, 92, 246, .38);
}

.brand-mark {
    width: 52px;
    height: 56px;
    border: 0;
    clip-path: none;
    color: transparent;
    font-size: 0;
    background: url('../images/crest.webp') center / cover no-repeat;
    filter: drop-shadow(0 0 12px rgba(139, 92, 246, .38));
}

.hero {
    border-bottom-color: rgba(139, 92, 246, .52);
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(5, 3, 10, .94) 0%, rgba(7, 4, 14, .76) 34%, rgba(7, 4, 14, .18) 72%, rgba(7, 4, 14, .32)),
        linear-gradient(0deg, rgba(5, 3, 10, .66), transparent 48%);
}

.button-gold {
    border-color: #9b72ff;
    background: linear-gradient(145deg, #8b5cf6, #5b21b6);
    box-shadow: inset 0 1px rgba(255,255,255,.2), 0 0 24px rgba(139,92,246,.16);
}

.button-ghost {
    border-color: rgba(196, 161, 255, .35);
    background: rgba(9, 6, 16, .72);
}

.panel {
    background: linear-gradient(145deg, rgba(20, 14, 31, .98), rgba(9, 7, 15, .98));
    border-color: #34264b;
}

.panel:before {
    border-top-color: rgba(196, 161, 255, .22);
}

.panel-title {
    border-bottom-color: rgba(196, 161, 255, .13);
}

.site-footer {
    background: #07050d;
    border-top-color: rgba(139, 92, 246, .3);
}

.page-hero {
    border-bottom-color: #4b2d78;
}

.login-panel input:focus,
.auth-card input:focus {
    outline: 2px solid rgba(139, 92, 246, .52);
    border-color: #9b72ff;
}

.world-map-frame {
    border-color: rgba(139, 92, 246, .3);
    background: #0b0713;
}

.town-marker {
    fill: #c4a1ff;
    stroke: #120c1d;
}

.town-label {
    fill: #d6c7f4;
    stroke: #120c1d;
}

.map-boss-epic .boss-alive-marker,
.map-boss-epic .boss-dead-marker {
    stroke: #c4a1ff;
}

.world-status-notice {
    border-color: rgba(139, 92, 246, .32);
    color: #c4a1ff;
}

.world-map.map-highlight {
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, .65));
}

@media (max-width: 780px) {
    .main-nav {
        background: #0b0713;
    }

    .hero {
        background-position: 68% top;
    }
}
