﻿:root {
    --obsidian: #0c0f11;
    --coal: #141b1f;
    --iron: #2c3b3f;
    --slate: #4d6568;
    --sage: #8e9c86;
    --sand: #d6cbb7;
    --ember: #c8a25a;
    --ember-deep: #a5823f;
    --blood: #7b2b2b;
    --blood-bright: #b33232;
    --glow: rgba(200, 162, 90, 0.45);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at top, rgba(44, 59, 63, 0.7), transparent 60%),
        linear-gradient(180deg, #0b0e10 0%, #11171a 40%, #0b0e10 100%);
    color: var(--sand);
    min-height: 100vh;
    letter-spacing: 0.01em;
}

#blood-rain {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

.bg-obsidian {
    background-color: var(--obsidian);
}

.text-sand {
    color: var(--sand);
}

.text-sand-soft {
    color: rgba(214, 203, 183, 0.75);
}

.text-muted-ashen {
    color: rgba(214, 203, 183, 0.6);
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 1rem;
    background: var(--ember);
    color: #111;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    z-index: 9999;
}

.skip-link:focus {
    left: 1rem;
}

.nav-glass {
    background: rgba(10, 14, 16, 0.82);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(214, 203, 183, 0.08);
    transition: padding 0.3s ease, box-shadow 0.3s ease;
    z-index: 10;
}

.navbar-shrink {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.brand-title {
    font-family: 'Cinzel', serif;
    letter-spacing: 0.2rem;
    font-size: 1rem;
}

.brand-emblem {
    filter: drop-shadow(0 0 8px rgba(200, 162, 90, 0.35));
    object-fit: contain;
}

.main-content {
    padding-top: 5.5rem;
}

.hero {
    position: relative;
    padding: 6rem 0 5rem;
    overflow: hidden;
}

.hero-mini {
    padding: 5rem 0 3rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(200, 162, 90, 0.15), transparent 50%),
        radial-gradient(circle at 80% 0%, rgba(123, 43, 43, 0.25), transparent 55%);
    opacity: 0.9;
    pointer-events: none;
}

.eyebrow {
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.4rem;
    color: var(--sage);
}

.hero-title,
.section-title {
    font-family: 'Cinzel', serif;
    color: var(--sand);
    line-height: 1.15;
}

.hero-media {
    position: relative;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    min-height: 420px;
    display: grid;
    place-items: center;
    box-shadow: none;
    margin: 0 auto;
    max-width: 720px;
}

.hero-logo {
    width: min(95%, 520px);
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.45));
}

.section {
    padding: 4.5rem 0;
}

.hero .lead {
    max-width: 34rem;
}

.section-dark {
    background: linear-gradient(180deg, rgba(17, 23, 26, 0.95), rgba(12, 15, 17, 0.95));
    border-top: 1px solid rgba(214, 203, 183, 0.06);
    border-bottom: 1px solid rgba(214, 203, 183, 0.06);
}

.card-rune {
    background: rgba(17, 23, 26, 0.9);
    border: 1px solid rgba(214, 203, 183, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    height: 100%;
    color: rgba(214, 203, 183, 0.9);
}

.panel {
    background: rgba(17, 23, 26, 0.8);
    border: 1px solid rgba(214, 203, 183, 0.12);
    border-radius: 1.25rem;
    padding: 2rem;
    color: rgba(214, 203, 183, 0.9);
}

.guild-list li {
    padding: 0.55rem 0 0.55rem 2.2rem;
    position: relative;
}

.guild-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 1.4rem;
    height: 1.4rem;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}

.guild-list li[data-icon="feather"]::before {
    background-image: url("/assets/img/feather.png");
}

.guild-list li[data-icon="coins"]::before {
    background-image: url("/assets/img/coins.png");
}

.guild-list li[data-icon="chaos"]::before {
    background-image: url("/assets/img/chaos_orb.png");
}

.guild-list li[data-icon="divine"]::before {
    background-image: url("/assets/img/divine_orb.png");
}

.guild-list li[data-icon="mirror"]::before {
    background-image: url("/assets/img/mirror.png");
}

.guild-list li[data-icon="vaal"]::before {
    background-image: url("/assets/img/vaal_orb.png");
}

.event-item {
    background: rgba(200, 162, 90, 0.08);
    border: 1px solid rgba(200, 162, 90, 0.2);
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    color: rgba(214, 203, 183, 0.85);
}

.btn-ember {
    background: var(--ember);
    color: #1a1310;
    border: none;
    box-shadow: 0 10px 20px rgba(200, 162, 90, 0.2);
}

.btn-ember:hover {
    background: var(--ember-deep);
    color: #1a1310;
}

.btn-outline-sand {
    border: 1px solid rgba(214, 203, 183, 0.6);
    color: var(--sand);
}

.btn-outline-sand:hover {
    background: rgba(214, 203, 183, 0.12);
    color: var(--sand);
}

.stat {
    background: rgba(17, 23, 26, 0.7);
    padding: 2rem;
    border-radius: 1rem;
    text-align: center;
    border: 1px solid rgba(214, 203, 183, 0.1);
}

.stat-value {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    display: block;
    color: var(--ember);
}

.stat-label {
    color: rgba(214, 203, 183, 0.85);
}

.form-control,
.form-select {
    background: rgba(12, 15, 17, 0.8);
    border: 1px solid rgba(214, 203, 183, 0.2);
    color: var(--sand);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--ember);
    box-shadow: 0 0 0 0.2rem rgba(200, 162, 90, 0.25);
}

.form-label {
    color: rgba(214, 203, 183, 0.85);
}

.form-control::placeholder {
    color: rgba(214, 203, 183, 0.4);
}

.divider {
    height: 1px;
    background: rgba(214, 203, 183, 0.12);
    margin: 1.5rem 0;
}

.site-footer {
    padding: 2rem 0;
    background: #0b0e10;
    border-top: 1px solid rgba(214, 203, 183, 0.08);
}

.footer-link {
    color: rgba(214, 203, 183, 0.7);
    text-decoration: none;
    margin-left: 0.5rem;
}

.footer-link:hover {
    color: var(--ember);
}

.footer-sep {
    margin: 0 0.35rem;
    color: rgba(214, 203, 183, 0.3);
}

@media (max-width: 991px) {
    .hero {
        padding-top: 4.5rem;
    }
    .hero-media {
        max-width: 100%;
    }
    .hero-logo {
        width: min(92%, 460px);
    }
    .hero .lead {
        max-width: 100%;
    }
}

@media (max-width: 575px) {
    .hero {
        padding-top: 4rem;
    }
    .brand-title {
        letter-spacing: 0.12rem;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-logo {
        width: min(92%, 340px);
    }
}
