/* ==========================================================================
   Myth War II Online - Homepage Stylesheet (Dark Fantasy MMORPG Theme)
   ========================================================================== */

:root {
    --mw-gold: #fff4c4;
    --mw-orange: #d4af37;
    --mw-border: rgba(142, 108, 74, 0.45);
    --mw-bg: #0a0907;
    --mw-panel: rgba(18, 16, 13, 0.95);
    --mw-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
    --mw-text: #e4dfd5;
    --mw-muted: #a19e95;
}

/* Page Background Setup */
.page-bg {
    position: fixed;
    inset: 0;
    z-index: -3;
    background: url('../img/maps/Map003_Tiles/File0010.jpg') center center / cover no-repeat;
    filter: brightness(0.4) saturate(0.6);
}

.page-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(212, 175, 55, 0.08), transparent 45%),
        radial-gradient(circle at 70% 80%, rgba(142, 108, 74, 0.06), transparent 45%),
        linear-gradient(180deg, rgba(10, 9, 7, 0.85) 0%, rgba(0, 0, 0, 0.95) 100%);
}

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

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

/* ==========================================================================
   Split Hero Banner & Class Showcase
   ========================================================================== */

.hero-banner-wrap {
    margin-top: 86px;
    padding: 60px 0 40px;
    background: 
        radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.1), transparent 50%),
        linear-gradient(180deg, rgba(22, 18, 14, 0.95) 0%, rgba(10, 9, 7, 0.8) 100%);
    border-bottom: 2px solid var(--mw-border);
    box-shadow: var(--mw-shadow);
}

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

.hero-motto {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    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.8rem;
    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(2.2rem, 4vw, 3.6rem);
    font-weight: 700;
    line-spacing: 1.1;
    color: var(--mw-gold);
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.8), 0 0 15px rgba(212, 175, 55, 0.3);
    margin-bottom: 12px;
}

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

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

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

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

.status-dot.offline {
    background-color: #ff3c3c;
    box-shadow: 0 0 8px #ff3c3c;
    animation: none;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

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

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

/* Dynamic Server Events Styling */
.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.74rem;
    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;
}

/* Class Showcase Card */
.class-showcase-card {
    background: var(--mw-panel);
    border: 2px solid var(--mw-border);
    border-radius: 8px;
    padding: 24px;
    box-shadow: var(--mw-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

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

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

.class-tab-btn.active {
    background: linear-gradient(180deg, #5c432d 0%, #3a2717 100%);
    color: var(--mw-gold);
    border-color: var(--mw-orange);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 10px rgba(212, 175, 55, 0.2);
}

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

.showcase-portrait-wrap {
    flex: 0 0 140px;
    width: 140px;
    height: 180px;
    border: 2px solid var(--mw-border);
    border-radius: 6px;
    background: radial-gradient(circle at 50% 30%, rgba(212, 175, 55, 0.15), rgba(10, 9, 7, 0.95) 75%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

.showcase-portrait {
    width: 120px;
    height: 150px;
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.6));
    animation: floatPortrait 6s ease-in-out infinite;
}

@keyframes floatPortrait {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

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

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

.showcase-class-meta {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

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

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

/* ==========================================================================
   Home Content Layout - 2 Columns (Main / Sidebar)
   ========================================================================== */

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

.home-section-shell {
    position: relative;
    background: var(--mw-panel);
    border: 2px solid var(--mw-border);
    border-radius: 8px;
    padding: 44px 24px 24px;
    margin-top: 24px;
    box-shadow: var(--mw-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    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: 8px 24px;
    border-radius: 4px;
    background: linear-gradient(180deg, #5c432d 0%, #3a2717 100%);
    border: 1px solid var(--mw-orange);
    color: var(--mw-gold) !important;
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 8px 20px rgba(0, 0, 0, 0.5), 0 0 15px rgba(212, 175, 55, 0.15);
    text-shadow: 0 2px 4px #000;
    white-space: nowrap;
}

.wrapper-title-plate::before,
.wrapper-title-plate::after {
    content: '✦';
    color: var(--mw-orange);
    font-size: 0.8em;
    margin: 0 8px;
}

/* --- Map Cards --- */
.map-card {
    background: linear-gradient(145deg, rgba(40, 29, 19, 0.4), rgba(22, 18, 14, 0.95));
    border: 2px solid var(--mw-border) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s !important;
}

.map-card:hover {
    transform: translateY(-5px);
    border-color: var(--mw-orange) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.75), 0 0 20px rgba(212, 175, 55, 0.2) !important;
}

.map-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-bottom: 2px solid var(--mw-border);
    filter: saturate(0.85) contrast(1.05) brightness(0.85);
    transition: transform 0.45s ease, filter 0.35s ease;
}

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

.map-card .card-body {
    padding: 10px 12px;
}

.map-card .card-title {
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--mw-gold) !important;
    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.72rem;
    color: var(--mw-muted);
    margin-top: 2px;
}

/* --- NPC Cards --- */
.npc-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 12px;
}

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

.npc-card:hover {
    transform: translateY(-5px);
    border-color: var(--mw-orange) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.75), 0 0 20px rgba(212, 175, 55, 0.2) !important;
}

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

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

.npc-card img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    image-rendering: pixelated;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s;
}

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

.npc-card .npc-name {
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    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.58rem;
    color: var(--mw-gold);
    background: linear-gradient(180deg, var(--mw-gold), var(--mw-orange)) !important;
    padding: 1px 6px;
    border-radius: 2px;
    margin-top: 6px;
    text-transform: uppercase;
    text-shadow: 0 1px 2px #000;
    border: 1px solid var(--mw-orange);
}

/* --- Item Showcase --- */
.item-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 12px;
    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: 2px 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 54px;
    width: 54px;
    height: 54px;
    border: 2px solid var(--mw-border) !important;
    border-radius: 8px !important;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08), rgba(22, 18, 14, 0.95) 75%) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.28s, border-color 0.28s, box-shadow 0.28s !important;
    position: relative;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

.item-icon:hover {
    border-color: var(--mw-orange) !important;
    transform: scale(1.18);
    z-index: 10;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6), 0 0 12px rgba(212, 175, 55, 0.3) !important;
}

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

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

.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) !important;
    font-weight: 700;
    font-size: 0.85rem;
    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.75rem;
    line-height: 1.4;
}

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

/* --- News Cards --- */
.news-card {
    background: linear-gradient(145deg, rgba(40, 29, 19, 0.4), rgba(22, 18, 14, 0.95));
    border: 2px solid var(--mw-border) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: var(--mw-orange) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.75), 0 0 20px rgba(212, 175, 55, 0.2) !important;
}

.news-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-bottom: 2px solid var(--mw-border);
}

.news-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
}

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

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

.news-excerpt {
    font-family: 'Inter', sans-serif;
    color: var(--mw-text) !important;
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 16px;
}

/* ==========================================================================
   Sidebar Widgets
   ========================================================================== */

.sidebar-widget {
    background: var(--mw-panel);
    border: 2px solid var(--mw-border);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: var(--mw-shadow), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

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

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

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

.champion-row:hover {
    background: rgba(142, 108, 74, 0.1);
    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.75rem;
    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 6px rgba(255,215,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.15); color: var(--mw-muted); border: 1px solid var(--mw-border); }

.champ-avatar {
    width: 32px;
    height: 32px;
    object-fit: contain;
    image-rendering: pixelated;
    border: 1px solid var(--mw-border);
    background: radial-gradient(circle, rgba(142, 108, 74, 0.1), rgba(10, 9, 7, 0.95) 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.85rem;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

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

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

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

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

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

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

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

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

/* Sidebar Item Showcase */
.sidebar-items-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

/* ==========================================================================
   Modals & Modals Styling
   ========================================================================== */

#heroModal, #mapModal, #npcModal {
    z-index: 1065;
}

.modal-backdrop {
    z-index: 1060;
}

.hero-modal-img {
    width: 120px;
    height: 160px;
    object-fit: contain;
    border: 2px solid var(--mw-border);
    border-radius: 6px;
    background: radial-gradient(circle at 50% 30%, rgba(212, 175, 55, 0.15), rgba(10, 9, 7, 0.95) 75%);
    box-shadow: inset 0 0 15px #000;
}

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

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

.map-story {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    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.15);
    border: 1px solid var(--mw-border);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.78rem;
    color: var(--mw-gold);
    font-family: 'Inter', sans-serif;
}

/* ==========================================================================
   How to Play & Steps
   ========================================================================== */

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

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

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

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

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

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

.step-content p {
    color: var(--mw-muted);
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    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: 2px solid var(--mw-border) !important;
    border-radius: 8px !important;
    padding: 24px;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

.guide-card:hover {
    border-color: var(--mw-orange) !important;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.75), 0 0 20px rgba(212, 175, 55, 0.15) !important;
}

.guide-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(142, 108, 74, 0.15);
    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: 22px;
    height: 22px;
}

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

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

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

/* ==========================================================================
   Footer
   ========================================================================== */

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

footer p {
    margin-bottom: 8px;
}

/* ==========================================================================
   Responsive Adjustments
   ========================================================================== */

@media (max-width: 991.98px) {
    .hero-banner-wrap {
        padding: 40px 0;
    }
    
    .hero-left {
        padding-right: 0;
        margin-bottom: 40px;
        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);
    }
}

/* Custom Scrollable Containers for side-by-side Explore & NPCs */
.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: 6px;
}

.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.4);
}

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

