/* ==========================================================================
   MWRO — Homepage Stylesheet (Premium Gaming Theme)
   ==========================================================================
   Layout and component styles specific to index.php.
   All design tokens are in site-menu.css (global).
   Zero continuous animations — hover transitions only.
   ========================================================================== */

/* ==========================================================================
   1. Hero Video Background (above the fold)
   ========================================================================== */

.hero-video-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.hero-video-bg video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    filter: none;
}


.page-content {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: transparent;
}

section {
    position: relative;
    border-top: 1px solid rgba(142, 108, 74, 0.08);
}

/* ==========================================================================
   2. Hero Banner — Split Layout
   ========================================================================== */

.hero-banner-wrap {
    margin-top: 76px;
    padding: 56px 0 44px;
    background: transparent;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow:
        0 20px 40px -10px rgba(0, 0, 0, 0.8),
        inset 0 -1px 0 rgba(212, 175, 55, 0.08);
}

.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 24px;
}

.hero-motto {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    padding: 6px 16px;
    border-radius: 4px;
    background: rgba(142, 108, 74, 0.15);
    border: 1px solid var(--mw-border);
    color: var(--mw-gold);
    font-family: 'Marcellus', serif;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.hero-title-main {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 4vw, 3.6rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--mw-gold);
    text-shadow:
        0 3px 6px rgba(0, 0, 0, 0.9),
        0 0 16px rgba(212, 175, 55, 0.4),
        0 0 32px rgba(212, 175, 55, 0.2);
    margin-bottom: 14px;
}

.hero-description {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--mw-text);
    margin-bottom: 20px;
    max-width: 560px;
}

/* ── Server Status Dashboard ── */
.status-dashboard {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
    padding: 16px;
    border-radius: 6px;
    background: rgba(18, 16, 13, 0.8);
    border: 1px solid var(--mw-border);
    max-width: 560px;
}

.status-indicator-box {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex: 1;
    min-width: 130px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #28c850;
    border-radius: 50%;
    box-shadow: 0 0 6px #28c850;
    margin-top: 5px;
    flex-shrink: 0;
    transition: opacity 1.5s ease-in-out;
}

.status-dot.offline {
    background-color: #ff3c3c;
    box-shadow: 0 0 6px #ff3c3c;
    opacity: 0.6;
}

.status-server-title {
    font-family: 'Marcellus', serif;
    font-size: 0.76rem;
    color: var(--mw-muted);
    text-transform: uppercase;
    line-height: 1.2;
}

.status-server-value {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    margin-top: 2px;
}

.server-events-list {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.server-event-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    color: var(--mw-muted);
}

.server-event-dot {
    width: 4px;
    height: 4px;
    background-color: var(--mw-muted);
    border-radius: 50%;
    flex-shrink: 0;
}

.server-event-name {
    font-family: 'Inter', sans-serif;
    line-height: 1.25;
}

/* ==========================================================================
   3. Class Showcase Card
   ========================================================================== */

.class-showcase-card {
    background:
        linear-gradient(145deg, rgba(22, 18, 14, 0.65), rgba(10, 9, 7, 0.88));
    backdrop-filter: blur(10px) saturate(120%);
    -webkit-backdrop-filter: blur(10px) saturate(120%);
    border: 1px solid rgba(142, 108, 74, 0.3);
    border-radius: 8px;
    padding: 22px;
    box-shadow:
        0 16px 32px -8px rgba(0, 0, 0, 0.75),
        0 4px 6px -2px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 244, 196, 0.12),
        inset 0 -1px 0 rgba(0, 0, 0, 0.5);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.class-selector-tabs {
    display: flex;
    justify-content: space-between;
    gap: 5px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(142, 108, 74, 0.2);
    padding-bottom: 10px;
}

.class-tab-btn {
    flex: 1;
    background: rgba(142, 108, 74, 0.08);
    border: 1px solid var(--mw-border);
    border-radius: 4px;
    padding: 7px 4px;
    color: var(--mw-text);
    font-family: 'Marcellus', serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.2s ease;
}

.class-tab-btn:hover {
    background: rgba(142, 108, 74, 0.2);
    color: var(--mw-gold);
    border-color: var(--mw-orange);
}

.class-tab-btn.active {
    background: linear-gradient(180deg, var(--mw-bronze-deep), #3a2717);
    color: var(--mw-gold);
    border-color: var(--mw-orange);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 8px rgba(212, 175, 55, 0.15);
}

.showcase-display {
    display: flex;
    gap: 18px;
    align-items: center;
    flex: 1;
}

.showcase-portrait-wrap {
    flex: 0 0 130px;
    width: 130px;
    height: 170px;
    border: 1px solid var(--mw-border);
    border-radius: 6px;
    background: radial-gradient(circle at 50% 30%, rgba(212, 175, 55, 0.12), rgba(10, 9, 7, 0.92) 75%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 16px rgba(0, 0, 0, 0.7);
}

.showcase-portrait {
    width: 115px;
    height: 145px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

.showcase-portrait-wrap:hover .showcase-portrait {
    transform: translateY(-3px);
}

.showcase-info-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.showcase-class-name {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--mw-gold);
    text-shadow: 0 2px 4px #000;
    margin-bottom: 4px;
}

.showcase-class-meta {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}

.showcase-badge {
    font-family: 'Inter', sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    background: rgba(142, 108, 74, 0.12);
    border: 1px solid var(--mw-border);
    color: var(--mw-orange);
}

.showcase-class-story {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    line-height: 1.55;
    color: var(--mw-muted);
    margin: 0;
    max-height: 100px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--mw-orange) transparent;
}

/* ==========================================================================
   4. Home Section Shells (Maps, NPCs, Items, News, Guides)
   ========================================================================== */

.home-columns {
    margin-top: 24px;
}

.home-section-shell {
    position: relative;
    background:
        linear-gradient(145deg, rgba(22, 18, 14, 0.65), rgba(10, 9, 7, 0.88));
    backdrop-filter: blur(10px) saturate(120%);
    -webkit-backdrop-filter: blur(10px) saturate(120%);
    border: 1px solid rgba(142, 108, 74, 0.3);
    border-radius: 8px;
    padding: 40px 20px 20px;
    margin-top: 22px;
    box-shadow:
        0 16px 32px -8px rgba(0, 0, 0, 0.75),
        0 4px 6px -2px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 244, 196, 0.12),
        inset 0 -1px 0 rgba(0, 0, 0, 0.5);
    overflow: visible;
}

.wrapper-title-plate {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    max-width: calc(100% - 24px);
    margin: 0;
    padding: 10px 24px;
    border-radius: 4px;
    background: linear-gradient(180deg, #5c432d, #281d13);
    border: 1px solid var(--mw-orange);
    color: var(--mw-gold);
    font-family: 'Cinzel', serif;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 8px 20px rgba(0, 0, 0, 0.6),
        0 0 14px rgba(212, 175, 55, 0.2);
    text-shadow:
        0 2px 4px rgba(0, 0, 0, 0.8),
        0 0 10px rgba(212, 175, 55, 0.3);
    white-space: nowrap;
}

.wrapper-title-plate::before,
.wrapper-title-plate::after {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    background: linear-gradient(135deg, var(--mw-gold), var(--mw-orange));
    transform: rotate(45deg);
    margin: 0 10px;
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}

/* ==========================================================================
   5. Map Cards
   ========================================================================== */

.map-card {
    position: relative;
    min-height: 200px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid var(--mw-border);
    background: linear-gradient(145deg, rgba(40, 29, 19, 0.4), rgba(22, 18, 14, 0.95));
    box-shadow: var(--mw-shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.map-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: var(--mw-gold);
    z-index: 10;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.95),
        0 0 20px rgba(212, 175, 55, 0.15),
        inset 0 0 15px rgba(212, 175, 55, 0.08);
}

.map-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-bottom: 1px solid var(--mw-border);
    filter: saturate(0.85) contrast(1.05) brightness(0.85);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 60%, rgba(0,0,0,0.2) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 60%, rgba(0,0,0,0.2) 100%);
    transition: transform 0.35s ease, filter 0.35s ease;
}

.map-card:hover img {
    transform: scale(1.05);
    filter: saturate(1.05) contrast(1.08) brightness(1);
}

.map-card .card-body {
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 8px;
    z-index: 4;
    padding: 8px 10px;
    border-radius: 6px;
    background: linear-gradient(180deg, rgba(40, 29, 19, 0.88), rgba(22, 18, 14, 0.92));
    border: 1px solid var(--mw-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.map-card .card-title {
    font-family: 'Cinzel', serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--mw-gold);
    margin: 0;
    text-shadow: 0 1px 2px #000;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.map-card .card-text {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    color: var(--mw-text);
    margin-top: 2px;
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(142, 108, 74, 0.15);
    border: 1px solid rgba(142, 108, 74, 0.3);
}

/* ==========================================================================
   6. NPC Cards
   ========================================================================== */

.npc-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(105px, 1fr));
    gap: 10px;
}

.npc-card {
    text-align: center;
    padding: 12px 8px 10px;
    background: linear-gradient(145deg, rgba(40, 29, 19, 0.4), rgba(22, 18, 14, 0.95));
    border-radius: 8px;
    border: 1px solid var(--mw-border);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--mw-shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.npc-card:hover {
    transform: translateY(-6px) scale(1.03);
    border-color: var(--mw-gold);
    z-index: 10;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.95),
        0 0 20px rgba(212, 175, 55, 0.15),
        inset 0 0 15px rgba(212, 175, 55, 0.08);
}

.npc-card .npc-sprite-wrap {
    width: 62px;
    height: 62px;
    border-radius: 8px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1), rgba(22, 18, 14, 0.92) 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    border: 1px solid var(--mw-border);
    transition: border-color 0.25s ease;
}

.npc-card:hover .npc-sprite-wrap {
    border-color: var(--mw-orange);
}

.npc-card img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    image-rendering: pixelated;
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.4));
    transition: transform 0.25s ease;
}

.npc-card:hover img {
    transform: scale(1.06);
}

.npc-card .npc-name {
    font-family: 'Cinzel', serif;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--mw-gold);
    text-shadow: 0 1px 2px #000;
}

.npc-card .npc-role-tag {
    font-family: 'Marcellus', serif;
    font-size: 0.56rem;
    color: var(--mw-gold);
    background: linear-gradient(180deg, var(--mw-gold-dim), var(--mw-orange));
    padding: 1px 6px;
    border-radius: 2px;
    margin-top: 5px;
    text-transform: uppercase;
    text-shadow: 0 1px 2px #000;
    border: 1px solid var(--mw-orange);
}

/* ==========================================================================
   7. Item Showcase Strip
   ========================================================================== */

.item-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 12px 8px;
    scrollbar-width: thin;
    scrollbar-color: var(--mw-orange) transparent;
    background: linear-gradient(145deg, rgba(40, 29, 19, 0.4), rgba(22, 18, 14, 0.95));
    border: 1px solid var(--mw-border);
    border-radius: 8px;
}

.item-strip::-webkit-scrollbar {
    height: 6px;
}

.item-strip::-webkit-scrollbar-thumb {
    background: var(--mw-orange);
    border-radius: 3px;
}

.item-icon {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    border: 1px solid var(--mw-border);
    border-radius: 8px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.06), rgba(22, 18, 14, 0.92) 75%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.item-icon:hover {
    border-color: var(--mw-orange);
    transform: scale(1.15);
    z-index: 10;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.55), 0 0 10px rgba(212, 175, 55, 0.25);
}

.item-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    image-rendering: pixelated;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45));
}

.item-tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(160deg, #1c1510, #0a0907);
    border: 1px solid var(--mw-orange);
    border-radius: 8px;
    padding: 10px 14px;
    min-width: 170px;
    max-width: 230px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: 100;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.8), 0 0 12px rgba(212, 175, 55, 0.15);
}

.item-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--mw-orange);
}

.item-icon:hover .item-tooltip {
    opacity: 1;
}

.item-tooltip .item-tt-name {
    font-family: 'Cinzel', serif;
    color: var(--mw-gold);
    font-weight: 700;
    font-size: 0.82rem;
    margin-bottom: 4px;
    text-shadow: 0 1px 2px #000;
}

.item-tooltip .item-tt-desc {
    font-family: 'Inter', sans-serif;
    color: var(--mw-text);
    font-size: 0.72rem;
    line-height: 1.4;
}

.item-tooltip .item-tt-id {
    font-family: 'Inter', sans-serif;
    color: var(--mw-muted);
    font-size: 0.62rem;
    margin-top: 4px;
}

/* ==========================================================================
   8. News Cards (Homepage)
   ========================================================================== */

.news-card {
    background: linear-gradient(145deg, rgba(40, 29, 19, 0.4), rgba(22, 18, 14, 0.95));
    border: 1px solid var(--mw-border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--mw-shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    height: auto;
    align-self: flex-start;
}

.news-card:hover {
    transform: translateY(-6px) scale(1.02);
    border-color: var(--mw-gold);
    z-index: 10;
    box-shadow:
        0 25px 50px -12px rgba(0, 0, 0, 0.95),
        0 0 20px rgba(212, 175, 55, 0.15),
        inset 0 0 15px rgba(212, 175, 55, 0.08);
}

.news-card img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-bottom: 1px solid var(--mw-border);
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 70%, rgba(0,0,0,0.1) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 70%, rgba(0,0,0,0.1) 100%);
    transition: filter 0.35s ease;
}

.news-card:hover img {
    filter: brightness(1.05);
}

.news-card-body {
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    flex-grow: 0 !important;
}

.news-date {
    font-family: 'Inter', sans-serif;
    color: var(--mw-orange);
    font-size: 0.72rem;
    font-weight: 500;
}

.news-title {
    font-family: 'Cinzel', serif;
    color: var(--mw-gold);
    font-weight: 700;
    font-size: 1rem;
    margin: 5px 0 8px;
    text-shadow: 0 1px 2px #000;
}

.news-excerpt {
    font-family: 'Inter', sans-serif;
    color: var(--mw-text);
    font-size: 0.82rem;
    line-height: 1.5;
    margin-bottom: 6px;
    white-space: pre-line;
    flex-grow: 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ==========================================================================
   9. Sidebar Widgets
   ========================================================================== */

.sidebar-widget {
    background:
        linear-gradient(145deg, rgba(22, 18, 14, 0.65), rgba(10, 9, 7, 0.88));
    backdrop-filter: blur(10px) saturate(120%);
    -webkit-backdrop-filter: blur(10px) saturate(120%);
    border: 1px solid rgba(142, 108, 74, 0.3);
    border-radius: 8px;
    padding: 18px;
    margin-bottom: 20px;
    box-shadow:
        0 16px 32px -8px rgba(0, 0, 0, 0.75),
        0 4px 6px -2px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 244, 196, 0.12),
        inset 0 -1px 0 rgba(0, 0, 0, 0.5);
}

.widget-title {
    font-family: 'Cinzel', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--mw-gold);
    border-bottom: 1px solid var(--mw-orange);
    padding-bottom: 8px;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 4px #000;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ── Champions Rankings List ── */
.champions-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.champion-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px;
    border-radius: 4px;
    background: rgba(142, 108, 74, 0.04);
    border: 1px solid rgba(142, 108, 74, 0.12);
    transition: all 0.2s ease;
}

.champion-row:hover {
    background: rgba(142, 108, 74, 0.08);
    border-color: var(--mw-orange);
    transform: translateX(3px);
}

.champ-position {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-family: 'Marcellus', serif;
    font-weight: 700;
    font-size: 0.72rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.champ-1 { background: linear-gradient(135deg, #ffd700, #ffb300); color: #000; box-shadow: 0 0 4px rgba(255, 215, 0, 0.3); }
.champ-2 { background: linear-gradient(135deg, #c0c0c0, #a0a0a0); color: #000; }
.champ-3 { background: linear-gradient(135deg, #cd7f32, #b06520); color: #000; }
.champ-other { background: rgba(142, 108, 74, 0.12); color: var(--mw-muted); border: 1px solid var(--mw-border); }

.champ-avatar {
    width: 30px;
    height: 30px;
    object-fit: contain;
    image-rendering: pixelated;
    border: 1px solid var(--mw-border);
    background: radial-gradient(circle, rgba(142, 108, 74, 0.08), rgba(10, 9, 7, 0.92) 75%);
    border-radius: 4px;
    flex-shrink: 0;
}

.champ-details {
    flex: 1;
    min-width: 0;
}

.champ-name {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.82rem;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.champ-meta {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    color: var(--mw-muted);
}

.champ-level {
    font-family: 'Marcellus', serif;
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--mw-gold);
    flex-shrink: 0;
}

/* ── Event Action Cards ── */
.event-action-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 6px;
    background: linear-gradient(145deg, rgba(40, 29, 19, 0.4), rgba(22, 18, 14, 0.95));
    border: 1px solid var(--mw-border);
    margin-bottom: 8px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: all 0.2s ease;
}

.event-action-card:hover {
    transform: translateY(-2px) scale(1.01);
    border-color: var(--mw-orange);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.5), 0 0 10px rgba(212, 175, 55, 0.12);
}

.event-action-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.event-action-info {
    flex: 1;
    min-width: 0;
}

.event-action-name {
    font-family: 'Marcellus', serif;
    font-weight: 600;
    font-size: 0.82rem;
    color: var(--mw-gold);
    display: block;
}

.event-action-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    color: var(--mw-muted);
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ── Sidebar Items Grid ── */
.sidebar-items-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 7px;
}

/* ==========================================================================
   10. Modals (Homepage-specific)
   ========================================================================== */

.hero-modal-img {
    width: 115px;
    height: 150px;
    object-fit: contain;
    border: 1px solid var(--mw-border);
    border-radius: 6px;
    background: radial-gradient(circle at 50% 30%, rgba(212, 175, 55, 0.12), rgba(10, 9, 7, 0.92) 75%);
    box-shadow: inset 0 0 14px #000;
}

.hero-story {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--mw-text);
}

.map-modal-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border: 1px solid var(--mw-border);
    border-radius: 6px;
}

.map-story {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--mw-text);
}

.monster-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.monster-list li {
    background: rgba(142, 108, 74, 0.12);
    border: 1px solid var(--mw-border);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.76rem;
    color: var(--mw-gold);
    font-family: 'Inter', sans-serif;
}

/* ==========================================================================
   11. Guide Steps (How to Play)
   ========================================================================== */

.guide-steps {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guide-steps li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(142, 108, 74, 0.12);
}

.guide-steps li:last-child {
    border-bottom: none;
}

.step-number {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--mw-bronze-deep), #3a2717);
    border: 1px solid var(--mw-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cinzel', serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--mw-gold);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.guide-steps li:hover .step-number {
    transform: scale(1.08);
    box-shadow: 0 0 12px rgba(212, 175, 55, 0.25);
}

.step-content h5 {
    color: #fff;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.step-content p {
    color: var(--mw-muted);
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
}

.guide-card {
    background: linear-gradient(145deg, rgba(40, 29, 19, 0.4), rgba(22, 18, 14, 0.95));
    border: 1px solid var(--mw-border);
    border-radius: 8px;
    padding: 22px;
    box-shadow: var(--mw-shadow-md), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.guide-card:hover {
    border-color: var(--mw-orange);
    transform: translateY(-3px);
    box-shadow: var(--mw-shadow-lg), var(--mw-glow);
}

.guide-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(142, 108, 74, 0.12);
    border: 1px solid var(--mw-border);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.guide-icon-box i,
.guide-icon-box svg {
    color: var(--mw-gold);
    width: 20px;
    height: 20px;
}

.guide-tip {
    background: rgba(142, 108, 74, 0.08);
    border: 1px solid var(--mw-border);
    border-radius: 8px;
    padding: 14px;
    margin-top: 18px;
}

.guide-tip p {
    margin: 0;
    color: var(--mw-text);
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
}

.guide-tip strong {
    color: var(--mw-gold);
}

/* ==========================================================================
   12. Scrollable Section Content (Explore & NPCs side-by-side)
   ========================================================================== */

.scroll-section-content {
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--mw-orange) rgba(0, 0, 0, 0.3);
}

.scroll-section-content::-webkit-scrollbar {
    width: 5px;
}

.scroll-section-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
}

.scroll-section-content::-webkit-scrollbar-thumb {
    background: var(--mw-orange);
    border-radius: 3px;
    border: 1px solid rgba(0, 0, 0, 0.3);
}

.scroll-section-content::-webkit-scrollbar-thumb:hover {
    background: var(--mw-gold-dim);
}

/* ==========================================================================
   13. Footer (Homepage)
   ========================================================================== */

footer {
    background: linear-gradient(180deg, #100e0c, #050403);
    border-top: 1px solid var(--mw-border);
    padding: 28px 0;
    text-align: center;
    color: var(--mw-muted);
}

footer p {
    margin-bottom: 6px;
}

/* ==========================================================================
   14. Responsive
   ========================================================================== */

@media (max-width: 991.98px) {
    .hero-banner-wrap {
        padding: 36px 0;
    }

    .hero-left {
        padding-right: 0;
        margin-bottom: 36px;
        text-align: center;
        align-items: center;
    }

    .hero-motto {
        align-self: center;
    }

    .status-dashboard {
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .showcase-display {
        flex-direction: column;
        text-align: center;
    }

    .class-selector-tabs {
        flex-wrap: wrap;
        gap: 4px;
    }

    .class-tab-btn {
        flex: 0 0 calc(50% - 4px);
    }
}

/* ==========================================================================
   15. Accessibility — Hide video for reduced-motion users
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .hero-video-bg video {
        display: none;
    }
}
