/* Server Status Diablo V2 - Premium Design - Robust Fixes */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;700&family=Roboto:wght@300;400;500;700&display=swap');

/* --- Reset & Scoping --- */
/* We target the specific combined class to override style.css */
.server-status-wrapper.server-status-wrapper-v2 {
    background: radial-gradient(circle at top center, #1a0505 0%, #000000 100%) !important;
    background-color: #000 !important;
    color: #e0e0e0;
    font-family: 'Roboto', sans-serif !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
    position: relative;
    box-sizing: border-box;
}

/* Reset common tags inside our wrapper to avoid theme bleed */
.server-status-wrapper-v2 * {
    box-sizing: border-box;
}

.server-status-wrapper-v2 h1,
.server-status-wrapper-v2 h2,
.server-status-wrapper-v2 h3,
.server-status-wrapper-v2 h4,
.server-status-wrapper-v2 h5,
.server-status-wrapper-v2 h6 {
    font-family: 'Roboto Slab', serif !important;
    color: #cda434 !important;
    margin-top: 0;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
    /* Reset pseudo-elements that might be added by theme */
    border: none !important;
}

.server-status-wrapper-v2 h1:after,
.server-status-wrapper-v2 h2:after,
.server-status-wrapper-v2 h3:after {
    content: none !important;
    display: none !important;
}

.server-status-wrapper-v2 a {
    text-decoration: none !important;
    color: inherit;
    transition: all 0.3s ease;
}

.server-status-wrapper-v2 p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* --- Layout Variables --- */
:root {
    --primary-gold: #cda434;
    --primary-red: #8a0f0f;
    --card-bg: rgba(20, 20, 20, 0.9);
    --glass-border: rgba(255, 255, 255, 0.1);
}

/* --- Hero Section Redesign --- */
.hero-v2 {
    position: relative;
    min-height: 85vh;
    /* Allow growth */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-bottom: 0;
    /* Static Background Fallback */
    background: url('../images/hero-bg-epic.png') no-repeat center center;
    background-size: cover;
    padding-top: 100px;
    padding-bottom: 40px;
}

/* If we keep the slider, ensure it overlays correctly */
/* If we keep the slider, ensure it overlays correctly */
.hero-bg-slider {
    display: none;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.8) 90%);
    z-index: 1;
}

/* --- Diablo Logo Modification --- */
.diablo-logo-container {
    margin-bottom: 5px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.classic-logo-final {
    max-width: 350px;
    width: 100%;
    height: auto;
    margin-top: -30px;
    margin-bottom: -30px;
    display: block;
    /* Removes inline gap */
    margin-left: auto;
    margin-right: auto;
}

@keyframes logo-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* --- Unified Hero Box (News + Intro) --- */
.hero-content-v2 {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    /* Increased to fit box */
    padding: 0 15px;
    margin: auto;
}

.hero-unified-box {
    display: flex;
    flex-wrap: wrap;
    /* Stack on mobile */
    width: 100%;
    background: rgba(10, 5, 5, 0.85);
    border: 2px solid #5c4e38;
    /* Dark gold border */
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(0, 0, 0, 0.5);
    position: relative;
    border-radius: 4px;
    /* Slight rounded corners */
}

/* Left Column: News */
.hero-news-col {
    flex: 0 0 400px;
    /* Widened from 320px */
    border-right: 1px solid #3a3a3a;
    display: flex;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.3);
}

.hero-news-header {
    background: linear-gradient(to right, #2b0e0e, #4a1212);
    color: #e0ac48;
    padding: 12px 15px;
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 1rem;
    border-bottom: 1px solid #5c4e38;
    text-align: center;
}

.hero-news-list {
    list-style: none;
    margin: 0;
    padding: 0;
    flex-grow: 1;
    /* Push media to bottom */
}

.hero-news-list li {
    padding: 10px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s;
}

.hero-news-list li:hover {
    background: rgba(255, 255, 255, 0.05);
}

.hero-news-list li .date {
    font-size: 0.75rem;
    color: #888;
    font-family: 'Roboto', sans-serif;
    min-width: 35px;
}

.hero-news-list li a {
    color: #ccc;
    font-size: 0.9rem;
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    line-height: 1.3;
    /* Truncation */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    flex: 1;
    /* Take remaining space */
    min-width: 0;
    /* Allow shrinking */
    text-transform: uppercase;
}

.hero-news-list li a:hover {
    color: var(--primary-gold);
}

.hero-media-preview {
    height: 180px;
    background: #000;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid #3a3a3a;
    overflow: hidden;
}

.hero-media-preview .media-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    width: 100%;
    height: 100%;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    transition: background 0.3s;
}

.hero-media-preview:hover .media-link {
    background: rgba(0, 0, 0, 0.2);
}

.hero-media-preview .play-btn {
    width: 40px;
    height: 40px;
    background: rgba(255, 0, 0, 0.8);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-media-preview .play-btn::after {
    content: '';
    border-style: solid;
    border-width: 6px 0 6px 10px;
    border-color: transparent transparent transparent #fff;
}

/* Right Column: Intro */
.hero-intro-col {
    flex: 1;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-width: 300px;
}

.hero-intro-col h1 {
    display: none;
}

/* Cleaned up syntax error */

/* Intro Content Text */
.intro-content {
    margin-bottom: 30px;
    margin-bottom: 30px;
    max-width: 100%;
    text-align: left;
    /* Align all content left */
}

.intro-content h3 {
    font-family: 'Roboto Slab', serif;
    font-size: 1.8rem;
    color: var(--primary-gold);
    margin-bottom: 15px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
    border-bottom: 2px solid rgba(205, 164, 52, 0.3);
    display: inline-block;
    /* Keep inline for border length */
    padding-bottom: 5px;
    /* If we want left align but centered block, wrapping is needed. 
       But assuming we want straight left edge: */
    /* display: block; width: 100%; border-bottom: ... full width? No. */
    /* Let's keep inline-block but since parent .intro-content is text-align: left, it will align left. */
}

.intro-content .intro-desc {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: #f0f0f0;
    line-height: 1.5;
    /* Cleaner spacing */
    margin-bottom: 8px;
    /* Tighter paragraph spacing */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    font-weight: 300;
    letter-spacing: 0.5px;
    text-align: justify;
    /* Make edges neat "gọn gàng" */
    text-justify: inter-word;
}

/* Old hiding rule removed */

/* --- Hero Actions New Layout --- */
.hero-actions-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    margin-top: 10px;
    margin-bottom: 30px;
}

/* Big Play Button (Red/Dark Aesthetic) */
.btn-big-play {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #700d0d 0%, #3d0303 100%);
    border: 2px solid #a31818;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.3), inset 0 0 30px rgba(0, 0, 0, 0.8);
    padding: 15px 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    min-width: 300px;
    position: relative;
    /* Fancy shape clip? standard box for now */
}

/* Inner border effect */
.btn-big-play::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border: 1px solid rgba(255, 150, 150, 0.15);
}

.btn-big-play:hover {
    background: linear-gradient(180deg, #8f1212 0%, #520505 100%);
    box-shadow: 0 0 30px rgba(255, 30, 30, 0.5), inset 0 0 10px rgba(0, 0, 0, 0.5);
    transform: translateY(-2px);
    border-color: #ff3333;
}

.btn-big-play .btn-text {
    font-family: 'Roboto Slab', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 2px 10px #000;
}

.btn-big-play .btn-sub {
    font-family: 'Roboto', sans-serif;
    font-size: 0.9rem;
    color: #aaa;
    /* Grayish text */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

.btn-big-play:hover .btn-text {
    color: #ffd700;
    /* Gold on hover */
}

/* Secondary Links */
.hero-secondary-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.hero-secondary-links a {
    font-family: 'Roboto Slab', serif;
    font-size: 1rem;
    color: #bbb;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all 0.3s;
    padding: 5px 10px;
    border: 1px solid transparent;
}

.hero-secondary-links a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.hero-secondary-links .sep {
    color: #555;
    font-size: 0.9rem;
    font-weight: 300;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-unified-box {
        flex-direction: column-reverse;
    }

    .hero-news-col {
        flex: auto;
        border-right: none;
        border-top: 1px solid #3a3a3a;
        min-height: auto;
    }

    .hero-intro-col {
        padding: 30px 15px;
    }
}

/* Premium Buttons */
.btn-v2 {
    position: relative;
    padding: 15px 35px;
    font-family: 'Roboto Slab', serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff !important;
    background: transparent;
    border: 1px solid var(--primary-gold);
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.4s ease;
    z-index: 1;
    box-shadow: 0 0 10px rgba(205, 164, 52, 0.2);
    min-width: 250px;
}

.btn-v2.btn-primary {
    background: linear-gradient(180deg, rgba(205, 164, 52, 0.7) 0%, rgba(138, 90, 27, 0.9) 100%);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    border-color: #ffe680;
}

.btn-v2.btn-primary:hover {
    background: linear-gradient(180deg, rgba(225, 184, 72, 0.9) 0%, rgba(158, 110, 47, 1.0) 100%);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.btn-v2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--primary-gold);
    transition: all 0.4s ease;
    z-index: -1;
}

.btn-v2:hover {
    color: #000 !important;
    box-shadow: 0 0 25px rgba(205, 164, 52, 0.6);
    transform: translateY(-3px);
    border-color: var(--primary-gold);
}

.btn-v2:hover::before {
    width: 100%;
}

/* Primary Button (Fill by default) */
.btn-primary {
    background: linear-gradient(45deg, #8a0f0f, #b31212);
    border-color: #ff3333;
    color: #fff !important;
    box-shadow: 0 0 20px rgba(138, 15, 15, 0.5);
}

.btn-primary:hover {
    background: linear-gradient(45deg, #b31212, #ff3333);
    box-shadow: 0 0 40px rgba(255, 51, 51, 0.8);
    color: #fff !important;
    /* Keep white on red */
    transform: translateY(-3px) scale(1.05);
}

.btn-primary::before {
    display: none;
}

/* Disable swipe fill for primary */

/* Dots */
.hero-dots {
    position: absolute;
    bottom: 80px;
    /* Moved up to clear stats bar */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border: 1px solid var(--primary-gold);
    transform: rotate(45deg);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-dot.active {
    background: var(--primary-gold);
    box-shadow: 0 0 8px var(--primary-gold);
}

/* --- Stats Bar --- */
.stats-bar-container {
    position: relative;
    z-index: 5;
    margin-top: 0;
    padding: 0 15px;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

.stats-bar {
    display: flex;
    flex-wrap: wrap;
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--primary-red);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    border-radius: 4px;
}

.stat-item {
    flex: 1;
    min-width: 200px;
    padding: 1.5rem;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
    border-right: none;
}

.stat-item h4 {
    font-size: 0.9rem;
    color: #a0a0a0 !important;
    font-family: 'Roboto', sans-serif !important;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.stat-item p {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

/* --- Times Bar --- */
.server-times {
    display: flex;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px 0;
    margin-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    flex-wrap: wrap;
}

.time-item {
    flex: 1;
    text-align: center;
    padding: 10px;
    min-width: 140px;
}

.time-item .label {
    display: block;
    color: var(--primary-gold);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.time-item .time {
    color: #fff;
    font-size: 0.95rem;
    display: inline-block;
    min-width: 80px;
    /* Prevent layout shift */
    text-align: center;
}

/* Display time from data attribute - immune to translation */
.time-item .time::after {
    content: attr(data-time);
}

/* Status Badges */
.time-item span[id$="-status"] {
    display: inline-block;
    margin-top: 6px;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 3px;
    font-weight: 700;
    text-transform: uppercase;
}

.status-online {
    color: #4caf50;
    border: 1px solid #4caf50;
    background: rgba(76, 175, 80, 0.1);
}

.status-offline {
    color: #f44336;
    border: 1px solid #f44336;
    background: rgba(244, 67, 54, 0.1);
}

.status-maintenance {
    color: #ff9800;
    border: 1px solid #ff9800;
    background: rgba(255, 152, 0, 0.1);
}


/* --- Main Grid System --- */
.main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding: 0 15px;
    width: 100%;
}

.content-col,
.sidebar-col {
    min-width: 0;
    /* Prevent grid blowout */
}

/* Responsive Grid */
@media (max-width: 900px) {
    .main-grid {
        grid-template-columns: 1fr;
    }
}

/* Sections */
.section-header {
    border-bottom: 1px solid var(--primary-gold);
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 10px;
}

.section-header h2 {
    margin-bottom: 0;
    font-size: 1.5rem;
}

/* News Cards */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.news-card-v2 {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s;
}

.news-card-v2:hover {
    transform: translateY(-5px);
    border-color: var(--primary-gold);
}

.news-card-date {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--primary-red);
    color: #fff;
    padding: 2px 8px;
    font-size: 0.75rem;
    border-radius: 2px;
}

.news-card-cat {
    padding: 15px 15px 5px;
    color: var(--primary-gold);
    font-size: 0.8rem;
    font-weight: 700;
}

.news-card-content {
    padding: 10px 15px 20px;
}

.news-card-content h3 {
    font-size: 1.1rem;
    margin: 0;
    line-height: 1.4;
}

.news-card-content h3 a {
    color: #fff;
}

.news-card-content h3 a:hover {
    color: var(--primary-gold);
}

/* Featured Update */
.featured-update {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 40px;
    border: 1px solid #333;
}

.featured-update img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, #000 0%, transparent 100%);
    padding: 40px 20px 20px;
}

.featured-overlay h3 {
    font-size: 1.8rem;
    margin: 0 0 10px;
    color: #fff;
}

/* --- Sidebar Widgets with Constraints --- */
.discord-widget-v2 {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    width: 100%;
    /* Ensure it doesn't exceed parent */
    max-width: 100%;
    box-sizing: border-box;
}

/* Wiki Section */
.wiki-container {
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding: 0 15px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.wiki-card-v2 {
    position: relative;
    height: 200px;
    background: #111;
    border: 1px solid #333;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
}

.wiki-card-v2:hover {
    transform: translateY(-5px);
    border-color: var(--primary-gold);
}

.wiki-card-v2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

.wiki-card-v2 .wiki-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.wiki-card-v2 h3 {
    text-shadow: 0 2px 5px #000;
    margin: 0;
}

/* Community Media Redesign */
.community-section {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 80px 15px;
    background: linear-gradient(180deg, #050505 0%, #151515 50%, #050505 100%);
    border-top: 1px solid #2a2a2a;
    border-bottom: 1px solid #2a2a2a;
    overflow: hidden;
}

/* Container for content centered */
.community-section .section-header,
.community-section .media-grid-v2 {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

/* Match Extra Quest Header Alignment */
.community-section .section-header {
    display: block;
    /* Override flex */
    text-align: center;
    border-bottom: none;
    margin-bottom: 40px;
}

.community-section .section-header h2 {
    font-family: 'Roboto Slab', serif !important;
    font-size: 2.5rem;
    color: var(--primary-gold) !important;
    text-transform: uppercase;
    text-shadow: 0 0 10px #000, 0 0 20px rgba(205, 164, 52, 0.4);
    margin: 0;
}

.media-grid-v2 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.media-item {
    background: rgba(20, 20, 20, 0.6);
    border: 1px solid #333;
    padding: 12px;
    border-radius: 4px;
    color: #ccc;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.media-item:hover {
    background: rgba(30, 30, 30, 0.8);
    border-color: #ffd700;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 215, 0, 0.1);
    transform: translateY(-5px);
}

.media-item .media-thumbnail {
    aspect-ratio: 16/9;
    background: #000;
    margin-bottom: 15px;
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid #222;
}

.media-item h3 {
    font-size: 0.9rem;
    color: var(--primary-gold) !important;
    font-family: 'Roboto Slab', serif !important;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.media-item p {
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
    color: #999;
}

.media-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.8rem;
    color: #fff;
    text-transform: uppercase;
    text-decoration: none !important;
    border-bottom: 1px solid var(--primary-red);
    padding-bottom: 2px;
    transition: all 0.3s;
}

.media-link:hover {
    color: var(--primary-gold);
    border-bottom-color: var(--primary-gold);
}

/* --- New Extra Quests Slider Section --- */
/* --- New Extra Quests Slider Section --- */
.extra-quests-section {
    max-width: 100%;
    margin: 0 0 4rem;
    padding: 80px 15px;
    background-image: url('../images/extra-quest-bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    border-top: 3px solid var(--primary-red);
    border-bottom: 3px solid var(--primary-red);
    box-shadow: inset 0 0 50px #000;
}

/* Overlay for readability */
.extra-quests-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: 1;
}

/* Ensure content sits above overlay */
.extra-quests-section .section-header,
.extra-quests-section .quest-slider-container {
    position: relative;
    z-index: 2;
}

/* Center the Section Title */
.extra-quests-section .section-header {
    justify-content: center;
    border-bottom: none;
    /* Remove separator line since we want a clean center look */
    margin-bottom: 40px;
    text-align: center;
}

.extra-quests-section .section-header h2 {
    font-size: 2.5rem;
    text-shadow: 0 0 10px #000, 0 0 20px var(--primary-red);
}

.quest-slider-container {
    position: relative;
    max-width: 1200px;
    /* Slight increase */
    margin: 0 auto;
    overflow: hidden;
    /* Mask neighbor slides */
    padding-bottom: 50px;
}

.quest-slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.quest-slide {
    flex: 0 0 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    box-sizing: border-box;
}

.quest-content-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    /* Transparent Background as requested */
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0 40px;
    width: 100%;
    position: relative;
}

/* Keep layout alternating */
.quest-content-wrapper.layout-reverse {
    flex-direction: row-reverse;
}

.quest-visual {
    flex: 0 0 500px;
    /* Larger images */
    max-width: 50%;
    position: relative;
}

.quest-visual img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
    /* Strong shadow to pop off bg */
    border: 1px solid rgba(205, 164, 52, 0.3);
    transition: transform 0.3s;
}

.quest-visual img:hover {
    transform: scale(1.02);
    border-color: var(--primary-gold);
}

.quest-details {
    flex: 1;
    text-align: left;
    text-shadow: 0 2px 4px #000;
    /* Enhance readability on transparent bg */
}

.quest-details h3 {
    font-size: 2.5rem;
    color: var(--primary-gold) !important;
    margin-bottom: 20px;
    text-transform: uppercase;
    font-family: 'Roboto Slab', serif !important;
    letter-spacing: 2px;
    line-height: 1.1;
}

.quest-details p {
    font-size: 1.15rem;
    color: #eee;
    /* Brighter text */
    line-height: 1.8;
    margin-bottom: 30px;
    font-weight: 300;
}

.btn-small {
    padding: 12px 35px;
    font-size: 1rem;
    letter-spacing: 1px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--primary-gold);
}

.btn-small:hover {
    background: var(--primary-gold);
    color: #000 !important;
}

/* Nav Controls */
.quest-nav-btn {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #fff;
    width: 60px;
    height: 60px;
    cursor: pointer;
    z-index: 20;
    font-size: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: all 0.3s;
}

.quest-nav-btn:hover {
    opacity: 1;
    color: var(--primary-gold);
    text-shadow: 0 0 15px var(--primary-gold);
    transform: translateY(-50%) scale(1.1);
    box-shadow: none;
    background: transparent;
}

.quest-nav-btn.prev {
    left: 10px;
}

.quest-nav-btn.next {
    right: 10px;
}

.quest-dots {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
}

.quest-dot {
    width: 60px;
    /* Bars instead of dots */
    height: 4px;
    background: #555;
    border-radius: 2px;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

.quest-dot:hover {
    background: #888;
}

.quest-dot.active {
    background: var(--primary-gold);
    box-shadow: 0 0 10px var(--primary-gold);
    transform: none;
}

/* Mobile Responsive */
@media(max-width: 1250px) {
    .quest-nav-btn {
        display: none;
    }

    .quest-slider-container {
        width: 100%;
        padding: 0 20px 50px;
    }

    .quest-content-wrapper {
        padding: 0;
    }
}

@media(max-width: 900px) {

    .quest-content-wrapper,
    .quest-content-wrapper.layout-reverse {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
}

/* --- Character Classes Section --- */
.classes-section {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 60px 15px;
    background: #080808;
    /* Slightly lighter than pure black */
    border-bottom: 1px solid #222;
}

.classes-section .section-header {
    text-align: center;
    margin-bottom: 40px;
    display: block;
    border-bottom: none;
}

.classes-section .section-header h2 {
    font-family: 'Roboto Slab', serif !important;
    font-size: 2.5rem;
    color: var(--primary-gold) !important;
    text-transform: uppercase;
    text-shadow: 0 0 10px #000, 0 0 20px rgba(205, 164, 52, 0.4);
    margin: 0;
}

.classes-section .section-desc {
    color: #ccc;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 15px auto 0;
    line-height: 1.6;
    font-weight: 300;
}

.classes-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1300px;
    /* Wide enough for 7 items roughly */
    margin: 0 auto;
}

.class-card {
    flex: 0 0 140px;
    /* Fixed width mostly */
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.class-card:hover {
    transform: translateY(-10px);
}

.class-card .class-img {
    width: 100%;
    height: 280px;
    /* Tall images */
    overflow: hidden;
    position: relative;
    margin-bottom: 15px;
    /* Optional: Add a glow or border */
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.8));
    transition: filter 0.3s ease;
}

.class-card:hover .class-img {
    filter: drop-shadow(0 0 15px rgba(205, 164, 52, 0.4));
}

.class-card .class-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Keep aspect ratio of characters */
    object-position: bottom center;
}

.class-card h3 {
    font-family: 'Roboto Slab', serif;
    font-size: 1rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    border-top: 1px solid transparent;
    padding-top: 10px;
}

.class-card:hover h3 {
    color: var(--primary-gold);
    text-shadow: 0 0 10px rgba(205, 164, 52, 0.6);
    border-top-color: var(--primary-red);
}

/* Response for mobile */
@media (max-width: 768px) {
    .classes-grid {
        justify-content: center;
    }

    .class-card {
        flex: 0 0 45%;
        /* 2 per row */
        max-width: 45%;
    }

    .class-card .class-img {
        height: 200px;
    }
}

/* Quest Mobile Fixes */
@media (max-width: 900px) {
    .quest-visual {
        flex: 0 0 auto;
        max-width: 100%;
        width: 100%;
    }

    .quest-details {
        text-align: center;
    }

    .quest-details h3 {
        font-size: 1.8rem;
    }

    .extra-quests-section .section-header h2 {
        font-size: 1.8rem;
    }
}

/* --- Skills Section --- */
.skills-section {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 80px 15px;
    background-image: url('../images/hero-bg-epic.png');
    /* Reusing epic bg */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax feel */
    border-bottom: 1px solid #222;
    overflow: hidden;
}

.skills-section .section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    /* Dark overlay */
    z-index: 1;
}

.skills-content-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
}

.skills-section .section-header {
    text-align: center;
    margin-bottom: 50px;
    display: block;
    border-bottom: none;
}

.skills-section .section-header h2 {
    font-family: 'Roboto Slab', serif !important;
    font-size: 2.8rem;
    color: var(--primary-gold) !important;
    text-transform: uppercase;
    text-shadow: 0 0 15px #000, 0 0 30px rgba(205, 164, 52, 0.6);
    margin: 0 0 10px;
}

/* Decoration line under title */
.header-decoration {
    height: 2px;
    width: 100px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
    margin: 10px auto 20px;
}

.skills-section .section-desc {
    color: #ccc;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: 300;
}

/* --- Skills Slider Single --- */
.skills-slider-single-container {
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 60px;
    /* Space for arrow buttons */
}

.skill-single-track-wrapper {
    overflow: hidden;
    position: relative;
}

.skill-single-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.skill-single-slide {
    flex: 0 0 100%;
    min-width: 0;
    padding: 20px 10px;
}

.skill-split-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid #333;
    border-radius: 8px;
    padding: 40px;
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Left Column: Info */
.skill-info-col {
    flex: 1;
    min-width: 300px;
}

.skill-class-name {
    font-size: 1rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    font-family: 'Roboto', sans-serif;
}

.skill-name-highlight {
    font-size: 2.2rem;
    font-family: 'Roboto Slab', serif;
    color: var(--primary-gold);
    text-transform: uppercase;
    margin: 0 0 20px;
    line-height: 1.2;
    text-shadow: 0 0 15px rgba(205, 164, 52, 0.3);
}

.skill-desc {
    color: #ccc;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.skill-meta {
    display: flex;
    gap: 20px;
}

.skill-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #aaa;
    font-size: 0.95rem;
    border: 1px solid #444;
    padding: 5px 12px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
}

.skill-meta span i {
    color: var(--primary-gold);
}

/* Right Column: Video */
.skill-video-col {
    flex: 1.2;
    min-width: 300px;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    background: #000;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #444;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.6);
}

.video-container iframe,
.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-placeholder {
    background-size: cover;
    background-position: center;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn-large {
    width: 80px;
    height: 80px;
    background: rgba(0, 0, 0, 0.7);
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    backdrop-filter: blur(2px);
}

.play-btn-large i {
    color: #fff;
    font-size: 2rem;
    margin-left: 5px;
}

.video-placeholder:hover .play-btn-large {
    background: var(--primary-red);
    border-color: var(--primary-red);
    transform: scale(1.1);
    box-shadow: 0 0 20px var(--primary-red);
}

/* Nav Buttons */
.skill-single-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid #555;
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skill-single-nav:hover {
    background: var(--primary-gold);
    color: #000;
    border-color: var(--primary-gold);
    box-shadow: 0 0 15px var(--primary-gold);
}

.skill-single-nav.prev {
    left: 0;
}

.skill-single-nav.next {
    right: 0;
}

/* Dots */
.skill-single-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.skill-dot {
    width: 12px;
    height: 12px;
    background: #444;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.skill-dot.active,
.skill-dot:hover {
    background: var(--primary-gold);
    box-shadow: 0 0 5px var(--primary-gold);
}

/* Responsive */
@media (max-width: 900px) {
    .skill-single-nav {
        display: none;
        /* Hide arrows on mobile, rely on swipe/dots */
    }

    .skills-slider-single-container {
        padding: 0 10px;
    }

    max-width: 340px;
}
}

```