/* ================================================
   RUBINUM PRESENTATION - Main Styles
   ================================================ */

/* CSS Variables */
:root {
    /* Layout */
    --sidebar-width: 280px;
    --sidebar-collapsed-width: 0px;
    --topbar-height: 60px;
    --content-max-width: 1400px;

    /* Colors - Dark Theme (Rubinum style) */
    --bg-dark: #1a1412;
    --bg-secondary: #241c18;
    --bg-tertiary: #2e2420;
    --bg-card: #352a24;
    --bg-card-hover: #3d322b;

    /* Accent Colors */
    --accent-red: #821f1d;
    --accent-red-bright: #c73030;
    --accent-red-medium: #c75031;
    --accent-orange: #d4633a;
    --accent-gold: #c9a227;
    --accent-cream: #d7bea8;

    /* Browns */
    --brown-dark: #5d3a2f;
    --brown-darker: #4f241f;

    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #d4c8bc;
    --text-muted: #7a6d62;

    /* Typography */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;

    /* Borders */
    --border-radius: 8px;
    --border-color: rgba(255, 255, 255, 0.08);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

strong {
    color: var(--text-primary);
}

/* Hero Video Background */
.hero-video-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 1150px;
    overflow: hidden;
    z-index: -2;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center -150px;
}

/* Gradient fade from video to dark background */
.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(26, 20, 18, 0.3) 0%,
        rgba(26, 20, 18, 0.6) 40%,
        rgba(26, 20, 18, 0.9) 70%,
        rgba(26, 20, 18, 1) 100%
    );
    z-index: 1;
}

/* Fallback for when video doesn't load */
.hero-video-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: -1;
}

/* ================================================
   TOP NAVIGATION BAR
   ================================================ */
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--topbar-height);
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 1000;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.sidebar-toggle {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--border-radius);
    transition: var(--transition-fast);
}

.sidebar-toggle:hover {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

.topbar-logo {
    display: flex;
    align-items: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    color: var(--accent-cream);
    letter-spacing: 2px;
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--border-radius);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--text-primary);
    background: var(--bg-tertiary);
}

.nav-link i {
    font-size: 16px;
}

/* Language Dropdown */
.lang-dropdown {
    position: relative;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
}

.lang-toggle:hover {
    color: var(--text-primary);
    background: var(--bg-tertiary);
    border-color: var(--brown-dark);
}

.lang-toggle .fa-globe {
    font-size: 16px;
}

.lang-arrow {
    font-size: 10px;
    transition: transform var(--transition-fast);
}

.lang-dropdown:hover .lang-arrow {
    transform: rotate(180deg);
}

.lang-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 160px;
    background: var(--bg-card);
    border: 1px solid var(--brown-dark);
    border-radius: var(--border-radius);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition-fast);
    z-index: 1000;
    max-height: 350px;
    overflow-y: auto;
    padding: 6px 0;
}

/* Scrollbar styling */
.lang-menu::-webkit-scrollbar {
    width: 6px;
}

.lang-menu::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
    border-radius: 3px;
}

.lang-menu::-webkit-scrollbar-thumb {
    background: var(--brown-dark);
    border-radius: 3px;
}

.lang-menu::-webkit-scrollbar-thumb:hover {
    background: var(--accent-orange);
}

.lang-dropdown:hover .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-fast);
}

.lang-option:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.lang-option.active {
    background: var(--bg-tertiary);
    color: var(--accent-orange);
}

.flag-icon {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    object-fit: cover;
}

/* ================================================
   SIDEBAR NAVIGATION
   ================================================ */
.sidebar {
    position: fixed;
    top: var(--topbar-height);
    left: 0;
    width: var(--sidebar-width);
    height: calc(100vh - var(--topbar-height));
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 900;
    transition: transform var(--transition-normal);
}

.sidebar.collapsed {
    transform: translateX(-100%);
}

.sidebar-scroll {
    padding: 16px 0;
}

/* Custom Scrollbar */
.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
    background: var(--brown-dark);
    border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--accent-orange);
}

/* Navigation Category */
.nav-category {
    margin-bottom: 8px;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    cursor: pointer;
    transition: var(--transition-fast);
    background: rgba(0, 0, 0, 0.35);
    margin: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.category-header:hover {
    background: var(--bg-tertiary);
    transform: translateX(4px);
}

.category-icon {
    color: var(--accent-orange);
    font-size: 14px;
    width: 20px;
    text-align: center;
}

.category-title {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-arrow {
    color: var(--text-muted);
    font-size: 12px;
    transition: transform 0.35s ease;
}

.nav-category.expanded .category-arrow {
    transform: rotate(180deg);
}

.nav-category.expanded .category-header {
    background: rgba(212, 99, 58, 0.15);
    border-color: rgba(212, 99, 58, 0.3);
}

/* Category Items */
.category-items {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0;
    transition: max-height 0.5s cubic-bezier(0.25, 0.1, 0.25, 1),
                opacity 0.4s cubic-bezier(0.25, 0.1, 0.25, 1),
                padding 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.nav-category.expanded .category-items {
    max-height: 1500px;
    opacity: 1;
    padding: 4px 0;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px 10px 52px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition-fast);
    border-left: 3px solid transparent;
    position: relative;
    background: rgba(0, 0, 0, 0.2);
    margin: 2px 8px;
    border-radius: 4px;
}

.nav-item:hover {
    color: var(--text-primary);
    background: var(--bg-tertiary);
    transform: translateX(4px);
}

.nav-item.active {
    color: var(--accent-orange);
    background: rgba(212, 99, 58, 0.1);
    border-left-color: var(--accent-orange);
}

/* Sub-items in navigation */
.nav-item.nav-sub-item {
    padding-left: 68px;
    font-size: 13px;
    opacity: 0.85;
}

.nav-item.nav-sub-item::before {
    content: '›';
    position: absolute;
    left: 52px;
    color: var(--accent-orange);
    opacity: 0.6;
}

/* ================================================
   MAIN CONTENT AREA
   ================================================ */
.main-content {
    margin-left: var(--sidebar-width);
    margin-top: var(--topbar-height);
    min-height: calc(100vh - var(--topbar-height));
    padding: 40px;
    padding-top: 500px;
    transition: margin-left var(--transition-normal);
}

body.sidebar-collapsed .main-content {
    margin-left: 0;
}

.content-section {
    max-width: var(--content-max-width);
    margin: 0 auto;
}

/* Section Title */
.section-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 600;
    color: var(--accent-cream);
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--accent-red);
}

/* ================================================
   FEATURE CARDS CONTAINER
   ================================================ */
.cards-container {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    overflow: hidden;
    position: relative;
}

.cards-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../assets/presentation/common/texture.png');
    background-repeat: repeat-y;
    background-size: 100% auto;
    opacity: 0.10;
    mix-blend-mode: soft-light;
    pointer-events: none;
    z-index: 0;
}


/* ================================================
   APPRENTICE CHEST - Compact Design
   ================================================ */
#apprentice-chest .feature-subtitle {
    margin-bottom: 24px;
}

.apprentice-viewer-container {
    max-width: 900px;
    margin: 0 auto;
}

/* ================================================
   DRAGON STONE ALCHEMY
   ================================================ */
/* Alchemy Row Layout - Cards + Preview alternating */
.alchemy-row {
    display: flex;
    align-items: stretch;
    gap: 30px;
    margin-bottom: 30px;
}

.alchemy-row.reverse {
    flex-direction: row-reverse;
}

.alchemy-row-cards {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.alchemy-row-preview {
    flex: 0 0 400px;
    display: flex;
    align-items: center;
}

.alchemy-row-preview img {
    border-radius: 8px;
    border: 1px solid rgba(93, 58, 47, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    width: 100%;
    min-height: 400px;
    object-fit: cover;
}

.alchemy-row-preview .asset-placeholder {
    width: 100%;
    height: 100%;
    min-height: 350px;
}

@media (max-width: 1000px) {
    .alchemy-row,
    .alchemy-row.reverse {
        flex-direction: column;
    }

    .alchemy-row-preview {
        flex: 1;
        width: 100%;
    }

    .alchemy-row-preview .asset-placeholder {
        min-height: 280px;
    }
}

.alchemy-system-card {
    background: linear-gradient(145deg, rgba(53, 42, 36, 0.7) 0%, rgba(36, 28, 24, 0.9) 100%);
    border: 1px solid rgba(212, 99, 58, 0.2);
    border-radius: 10px;
    padding: 24px;
    text-align: left;
    transition: all 0.3s ease;
}

.alchemy-system-card:hover {
    border-color: rgba(212, 99, 58, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.alchemy-system-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.alchemy-system-desc:last-child {
    margin-bottom: 0;
}

.alchemy-system-desc strong {
    color: var(--text-primary);
}

.alchemy-system-note {
    margin-top: 12px;
    padding: 10px 14px;
    background: rgba(201, 162, 39, 0.1);
    border: 1px solid rgba(201, 162, 39, 0.25);
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.alchemy-system-note i {
    color: var(--text-primary);
    font-size: 12px;
}

.alchemy-system-note strong {
    color: var(--text-primary);
}


/* Alchemy Stones Grid - 2 per row */
.alchemy-stones-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .alchemy-stones-grid {
        grid-template-columns: 1fr;
    }
}

/* Individual Stone Card */
.alchemy-stone-card {
    background: linear-gradient(145deg, rgba(53, 42, 36, 0.7) 0%, rgba(36, 28, 24, 0.9) 100%);
    border: 1px solid rgba(212, 99, 58, 0.2);
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
}

.alchemy-stone-card:hover {
    border-color: rgba(212, 99, 58, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.stone-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(212, 99, 58, 0.2);
}

.stone-icon-placeholder {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 2px dashed var(--brown-dark);
    border-radius: 6px;
    flex-shrink: 0;
}

.stone-icon-placeholder i {
    font-size: 20px;
    color: var(--text-muted);
}

/* Stone icon when image is provided */
.stone-header img.stone-icon {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.stone-name {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--accent-cream);
    font-weight: 600;
}

.stone-bonuses {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stone-bonuses li {
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 4px;
    color: var(--text-secondary);
    font-size: 13px;
    border-left: 2px solid var(--accent-orange);
    transition: all 0.2s ease;
}

.stone-bonuses li:hover {
    background: rgba(0, 0, 0, 0.35);
    color: var(--text-primary);
}

/* Elemental Colors */
.element-fire { color: #ff6b4a; }
.element-ice { color: #6bcfff; }
.element-thunder { color: #5c7cfa; }
.element-earth { color: #c9a86c; }
.element-wind { color: #66bb6a; }
.element-darkness { color: #b388ff; }

/* Bonus scaling values in parentheses */
.bonus-scale {
    color: var(--text-primary);
    font-weight: 600;
}

/* ================================================
   FEATURE CARDS
   ================================================ */
.feature-card {
    padding: 32px;
    position: relative;
}

/* Top decorative divider line */
.feature-card:not(:first-child) {
    margin-top: 8px;
    padding-top: 40px;
    border-top: 1px solid;
    border-image: linear-gradient(90deg, transparent 10%, var(--accent-orange) 30%, var(--accent-orange) 70%, transparent 90%) 1;
    border-image-width: 1px 0 0 0;
}

/* Centered card variant */
.feature-card.centered {
    text-align: center;
}

.feature-card.centered .feature-subtitle {
    margin-bottom: 24px;
}

.feature-card.centered .feature-description {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 16px;
}

.feature-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 600;
    color: var(--accent-cream);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.feature-title::before,
.feature-title::after {
    font-size: 10px;
    color: var(--accent-orange);
    opacity: 0.6;
    letter-spacing: 4px;
}

.feature-title::before {
    content: '·  ◇  ◆';
}

.feature-title::after {
    content: '◆  ◇  ·';
}

.feature-subtitle {
    color: var(--accent-orange);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.feature-subtitle.centered {
    text-align: center;
    letter-spacing: 1px;
}

.feature-tagline {
    color: var(--text-muted);
    font-size: 15px;
    font-style: italic;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(93, 58, 47, 0.3);
}

.feature-description {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.feature-description:last-child {
    margin-bottom: 0;
}

.feature-description strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Philosophy Section - Modern 2025 Design */
#server-concept .feature-text {
    max-width: 1000px;
    margin: 0 auto;
}

/* Main Section Headings */
.philosophy-heading {
    font-family: var(--font-heading);
    font-size: 26px;
    color: var(--accent-cream);
    margin-top: 48px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    position: relative;
    padding-bottom: 16px;
}

.philosophy-heading::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-red), var(--accent-orange));
    border-radius: 2px;
}

/* Philosophy Grid Layout */
.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 0 auto 32px;
}

@media (max-width: 900px) {
    .philosophy-grid {
        grid-template-columns: 1fr;
    }
}

/* Philosophy Cards */
.philosophy-card {
    background: linear-gradient(145deg, rgba(53, 42, 36, 0.7) 0%, rgba(36, 28, 24, 0.9) 100%);
    border: 1px solid rgba(212, 99, 58, 0.2);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.philosophy-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-red), var(--accent-orange), var(--accent-gold));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.philosophy-card:hover {
    border-color: rgba(212, 99, 58, 0.4);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(212, 99, 58, 0.1);
}

.philosophy-card:hover::before {
    opacity: 1;
}

.philosophy-card.full-width {
    grid-column: 1 / -1;
    text-align: center;
}

.philosophy-card.full-width .philosophy-subheading {
    justify-content: center;
}

.philosophy-card.full-width .card-description {
    max-width: 600px;
    margin: 0 auto 16px;
}

/* Card Description */
.card-description {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.card-note {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    padding-left: 12px;
    border-left: 2px solid var(--accent-gold);
    margin-top: 12px;
}

/* Sub-section Headings in Cards */
.philosophy-subheading {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--text-primary);
    margin: 0 0 16px 0;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.philosophy-subheading::before {
    content: '◆';
    font-size: 8px;
    color: var(--accent-orange);
}

/* ================================================
   FEATURE SPLIT LAYOUT (Two Columns with Alternating)
   ================================================ */
.feature-card.feature-split {
    padding: 40px;
}

.feature-split-layout {
    display: flex;
    align-items: center;
    gap: 50px;
}

/* Single row variant for centered cards */
.feature-split-layout.single-row {
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
}

/* ================================================
   BOSSES SECTION
   ================================================ */
.bosses-intro {
    max-width: 800px;
    margin: 0 auto 40px;
}

.tribute-bosses-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 0;
    margin: 20px 0 0;
}

.tribute-bosses-list li {
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(130, 31, 29, 0.3) 0%, rgba(79, 36, 31, 0.5) 100%);
    border: 1px solid rgba(212, 99, 58, 0.4);
    border-radius: 6px;
    color: var(--accent-cream);
    font-size: 14px;
    font-weight: 600;
}

.boss-types-subtitle {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 24px;
}

/* Boss Slideshow */
.boss-slideshow {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.boss-slides-container {
    flex: 1;
    position: relative;
    overflow: hidden;
}

.boss-slide {
    display: none;
    animation: fadeIn 0.4s ease;
}

.boss-slide.active {
    display: block;
}

.boss-slide-content {
    display: flex;
    align-items: stretch;
    gap: 30px;
    background: linear-gradient(145deg, rgba(53, 42, 36, 0.7) 0%, rgba(36, 28, 24, 0.9) 100%);
    border: 1px solid rgba(212, 99, 58, 0.25);
    border-radius: 12px;
    padding: 24px;
}

.boss-slide-info {
    flex: 0 0 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.boss-slide-preview {
    flex: 1;
}

.boss-slide-preview img {
    border-radius: 8px;
    border: 1px solid rgba(93, 58, 47, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    width: 100%;
}

.boss-slide-preview .asset-placeholder {
    height: 300px;
}

.boss-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(53, 42, 36, 0.8);
    border: 1px solid var(--brown-dark);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.boss-nav-btn:hover {
    background: var(--accent-orange);
    color: white;
    border-color: var(--accent-orange);
}

.boss-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
}

.boss-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--brown-dark);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
    padding: 0;
}

.boss-dot:hover {
    background: var(--text-muted);
}

.boss-dot.active {
    background: var(--accent-orange);
}

@media (max-width: 768px) {
    .boss-slideshow {
        flex-direction: column;
    }

    .boss-slide-content {
        flex-direction: column;
    }

    .boss-slide-info {
        flex: 1;
        text-align: center;
    }

    .boss-nav-btn {
        display: none;
    }
}

.boss-type-name {
    font-family: var(--font-heading);
    font-size: 18px;
    color: var(--text-primary);
    font-weight: 600;
}

.boss-type-locations {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
}

.boss-type-tag {
    display: inline-block;
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
    width: fit-content;
    margin-top: 4px;
}

.boss-type-tag.minor {
    background: rgba(122, 109, 98, 0.3);
    color: var(--text-muted);
    border: 1px solid rgba(122, 109, 98, 0.4);
}

/* ================================================
   WORLD BOSS SECTION
   ================================================ */
.world-boss-section {
    margin-bottom: 24px;
}

.world-boss-previews-horizontal {
    display: flex;
    gap: 16px;
    margin-top: 20px;
}

.world-boss-previews-horizontal img {
    border-radius: 8px;
    border: 1px solid rgba(93, 58, 47, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    max-width: calc(50% - 8px);
    max-height: 220px;
    object-fit: contain;
}

.world-boss-row {
    display: flex;
    gap: 30px;
    margin-bottom: 16px;
    align-items: flex-start;
}

.world-boss-row.reverse {
    flex-direction: row-reverse;
}

.world-boss-content {
    flex: 1;
}

.world-boss-previews {
    flex: 0 0 450px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.world-boss-previews .asset-placeholder {
    flex: 1;
    min-height: 180px;
}

.world-boss-previews.single .asset-placeholder {
    min-height: 350px;
}

.world-boss-previews img {
    border-radius: 8px;
    border: 1px solid rgba(93, 58, 47, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    width: 100%;
}

.world-boss-system-card {
    background: linear-gradient(145deg, rgba(53, 42, 36, 0.7) 0%, rgba(36, 28, 24, 0.9) 100%);
    border: 1px solid rgba(212, 99, 58, 0.2);
    border-radius: 12px;
    padding: 24px;
    text-align: left;
}

.system-tag {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 4px;
}

.system-tag.pvm {
    background: rgba(102, 187, 106, 0.2);
    color: #66bb6a;
    border: 1px solid rgba(102, 187, 106, 0.4);
}

.system-tag.pvp {
    background: rgba(239, 83, 80, 0.2);
    color: #ef5350;
    border: 1px solid rgba(239, 83, 80, 0.4);
}

.world-boss-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.bodyguard-types {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.bodyguard-type {
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.bodyguard-label {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-right: 8px;
}

.bodyguard-label.dawn {
    color: var(--accent-orange);
}

.bodyguard-label.darkness {
    color: #b388ff;
}

.bodyguard-note {
    font-size: 12px;
    color: var(--text-muted);
}

.bodyguard-list {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-top: 6px;
}

.how-it-works-title {
    font-family: var(--font-heading);
    font-size: 14px;
    color: var(--text-primary);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@media (max-width: 1000px) {
    .world-boss-row,
    .world-boss-row.reverse {
        flex-direction: column;
    }

    .world-boss-previews {
        flex: 1;
        width: 100%;
        flex-direction: row;
    }

    .world-boss-previews.single {
        flex-direction: column;
    }

    .world-boss-previews .asset-placeholder {
        min-height: 200px;
    }
}

/* ================================================
   METINSTONES SECTION
   ================================================ */
.metinstones-intro {
    max-width: 800px;
    margin: 0 auto 40px;
}

.metin-row {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    align-items: stretch;
}

.metin-row.reverse {
    flex-direction: row-reverse;
}

.metin-row:last-child {
    margin-bottom: 0;
}

.metin-content {
    flex: 1;
}

.metin-preview {
    flex: 0 0 400px;
    display: flex;
    align-items: center;
}

.metin-preview img {
    border-radius: 8px;
    border: 1px solid rgba(93, 58, 47, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    width: 100%;
}

.metin-preview .asset-placeholder {
    width: 100%;
    height: 100%;
    min-height: 280px;
}

.metin-system-card {
    background: linear-gradient(145deg, rgba(53, 42, 36, 0.7) 0%, rgba(36, 28, 24, 0.9) 100%);
    border: 1px solid rgba(212, 99, 58, 0.2);
    border-radius: 12px;
    padding: 24px;
    text-align: left;
    height: 100%;
    transition: all 0.3s ease;
}

.metin-system-card:hover {
    border-color: rgba(212, 99, 58, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.metin-system-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.metin-system-desc:last-child {
    margin-bottom: 0;
}

.metin-system-desc strong {
    color: var(--text-primary);
}

/* Altar Regions */
.altar-regions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.altar-region {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: linear-gradient(135deg, rgba(130, 31, 29, 0.25) 0%, rgba(79, 36, 31, 0.4) 100%);
    border: 1px solid rgba(212, 99, 58, 0.35);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.altar-region:hover {
    border-color: var(--accent-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 99, 58, 0.2);
}

.altar-name {
    color: var(--accent-cream);
    font-size: 13px;
    font-weight: 500;
}

.altar-icons {
    display: flex;
    gap: 4px;
}

.altar-icon-placeholder {
    width: 32px;
    height: 32px;
    background: var(--bg-tertiary);
    border: 1px dashed var(--brown-dark);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.altar-icon-placeholder:hover {
    border-color: var(--accent-orange);
}

/* When icons are added */
.altar-icon-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

@media (max-width: 1000px) {
    .metin-row,
    .metin-row.reverse {
        flex-direction: column;
    }

    .metin-preview {
        flex: 1;
        width: 100%;
    }

    .metin-preview .asset-placeholder {
        min-height: 220px;
    }
}

/* ================================================
   BIOLOGIST RESEARCH SECTION
   ================================================ */
.biologist-intro {
    max-width: 900px;
    margin: 0 auto 30px;
}

.biologist-preview {
    max-width: 900px;
    margin: 0 auto 40px;
}

.biologist-preview img {
    border-radius: 8px;
    border: 1px solid rgba(93, 58, 47, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    width: 100%;
}

.biologist-preview .asset-placeholder {
    height: 400px;
}

/* ================================================
   PREVIEW IMAGE - General Style
   ================================================ */
.preview-image {
    width: 100%;
    height: auto;
    border-radius: 6px;
    border: 1px solid rgba(212, 99, 58, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: block;
}

.preview-image:hover {
    border-color: rgba(212, 99, 58, 0.4);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.35);
}

/* ================================================
   HUNTING MISSIONS SECTION
   ================================================ */
.hunting-intro {
    max-width: 700px;
    margin: 0 auto 30px;
}

.hunting-preview {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.hunting-preview img {
    border-radius: 8px;
    border: 1px solid rgba(93, 58, 47, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    max-width: 100%;
    height: auto;
}

.hunting-preview .asset-placeholder {
    height: 400px;
}

/* ================================================
   HORSE TRAINING SECTION
   ================================================ */
.horse-intro {
    max-width: 700px;
    margin: 0 auto 30px;
}

.horse-preview {
    max-width: 900px;
    margin: 0 auto;
}

.horse-preview img {
    border-radius: 8px;
    border: 1px solid rgba(93, 58, 47, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    width: 100%;
}

.horse-preview .asset-placeholder {
    height: 400px;
}

/* ================================================
   NEW PASSIVE SKILLS SECTION
   ================================================ */
.passive-skills-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto 40px;
}

.passive-skill-card {
    background: linear-gradient(145deg, rgba(53, 42, 36, 0.7) 0%, rgba(36, 28, 24, 0.9) 100%);
    border: 1px solid rgba(212, 99, 58, 0.2);
    border-radius: 8px;
    padding: 20px;
    text-align: left;
    transition: all 0.3s ease;
}

.passive-skill-card:hover {
    border-color: rgba(212, 99, 58, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.passive-skill-card.full-width {
    grid-column: 1 / -1;
}

.passive-skill-card.full-width .passive-skill-header {
    justify-content: center;
}

.passive-skill-card.full-width .passive-skill-desc {
    text-align: center;
}

.passive-skill-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.passive-skill-icon {
    width: 32px;
    height: 32px;
    background: var(--bg-tertiary);
    border: 1px dashed var(--brown-dark);
    border-radius: 4px;
    flex-shrink: 0;
}

.passive-skill-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.passive-skill-name {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--accent-cream);
    margin: 0;
}

.passive-skill-desc {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.passive-skill-desc strong {
    color: var(--text-primary);
}

.passive-skills-preview {
    max-width: 900px;
    margin: 0 auto;
}

.passive-skills-preview img {
    border-radius: 8px;
    border: 1px solid rgba(93, 58, 47, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    width: 100%;
}

.passive-skills-preview .asset-placeholder {
    height: 400px;
}

@media (max-width: 768px) {
    .passive-skills-grid {
        grid-template-columns: 1fr;
    }
}

/* Biologist Table */
.biologist-table-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    overflow-x: auto;
}

.biologist-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: linear-gradient(145deg, rgba(53, 42, 36, 0.6) 0%, rgba(36, 28, 24, 0.8) 100%);
    border: 1px solid rgba(212, 99, 58, 0.25);
    border-radius: 10px;
    overflow: hidden;
}

.biologist-table thead {
    background: linear-gradient(135deg, rgba(130, 31, 29, 0.4) 0%, rgba(79, 36, 31, 0.6) 100%);
}

.biologist-table th {
    padding: 16px 20px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--accent-cream);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    border-bottom: 2px solid rgba(212, 99, 58, 0.3);
}

.biologist-table td {
    padding: 14px 20px;
    font-size: 14px;
    color: var(--text-secondary);
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.biologist-table tbody tr:last-child td {
    border-bottom: none;
}

.biologist-table tbody tr:hover td {
    background: rgba(212, 99, 58, 0.1);
    color: var(--text-primary);
}

.biologist-table td:first-child {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-primary);
}

/* Column-specific styling */
.biologist-table th:nth-child(1),
.biologist-table td:nth-child(1) {
    width: 60px;
}

.biologist-table th:nth-child(2),
.biologist-table td:nth-child(2) {
    min-width: 150px;
}

.biologist-table th:nth-child(3),
.biologist-table td:nth-child(3) {
    width: 120px;
}

.biologist-table th:nth-child(4),
.biologist-table td:nth-child(4) {
    min-width: 150px;
}

.biologist-table th:nth-child(5),
.biologist-table td:nth-child(5) {
    min-width: 180px;
}

/* Table Icons */
.table-icons {
    display: flex;
    justify-content: center;
    gap: 6px;
}

.table-icon {
    width: 32px;
    height: 32px;
    background: var(--bg-tertiary);
    border: 1px dashed var(--brown-dark);
    border-radius: 4px;
}

.table-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 768px) {
    .biologist-table th,
    .biologist-table td {
        padding: 12px 10px;
        font-size: 13px;
    }

    .table-icon {
        width: 24px;
        height: 24px;
    }
}

/* Text Side */
.feature-split-text {
    flex: 1;
    min-width: 0;
}

.feature-split-description {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.feature-split-note {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.2);
    border-left: 3px solid var(--accent-gold);
    border-radius: 0 6px 6px 0;
    margin-top: 16px;
}

/* Asset Side */
.feature-split-asset {
    flex: 0 0 500px;
    max-width: 500px;
    min-height: 500px;
    display: flex;
    align-items: center;
}

/* Reverse Layout (Image on Left) */
.feature-card.feature-split.reverse .feature-split-layout {
    flex-direction: row-reverse;
}

/* Stacked Previews (multiple images in asset column) */
.preview-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.preview-stack .asset-placeholder {
    height: 280px;
}

/* ================================================
   SIMPLE SPLIT LAYOUT (Text + Preview Side by Side)
   ================================================ */
.split-layout {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    max-width: 1100px;
    margin: 0 auto;
}

.split-text {
    flex: 1;
}

.split-preview {
    flex: 0 0 400px;
    max-width: 400px;
}

.split-preview img {
    border-radius: 8px;
    border: 1px solid rgba(93, 58, 47, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    width: 100%;
}

.split-preview .asset-placeholder {
    height: 500px;
}

.split-preview.wide {
    flex: 0 0 600px;
    max-width: 600px;
}

.split-preview.wide .asset-placeholder {
    height: 350px;
}

.split-layout.reverse {
    flex-direction: row-reverse;
}

@media (max-width: 1000px) {
    .split-layout {
        flex-direction: column;
        gap: 30px;
    }

    .split-preview {
        flex: 1;
        max-width: 100%;
        width: 100%;
    }

    .split-preview .asset-placeholder {
        height: 350px;
    }
}

/* ================================================
   HERO LAYOUT (Preview Top, Content Below)
   ================================================ */
.feature-card.feature-hero {
    padding: 40px;
}

.feature-hero-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.feature-hero-preview {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.feature-hero-preview img {
    border-radius: 8px;
    border: 1px solid rgba(93, 58, 47, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    width: 100%;
}

.feature-hero-preview .asset-placeholder {
    height: 400px;
}

.feature-hero-content {
    text-align: center;
}

.feature-hero-content .section-heading {
    text-align: center;
}

.feature-hero-content .styled-list {
    display: inline-block;
    text-align: left;
}

/* ================================================
   INTERSPERSED LAYOUT (Previews Between Content)
   ================================================ */
.feature-card.feature-interspersed {
    padding: 40px;
}

.interspersed-layout {
    max-width: 900px;
    margin: 0 auto;
}

.interspersed-layout .content-block {
    margin-bottom: 30px;
}

.interspersed-layout .content-block:last-child {
    margin-bottom: 0;
}

.preview-inline {
    margin: 40px auto;
    max-width: 800px;
}

.preview-inline .asset-placeholder {
    height: 380px;
}

/* ================================================
   ASSET PLACEHOLDER
   ================================================ */
.asset-placeholder {
    width: 100%;
    height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(145deg, rgba(53, 42, 36, 0.6) 0%, rgba(36, 28, 24, 0.8) 100%);
    border: 2px dashed var(--brown-dark);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.asset-placeholder:hover {
    border-color: var(--accent-orange);
    background: linear-gradient(145deg, rgba(53, 42, 36, 0.8) 0%, rgba(36, 28, 24, 0.9) 100%);
}

.asset-placeholder i {
    font-size: 48px;
    color: var(--text-muted);
    opacity: 0.5;
}

.asset-placeholder .asset-label {
    font-family: var(--font-heading);
    font-size: 14px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.asset-placeholder .asset-size {
    font-size: 12px;
    color: var(--text-muted);
    padding: 4px 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

/* ================================================
   MAP SLIDESHOW
   ================================================ */
.map-slideshow {
    width: 100%;
}

.map-slides {
    position: relative;
    width: 100%;
    height: 350px;
}

.map-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.map-slide.active {
    opacity: 1;
}

.map-slide .asset-placeholder {
    height: 100%;
}

.map-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 16px;
}

.map-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(53, 42, 36, 0.8);
    border: 1px solid var(--brown-dark);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-arrow:hover {
    background: var(--accent-orange);
    color: white;
    border-color: var(--accent-orange);
}

.map-dots {
    display: flex;
    gap: 8px;
}

.map-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--brown-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.map-dot:hover {
    background: var(--text-muted);
}

.map-dot.active {
    background: var(--accent-orange);
}

/* ================================================
   DUNGEON SLIDESHOW (Wide)
   ================================================ */
.dungeon-slideshow-container {
    max-width: 900px;
    margin: 0 auto;
}

.dungeon-slideshow {
    width: 100%;
}

.dungeon-slides {
    position: relative;
    width: 100%;
    height: 400px;
}

.dungeon-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.dungeon-slide.active {
    opacity: 1;
}

.dungeon-slide .asset-placeholder {
    height: 100%;
}

.dungeon-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 16px;
}

.dungeon-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(53, 42, 36, 0.8);
    border: 1px solid var(--brown-dark);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dungeon-arrow:hover {
    background: var(--accent-orange);
    color: white;
    border-color: var(--accent-orange);
}

.dungeon-dots {
    display: flex;
    gap: 8px;
}

.dungeon-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--brown-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dungeon-dot:hover {
    background: var(--text-muted);
}

.dungeon-dot.active {
    background: var(--accent-orange);
}

/* ================================================
   EVENT SLIDESHOW
   ================================================ */
.event-intro {
    max-width: 800px;
    margin: 0 auto 30px;
}

.event-intro .feature-description {
    text-align: center;
}

.event-slideshow {
    width: 100%;
}

.event-slides {
    position: relative;
    width: 100%;
    height: 400px;
}

.event-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.event-slide.active {
    opacity: 1;
}

.event-slide .asset-placeholder {
    height: 100%;
}

.event-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 16px;
}

.event-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(53, 42, 36, 0.8);
    border: 1px solid var(--brown-dark);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-arrow:hover {
    background: var(--accent-orange);
    color: white;
    border-color: var(--accent-orange);
}

.event-dots {
    display: flex;
    gap: 8px;
}

.event-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--brown-dark);
    cursor: pointer;
    transition: all 0.3s ease;
}

.event-dot:hover {
    background: var(--text-muted);
}

.event-dot.active {
    background: var(--accent-orange);
}

/* Asset Image (replaces placeholder) */
.feature-split-asset img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid rgba(93, 58, 47, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Centered text helper */
.centered-text {
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive */
@media (max-width: 1100px) {
    .feature-split-layout {
        flex-direction: column !important;
        gap: 30px;
    }

    .feature-split-asset {
        flex: 1;
        max-width: 100%;
        width: 100%;
    }

    .chest-viewer-wrapper {
        flex: 1;
        max-width: 100%;
    }

    .asset-placeholder {
        height: 280px;
    }

    .feature-card.feature-split {
        padding: 30px;
    }

    .apprentice-chest-icon {
        margin-top: 20px;
    }
}

/* Closing Text */
/* Editorial Content - Clean & Simple */
.editorial-content {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.editorial-tagline {
    font-size: 14px;
    color: var(--accent-orange);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 0 0 20px;
}

/* Launch Date Badge */
.launch-date-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 14px 28px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--brown-dark);
    border-radius: 6px;
    margin-bottom: 40px;
}

.launch-label {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.launch-date {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 600;
    color: var(--accent-cream);
    letter-spacing: 1px;
}

.editorial-body {
    text-align: center;
}

.editorial-body p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.8;
    margin: 0 0 20px;
}

.editorial-body p:last-child {
    margin-bottom: 0;
}

.editorial-body strong {
    color: var(--text-primary);
}

.editorial-highlight {
    padding: 24px 40px;
    margin: 32px 0;
    background: linear-gradient(180deg, rgba(53, 40, 37, 0.6) 0%, rgba(37, 26, 23, 0.8) 100%);
    border: 1px solid var(--brown-dark);
    border-radius: 8px;
    position: relative;
}

.editorial-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--accent-orange);
    border-radius: 0 0 2px 2px;
}

.editorial-highlight p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 15px;
}

.editorial-highlight .highlight-title {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--accent-cream);
    margin-top: 8px;
    letter-spacing: 1px;
}

.editorial-compact {
    margin: 24px 0;
}

.editorial-compact p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
    margin: 0 0 12px;
}

.editorial-compact p:last-child {
    margin-bottom: 0;
}

.editorial-compact strong {
    color: var(--text-primary);
}

.editorial-closing {
    margin-top: 32px !important;
    font-size: 13px !important;
    color: var(--text-muted) !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* ================================================
   STYLED LIST (Reusable)
   ================================================ */
.styled-list {
    list-style: none;
    padding: 0;
    margin: 16px auto 24px;
    max-width: 700px;
    text-align: left;
}

.styled-list li {
    padding: 10px 16px;
    margin-bottom: 8px;
    background: rgba(0, 0, 0, 0.2);
    border-left: 2px solid var(--accent-orange);
    border-radius: 4px;
    color: var(--text-secondary);
    font-size: 15px;
    transition: all 0.3s ease;
}

.styled-list li:hover {
    background: rgba(0, 0, 0, 0.3);
    transform: translateX(4px);
}

.styled-list li:last-child {
    margin-bottom: 0;
}

.styled-list li strong {
    color: var(--text-primary);
}

.styled-list.compact {
    margin: 12px 0 20px;
}

.styled-list.compact li {
    padding: 8px 14px;
    margin-bottom: 6px;
    font-size: 15px;
}

/* Gold Border Variant */
.styled-list.gold li {
    border-left-color: var(--text-primary);
}

.styled-list.gold li strong {
    color: var(--text-primary);
}

/* Bullet Variant (triangle instead of border) */
.styled-list.bullet li {
    padding-left: 36px;
    border-left: none;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.styled-list.bullet li::before {
    content: '▸';
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-orange);
    font-size: 14px;
}

.styled-list.bullet li:hover {
    border-color: rgba(212, 99, 58, 0.25);
}

/* Two Column Grid Layout */
.two-column-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto 32px;
}

.two-column-grid .column {
    text-align: left;
}

.two-column-grid .section-heading {
    margin-top: 0;
}

.two-column-grid .section-heading:not(:first-child) {
    margin-top: 24px;
}

@media (max-width: 800px) {
    .two-column-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Centered Section */
.centered-section {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 32px;
}

.centered-section .section-heading {
    margin-top: 0;
}

.centered-section .styled-list {
    display: inline-block;
    text-align: left;
}

/* Section Heading (Sub-heading) */
.section-heading {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--accent-cream);
    margin: 32px 0 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-heading i {
    color: var(--accent-orange);
}

/* Preview Grid */
.preview-grid {
    display: grid;
    gap: 20px;
    margin-top: 32px;
}

.preview-grid.two-col {
    grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 768px) {
    .preview-grid.two-col {
        grid-template-columns: 1fr;
    }
}

/* Mission Books Content */
.mission-books-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Treasure Chest Content */
.treasure-chest-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Preview Single */
.preview-single {
    max-width: 700px;
    margin: 32px auto 0;
}

.preview-single img {
    width: 700px;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(93, 58, 47, 0.4);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* Mining Content */
.mining-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Exchange Rates */
.exchange-rates {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 500px;
    margin: 16px auto 24px;
}

.exchange-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    font-size: 14px;
    color: var(--text-secondary);
}

.exchange-icon {
    width: 28px;
    height: 28px;
    background: var(--bg-tertiary);
    border: 1px dashed var(--brown-dark);
    border-radius: 4px;
    flex-shrink: 0;
}

.exchange-arrow {
    color: var(--accent-orange);
    font-weight: 600;
    margin: 0 4px;
}

/* Fishing Content */
.fishing-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Highlight Box */
.highlight-box {
    display: inline-block;
    padding: 12px 24px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--brown-dark);
    border-radius: 6px;
    margin: 16px 0 24px;
}

/* Fish Grid - 14 fish icons */
.fish-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 20px auto 32px;
    max-width: 500px;
}

.fish-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.fish-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border: 1px dashed var(--brown-dark);
    border-radius: 6px;
}

/* Intro paragraphs styling */
#server-concept > .feature-text > .feature-description:first-of-type {
    font-size: 19px;
    color: var(--text-primary);
    opacity: 0.95;
}

/* ================================================
   CONCEPT LAYOUT (Characters + Text)
   ================================================ */
.concept-layout {
    display: flex;
    align-items: center;
    gap: 40px;
}

.concept-character {
    flex-shrink: 0;
    width: 200px;
    height: 350px;
}

.character-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border-radius: var(--border-radius);
    border: 2px dashed var(--border-color);
}

.character-placeholder i {
    font-size: 48px;
    color: var(--text-muted);
}

.concept-character img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.concept-content {
    flex: 1;
    text-align: center;
}

.concept-content.left-align {
    text-align: left;
}

.concept-content.left-align .feature-description {
    margin-left: 0;
    margin-right: 0;
}

/* The Beginning - background */
#the-beginning {
    position: relative;
}

#the-beginning::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 400px;
    background-image: url('../assets/presentation/introduction/the-beginning/bg-the-start.png');
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 100% auto;
    opacity: 0.08;
    pointer-events: none;
    mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        black 30%,
        black 100%
    );
    -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        black 30%,
        black 100%
    );
}

/* The Beginning - feature image */
#the-beginning .feature-image {
    margin: 20px -32px;
    position: relative;
}

#the-beginning .feature-image img {
    width: 100%;
    height: auto;
    display: block;
}

#the-beginning .feature-image::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 150px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        var(--bg-card) 100%
    );
    pointer-events: none;
}

/* The Beginning - text card */
.beginning-layout {
    display: flex;
    justify-content: center;
    padding: 0 50px;
}

.beginning-text {
    padding: 24px 30px;
    background: rgba(0, 0, 0, 0.3);
    position: relative;
    border: 1px solid rgba(212, 99, 58, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    max-width: 800px;
    text-align: left;
}

/* Corner decorations for beginning-text */
.beginning-text::before,
.beginning-text::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: var(--accent-orange);
    border-style: solid;
    border-width: 0;
    opacity: 0.7;
}

.beginning-text::before {
    top: -1px;
    left: -1px;
    border-top-width: 2px;
    border-left-width: 2px;
}

.beginning-text::after {
    bottom: -1px;
    right: -1px;
    border-bottom-width: 2px;
    border-right-width: 2px;
}

/* Server Concept Layout */
.server-concept-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.server-concept-text {
    flex: 1;
    padding: 24px 30px;
    background: rgba(0, 0, 0, 0.3);
    margin-left: 50px;
    position: relative;
    border: 1px solid rgba(212, 99, 58, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

/* Corner decorations */
.server-concept-text::before,
.server-concept-text::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: var(--accent-orange);
    border-style: solid;
    border-width: 0;
    opacity: 0.7;
}

.server-concept-text::before {
    top: -1px;
    left: -1px;
    border-top-width: 2px;
    border-left-width: 2px;
}

.server-concept-text::after {
    bottom: -1px;
    right: -1px;
    border-bottom-width: 2px;
    border-right-width: 2px;
}

/* Inner corner decorations */
.corner-inner {
    position: absolute;
    width: 12px;
    height: 12px;
    border-color: var(--accent-orange);
    border-style: solid;
    border-width: 0;
    opacity: 0.5;
}

.corner-inner.corner-top-left {
    top: 6px;
    left: 6px;
    border-top-width: 1px;
    border-left-width: 1px;
}

.corner-inner.corner-bottom-right {
    bottom: 6px;
    right: 6px;
    border-bottom-width: 1px;
    border-right-width: 1px;
}

/* Casual Oriented Section */
#casual-oriented .feature-subtitle {
    text-align: center;
}

.casual-layout-full {
    display: flex;
    align-items: center;
    gap: 40px;
}

.casual-left {
    flex: 0 0 350px;
}

.casual-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.casual-text {
    padding: 24px 30px;
    background: rgba(0, 0, 0, 0.3);
    position: relative;
    border: 1px solid rgba(212, 99, 58, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    text-align: left;
}

.casual-headliner {
    font-family: var(--font-heading);
    font-size: 22px;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Buffi Upgrade Tree */
.buffi-tree {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
}

.buffi-tree-row {
    display: flex;
    align-items: center;
    gap: 0;
}

.buffi-node {
    position: relative;
}

.buffi-node-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-tertiary) 100%);
    border: 2px solid var(--brown-dark);
    transform: rotate(45deg);
    transition: all 0.3s ease;
}

.buffi-node-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    transform: rotate(-45deg);
    image-rendering: pixelated;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.buffi-node-icon:hover {
    border-color: var(--accent-orange);
    box-shadow: 0 0 15px rgba(212, 99, 58, 0.3);
}

.buffi-node-icon.highlight {
    border-color: var(--text-primary);
    box-shadow: 0 0 20px rgba(201, 162, 39, 0.4);
}

.buffi-node-icon.highlight img {
    filter: drop-shadow(0 0 8px rgba(201, 162, 39, 0.6)) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

/* Horizontal connector between nodes */
.buffi-connector.horizontal {
    width: 25px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-orange));
    opacity: 0.5;
}

/* Vertical connector between rows */
.buffi-tree-connector-vertical {
    width: 2px;
    height: 20px;
    background: linear-gradient(180deg, var(--accent-gold), var(--accent-orange));
    opacity: 0.5;
    margin-right: 27px;
}

/* Responsive */
@media (max-width: 1100px) {
    .casual-layout-full {
        flex-direction: column;
    }

    .casual-left {
        flex: 1;
        width: 100%;
        max-width: 500px;
    }

    .casual-text {
        text-align: center;
    }
}


/* Chest Viewer */
.chest-viewer {
    background: var(--bg-secondary);
    border: 1px solid var(--brown-dark);
    border-radius: var(--border-radius);
    padding: 20px;
    box-sizing: border-box;
}

/* Level Selector */
.chest-levels-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(93, 58, 47, 0.5);
    justify-content: center;
}

.chest-level-btn {
    padding: 8px 12px;
    min-width: 52px;
    background: var(--bg-card);
    border: 1px solid var(--brown-dark);
    border-radius: 6px;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chest-level-btn:hover {
    border-color: var(--accent-orange);
    background: var(--bg-card-hover);
}

.chest-level-btn.active {
    background: linear-gradient(135deg, var(--accent-red) 0%, var(--brown-darker) 100%);
    border-color: var(--accent-red-medium);
    color: var(--text-primary);
    box-shadow: 0 3px 12px rgba(130, 31, 29, 0.4);
}

.chest-level-btn.final {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
}

.chest-level-btn.final.active {
    background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-orange) 100%);
    border-color: var(--accent-orange);
    color: var(--text-primary);
    box-shadow: 0 3px 12px rgba(212, 99, 58, 0.5);
}

/* Content Display */
.chest-content-display {
    min-height: 200px;
}

.chest-content {
    display: none;
    animation: fadeIn 0.25s ease;
}

.chest-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.chest-title {
    font-family: var(--font-heading);
    font-size: 16px;
    color: var(--accent-cream);
    margin-bottom: 14px;
    text-align: center;
}

.chest-content[data-level="105"] .chest-title {
    color: var(--accent-orange);
}

/* Items Grid */
.chest-items {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 14px;
    background: var(--bg-card);
    border: 1px solid rgba(93, 58, 47, 0.4);
    border-radius: 8px;
    justify-content: center;
}

.chest-items li {
    position: relative;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 1px solid rgba(93, 58, 47, 0.6);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chest-items li:hover {
    border-color: var(--accent-orange);
    background: var(--bg-card-hover);
    box-shadow: 0 4px 12px rgba(212, 99, 58, 0.25);
}

.item-icon {
    width: 30px;
    height: 30px;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
    transition: transform 0.15s ease;
}

.chest-items li:hover .item-icon {
    transform: scale(1.08);
}

/* Hide name by default */
.item-name {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Quantity badge */
.item-qty {
    position: absolute;
    bottom: 1px;
    right: 1px;
    font-size: 9px;
    font-weight: 700;
    color: #fff;
    background: rgba(0, 0, 0, 0.8);
    padding: 1px 3px;
    border-radius: 2px;
    line-height: 1.1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9);
    pointer-events: none;
    z-index: 2;
}

/* Tooltip on hover */
.chest-items li::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: var(--bg-secondary);
    border: 1px solid var(--accent-orange);
    border-radius: 4px;
    padding: 6px 10px;
    white-space: nowrap;
    font-size: 12px;
    color: var(--text-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: all 0.15s ease;
    z-index: 100;
}

.chest-items li::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 1px);
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--accent-orange);
    opacity: 0;
    visibility: hidden;
    transition: all 0.15s ease;
    z-index: 100;
}

.chest-items li:hover::after,
.chest-items li:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.item-desc {
    color: var(--text-secondary);
    font-size: 13px;
    font-style: italic;
}

.server-concept-character {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.server-concept-character img {
    max-height: 350px;
    width: auto;
    object-fit: contain;
}

.concept-content .feature-title {
    margin-bottom: 20px;
}

.concept-content .feature-description {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1024px) {
    .concept-layout {
        flex-direction: column;
    }

    .concept-character {
        width: 150px;
        height: 250px;
    }

    .concept-character.left {
        order: 1;
    }

    .concept-content {
        order: 2;
    }

    .concept-character.right {
        order: 3;
    }
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
    margin-left: var(--sidebar-width);
    padding: 24px 40px;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    border-top: 1px solid var(--border-color);
    transition: margin-left var(--transition-normal);
}

body.sidebar-collapsed .footer {
    margin-left: 0;
}

/* ================================================
   SCROLLBAR STYLING
   ================================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-tertiary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-red);
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .main-content,
    .footer {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .topbar-right .nav-link span {
        display: none;
    }

    .main-content {
        padding: 24px 16px;
    }

    .section-title {
        font-size: 24px;
    }
}

/* ================================================
   SCROLL TO TOP BUTTON
   ================================================ */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    left: 300px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-orange) 100%);
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(212, 99, 58, 0.4);
}

.scroll-top-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 99, 58, 0.5);
}

.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .scroll-top-btn {
        bottom: 20px;
        left: 50px;
        width: 40px;
        height: 40px;
    }
}

/* ================================================
   DISCORD FLOATING BADGE
   ================================================ */
.discord-badge {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: #5865F2;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.4);
    transition: all 0.3s ease;
}

.discord-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(88, 101, 242, 0.5);
    background: #4752c4;
}

.discord-badge i {
    font-size: 20px;
}

.discord-badge span {
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .discord-badge {
        bottom: 20px;
        right: 20px;
        padding: 10px 16px;
        font-size: 13px;
    }

    .discord-badge i {
        font-size: 18px;
    }
}

/* ================================================
   BACK TO WEBSITE CTA
   ================================================ */
.back-to-website {
    margin-left: var(--sidebar-width);
    padding: 60px 40px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-dark) 0%, rgba(26, 20, 18, 0.95) 100%);
    border-top: 1px solid var(--border-color);
    transition: margin-left var(--transition-normal);
}

body.sidebar-collapsed .back-to-website {
    margin-left: 0;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-orange) 100%);
    border: none;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(212, 99, 58, 0.4);
    transition: all 0.3s ease;
}

.back-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 99, 58, 0.5);
}

.back-btn i {
    font-size: 14px;
}

@media (max-width: 768px) {
    .back-to-website {
        padding: 40px 20px;
    }

    .back-btn {
        padding: 14px 28px;
        font-size: 14px;
    }
}

/* ================================================
   ICON SHOWCASE (Relics & Coupons)
   ================================================ */
.icon-showcase {
    background: var(--bg-card);
    border: 1px solid rgba(93, 58, 47, 0.4);
    border-radius: 8px;
    padding: 14px;
    display: inline-flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    align-self: center;
    justify-self: center;
}

.icon-row {
    display: flex;
    gap: 6px;
    justify-content: center;
}

.icon-item {
    position: relative;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-tertiary);
    border: 1px solid rgba(93, 58, 47, 0.6);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.icon-item:hover {
    border-color: var(--accent-orange);
    background: var(--bg-card-hover);
    box-shadow: 0 4px 12px rgba(212, 99, 58, 0.25);
}

.icon-item img {
    width: 32px;
    height: 32px;
    image-rendering: pixelated;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
    transition: transform 0.15s ease;
}

.icon-item:hover img {
    transform: scale(1.1);
}

/* Tooltip */
.icon-item::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: var(--bg-secondary);
    border: 1px solid var(--accent-orange);
    border-radius: 4px;
    padding: 6px 10px;
    white-space: pre;
    text-align: left;
    font-size: 12px;
    color: var(--text-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: all 0.15s ease;
    z-index: 100;
}

.icon-item::before {
    content: '';
    position: absolute;
    bottom: calc(100% + 3px);
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--accent-orange);
    opacity: 0;
    visibility: hidden;
    transition: all 0.15s ease;
    z-index: 100;
}

.icon-item:hover::after,
.icon-item:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
