/* ============================================
   ELDENTOME — Elden Ring Guide Website
   Complete Stylesheet v2
   ============================================ */

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #c9a84c;
    --gold-light: #e8d48b;
    --gold-dark: #8a6d2b;
    --dark: #0a0a0c;
    --dark-card: #12121a;
    --dark-surface: #1a1a24;
    --dark-border: #2a2a3a;
    --text: #e8e6e1;
    --text-muted: #9a9890;
    --text-dim: #6a6860;
    --accent-red: #8b2020;
    --accent-blue: #2a4a6a;
    --accent-green: #2a6a3a;
    --accent-purple: #6a2a7a;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow: 0 4px 24px rgba(0,0,0,0.4);
    --transition: 0.3s ease;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
}

a { text-decoration: none; color: inherit; transition: color var(--transition); }
img { max-width: 100%; display: block; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Tab System ---------- */
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 12px 0;
    transition: all var(--transition);
    background: transparent;
}
.navbar.scrolled {
    background: rgba(10,10,12,0.97);
    backdrop-filter: blur(12px);
    padding: 8px 0;
    border-bottom: 1px solid var(--dark-border);
}
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold);
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-logo:hover { color: var(--gold-light); }
.logo-icon { font-size: 1.5rem; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 4px;
    list-style: none;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.nav-link {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 6px 10px;
    border-radius: var(--radius);
    transition: all var(--transition);
    white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
    color: var(--gold);
    background: rgba(201,168,76,0.08);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: var(--transition);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* Video background */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

/* Fallback gradient when no video or video hasn't loaded */
.hero.no-video {
    background:
        radial-gradient(ellipse at 50% 30%, rgba(201,168,76,0.08) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 80%, rgba(139,32,32,0.06) 0%, transparent 50%),
        linear-gradient(180deg, #0a0a0c 0%, #12121a 50%, #0a0a0c 100%);
}
.hero.no-video::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 20% 30%, rgba(201,168,76,0.3), transparent),
        radial-gradient(1px 1px at 40% 70%, rgba(201,168,76,0.2), transparent),
        radial-gradient(1px 1px at 60% 20%, rgba(201,168,76,0.25), transparent),
        radial-gradient(1px 1px at 80% 60%, rgba(201,168,76,0.2), transparent),
        radial-gradient(1.5px 1.5px at 10% 80%, rgba(201,168,76,0.15), transparent),
        radial-gradient(1px 1px at 90% 40%, rgba(201,168,76,0.2), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(201,168,76,0.15), transparent);
    animation: shimmer 8s ease-in-out infinite alternate;
}

/* Dark overlay on video */
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, rgba(10,10,12,0.4) 0%, rgba(10,10,12,0.75) 100%);
    z-index: 1;
}

/* Floating particles */
.hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}
.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat linear infinite;
}
@keyframes particleFloat {
    0% { opacity: 0; transform: translateY(100vh) scale(0); }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { opacity: 0; transform: translateY(-10vh) scale(1); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 0 24px;
}
.hero-subtitle {
    font-family: 'Cinzel', serif;
    font-size: 0.9rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.hero-title {
    font-size: clamp(4rem, 12vw, 10rem);
    font-weight: 900;
    margin-bottom: 24px;
    text-shadow: 0 4px 40px rgba(0,0,0,0.6);
    letter-spacing: 2px;
}
.hero-title span {
    background: linear-gradient(180deg, #e8d48b 0%, #c9a84c 50%, #8a6d2b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-desc {
    font-size: 1.15rem;
    color: rgba(232,230,225,0.85);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 12px rgba(0,0,0,0.6);
    line-height: 1.7;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-scroll-hint {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(232,230,225,0.5);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 2;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.scroll-arrow {
    width: 20px; height: 20px;
    border-right: 2px solid rgba(232,230,225,0.5);
    border-bottom: 2px solid rgba(232,230,225,0.5);
    transform: rotate(45deg);
    animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
    0%,100%{transform:rotate(45deg) translateY(0)}
    50%{transform:rotate(45deg) translateY(8px)}
}

/* Hero entrance animations */
.hero-content {
    animation: heroFadeIn 1.2s ease-out forwards;
}
.hero-subtitle {
    animation: heroFadeUp 1s ease-out 0.2s both;
}
.hero-title {
    animation: heroFadeUp 1s ease-out 0.4s both;
}
.hero-desc {
    animation: heroFadeUp 1s ease-out 0.6s both;
}
.hero-actions {
    animation: heroFadeUp 1s ease-out 0.8s both;
}
@keyframes heroFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes heroFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: 'Cinzel', serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}
.btn-primary {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--dark);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201,168,76,0.3);
}
.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--dark-border);
}
.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-2px);
}
.btn-sm { padding: 10px 24px; font-size: 0.75rem; letter-spacing: 1px; }

/* ---------- Stats Bar ---------- */
.stats-bar {
    background: var(--dark-card);
    border-top: 1px solid var(--dark-border);
    border-bottom: 1px solid var(--dark-border);
    padding: 32px 0;
}
.stats-bar .container {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 24px;
    text-align: center;
}
.stat-number {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
}
.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag {
    display: inline-block;
    font-family: 'Cinzel', serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid var(--gold-dark);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 16px;
}
.section-header h2 { font-size: 2.5rem; margin-bottom: 12px; }
.section-header p { font-size: 1rem; color: var(--text-muted); max-width: 560px; margin: 0 auto; }

/* ---------- Page Hero (sub-pages) ---------- */
.page-hero {
    padding: 140px 0 60px;
    text-align: center;
    background: radial-gradient(ellipse at 50% 0%, rgba(201,168,76,0.06) 0%, transparent 60%), var(--dark);
    border-bottom: 1px solid var(--dark-border);
}
.page-hero h1 { font-size: 2.5rem; }

/* ---------- Navigation Cards (Home) ---------- */
.nav-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.nav-card {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.nav-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold-dark);
    box-shadow: 0 12px 40px rgba(201,168,76,0.1);
}
.nav-card-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
}
.nav-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: var(--text);
}
.nav-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ========== CLASSES ========== */
.classes-intro {
    max-width: 800px;
    margin: 0 auto 48px;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.8;
}
.classes-intro strong { color: var(--gold); }
.class-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.class-card {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition);
    position: relative;
}
.class-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold-dark);
}
.class-card.popular {
    border-color: var(--gold-dark);
    box-shadow: 0 0 20px rgba(201,168,76,0.08);
}
.class-pop-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 12px;
    background: rgba(201,168,76,0.15);
    color: var(--gold);
    border: 1px solid var(--gold-dark);
}
.class-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}
.class-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}
.class-header h3 { font-size: 1.2rem; color: var(--text); }
.class-level { font-size: 0.8rem; color: var(--text-dim); }

.class-pickrate {
    margin-bottom: 20px;
    padding: 16px;
    background: var(--dark);
    border-radius: var(--radius);
}
.pickrate-label {
    font-size: 0.7rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.pickrate-value {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
}
.pickrate-bar {
    height: 6px;
    background: var(--dark-border);
    border-radius: 3px;
    margin-top: 8px;
    overflow: hidden;
}
.pickrate-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold));
    border-radius: 3px;
}

.class-stats-preview {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.mini-stat {
    font-size: 0.75rem;
    padding: 6px 12px;
    background: var(--dark);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    color: var(--text-muted);
}
.mini-stat span {
    color: var(--text-dim);
    margin-right: 4px;
}

.class-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}
.class-pros, .class-cons {
    font-size: 0.78rem;
    padding: 12px;
    background: var(--dark);
    border-radius: var(--radius);
    line-height: 1.6;
    color: var(--text-muted);
}
.class-pros strong, .class-cons strong {
    display: block;
    margin-bottom: 4px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.class-pros strong { color: #4caf50; }
.class-cons strong { color: #e57373; }

.class-verdict {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.6;
    padding: 12px;
    background: rgba(201,168,76,0.05);
    border-left: 3px solid var(--gold-dark);
    border-radius: 0 var(--radius) var(--radius) 0;
}
.class-verdict strong { color: var(--gold); }

.class-summary {
    margin-top: 48px;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 32px;
}
.class-summary h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
    color: var(--gold);
}
.class-summary p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    line-height: 1.6;
}
.highlight {
    color: var(--gold);
    font-weight: 600;
}

/* ========== BOSS ORDER / TIMELINE ========== */
.boss-order-intro {
    max-width: 800px;
    margin: 0 auto 48px;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.8;
}
.boss-timeline {
    max-width: 900px;
    margin: 0 auto;
}
.timeline-step {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
}
.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}
.timeline-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--dark);
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.timeline-line {
    width: 2px;
    flex: 1;
    min-height: 32px;
    background: var(--dark-border);
}
.timeline-content {
    flex: 1;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all var(--transition);
}
.timeline-content:hover {
    border-color: var(--gold-dark);
    transform: translateX(4px);
}
.timeline-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.timeline-difficulty {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 12px;
}
.timeline-difficulty.easy { background:rgba(76,175,80,0.15); color:#4caf50; }
.timeline-difficulty.medium { background:rgba(255,152,0,0.15); color:#ff9800; }
.timeline-difficulty.hard { background:rgba(244,67,54,0.15); color:#f44336; }
.timeline-difficulty.very-hard { background:rgba(156,39,176,0.15); color:#9c27b0; }
.timeline-header h3 { font-size: 1.15rem; color: var(--text); }
.timeline-location { font-size: 0.8rem; color: var(--text-dim); }
.timeline-desc { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 12px; line-height: 1.7; }
.timeline-desc strong { color: var(--gold); }
.timeline-requirements { display: flex; gap: 8px; flex-wrap: wrap; }
.req-tag {
    font-size: 0.7rem;
    padding: 4px 10px;
    background: rgba(201,168,76,0.08);
    border: 1px solid rgba(201,168,76,0.2);
    border-radius: 12px;
    color: var(--gold);
}

/* ========== BOSS DETAIL TABS ========== */
.boss-tabs-nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
}
.boss-tab-btn {
    padding: 10px 20px;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    color: var(--text-muted);
    font-family: 'Cinzel', serif;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}
.boss-tab-btn:hover, .boss-tab-btn.active {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(201,168,76,0.08);
}
.boss-detail-content { display: none; }
.boss-detail-content.active { display: block; }
.boss-detail-header {
    text-align: center;
    margin-bottom: 40px;
}
.boss-detail-header h2 { font-size: 2rem; margin-bottom: 12px; }
.boss-detail-meta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.boss-detail-diff { color: var(--gold); font-weight: 600; }
.boss-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.boss-detail-section {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 28px;
}
.boss-detail-section h3 {
    font-size: 1.05rem;
    color: var(--gold);
    margin-bottom: 12px;
}
.boss-detail-section p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 12px;
}
.boss-detail-section p strong { color: var(--text); }
.boss-tip-list {
    list-style: none;
}
.boss-tip-list li {
    font-size: 0.82rem;
    color: var(--text-muted);
    padding: 8px 0;
    border-top: 1px solid var(--dark-border);
    line-height: 1.5;
}
.boss-tip-list li::before {
    content: '\2713 ';
    color: var(--gold);
    font-weight: bold;
    margin-right: 4px;
}
.boss-setup-grid {
    display: grid;
    gap: 8px;
}
.setup-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    font-size: 0.82rem;
    padding: 8px 0;
    border-top: 1px solid var(--dark-border);
}
.setup-label { color: var(--text-dim); text-transform: uppercase; letter-spacing: 1px; font-size: 0.7rem; }
.setup-value { color: var(--text-muted); text-align: right; }
.boss-key-takeaway {
    font-size: 0.88rem !important;
    color: var(--gold) !important;
    background: rgba(201,168,76,0.06);
    padding: 16px !important;
    border-radius: var(--radius);
    border-left: 3px solid var(--gold-dark);
    line-height: 1.7 !important;
}

/* ========== MECHANICS ========== */
.mechanics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}
.mechanic-card {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition);
}
.mechanic-card:hover {
    border-color: var(--gold-dark);
    transform: translateY(-4px);
}
.mechanic-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}
.mechanic-card h3 {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 8px;
}
.mechanic-card > p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.6;
}
.mechanic-card > p strong { color: var(--text); }
.mechanic-details h4 {
    font-size: 0.8rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}
.mechanic-details ul, .mechanic-details ol {
    padding-left: 20px;
}
.mechanic-details li {
    font-size: 0.82rem;
    color: var(--text-muted);
    padding: 4px 0;
    line-height: 1.5;
}
.mechanic-details li strong { color: var(--text); }
.mechanic-tip {
    background: rgba(201,168,76,0.06);
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: var(--radius);
    padding: 16px 20px;
    font-size: 0.85rem;
    color: var(--gold);
    line-height: 1.6;
    margin-top: 24px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}
.mechanic-tip strong { color: var(--gold-light); }

/* ========== WARCRATS ========== */
.warcraft-intro {
    max-width: 800px;
    margin: 0 auto 48px;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.8;
}
.warcraft-intro strong { color: var(--gold); }
.subsection-title {
    font-size: 1.4rem;
    color: var(--gold);
    margin: 48px 0 24px;
    text-align: center;
}
.affinity-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}
.affinity-card {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: all var(--transition);
}
.affinity-card:hover { border-color: var(--gold-dark); transform: translateY(-3px); }
.affinity-card h3 {
    font-size: 0.95rem;
    color: var(--gold);
    margin-bottom: 8px;
}
.affinity-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.aow-category { margin-bottom: 32px; }
.aow-category h3 {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--dark-border);
}
.aow-list { display: flex; flex-direction: column; gap: 12px; }
.aow-item {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    padding: 12px 16px;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
}
.aow-item strong { color: var(--gold); }
.aow-item em { color: var(--text-dim); }

/* ========== BUILDS ========== */
.builds-intro {
    max-width: 800px;
    margin: 0 auto 48px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.build-detail-list { display: flex; flex-direction: column; gap: 32px; }
.build-detail-card {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition);
    position: relative;
}
.build-detail-card:hover { border-color: var(--gold-dark); transform: translateY(-4px); }
.build-detail-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 4px 12px;
    border-radius: 12px;
    color: #fff;
}
.build-detail-card h3 {
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 12px;
    padding-right: 100px;
}
.build-detail-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.7;
}
.build-detail-desc strong { color: var(--gold); }
.build-target-stats {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.target-stat {
    background: var(--dark);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    padding: 10px 16px;
    text-align: center;
}
.target-stat span {
    display: block;
    font-size: 0.65rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}
.target-stat {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold);
}
.build-equipment { margin-bottom: 20px; }
.build-equipment h4 {
    font-size: 0.8rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 12px 0 6px;
}
.build-equipment p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.build-playstyle h4 {
    font-size: 0.8rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}
.build-playstyle p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
    padding: 12px;
    background: var(--dark);
    border-radius: var(--radius);
}

/* ========== EARLY GAME ========== */
.early-game-intro {
    max-width: 800px;
    margin: 0 auto 48px;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.8;
}
.early-game-intro strong { color: var(--gold); }
.early-game-steps { max-width: 900px; margin: 0 auto 48px; }
.step {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
}
.step-num {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--dark);
    font-family: 'Cinzel', serif;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.step-content {
    flex: 1;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 24px;
}
.step-content h3 {
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: 12px;
}
.step-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
}
.step-content p strong { color: var(--gold); }
.essential-items-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 16px;
}
.essential-item {
    font-size: 0.78rem;
    color: var(--text-muted);
    padding: 12px;
    background: var(--dark);
    border-radius: var(--radius);
    line-height: 1.5;
}
.essential-item strong { color: var(--gold); display: block; margin-bottom: 4px; }
.essential-item em { color: var(--text-dim); display: block; margin-top: 4px; }

.early-game-cheats { max-width: 1000px; margin: 0 auto; }
.early-game-cheats h3 {
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 24px;
    text-align: center;
}
.cheat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.cheat-item {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: all var(--transition);
}
.cheat-item:hover { border-color: var(--gold-dark); transform: translateY(-3px); }
.cheat-item strong {
    display: block;
    font-size: 0.9rem;
    color: var(--gold);
    margin-bottom: 8px;
}
.cheat-item p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ========== STATS ========== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.stat-card {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition);
}
.stat-card:hover { border-color: var(--gold-dark); transform: translateY(-3px); }
.stat-card-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}
.stat-card h3 {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 8px;
}
.stat-card > p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    line-height: 1.6;
}
.stat-caps {
    font-size: 0.8rem;
    color: var(--gold);
    line-height: 1.6;
    padding: 12px;
    background: var(--dark);
    border-radius: var(--radius);
}
.stat-caps strong { color: var(--gold-light); }

.stats-summary {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 32px;
}
.stats-summary h3 {
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 16px;
}
.stats-summary p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    line-height: 1.6;
}

/* ========== CTA Section ========== */
.cta-section {
    padding: 80px 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(201,168,76,0.06) 0%, transparent 60%), var(--dark-card);
    text-align: center;
    border-top: 1px solid var(--dark-border);
}
.cta-section h2 { font-size: 2.5rem; margin-bottom: 12px; }
.cta-section > .container > p {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}
.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
}
.newsletter-form input {
    flex: 1;
    padding: 14px 20px;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color var(--transition);
}
.newsletter-form input:focus { border-color: var(--gold); }
.newsletter-note { font-size: 0.75rem; color: var(--text-dim); margin-top: 12px; }

/* ========== Footer ========== */
.footer {
    background: var(--dark-card);
    border-top: 1px solid var(--dark-border);
    padding: 60px 0 30px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-brand p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 16px;
    max-width: 280px;
}
.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 0.85rem; color: var(--text-muted); }
.footer-col a:hover { color: var(--gold); }
.footer-bottom {
    border-top: 1px solid var(--dark-border);
    padding-top: 24px;
    text-align: center;
}
.footer-bottom p { font-size: 0.75rem; color: var(--text-dim); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .nav-cards { grid-template-columns: repeat(2, 1fr); }
    .affinity-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
    .nav-toggle { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(10,10,12,0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 16px;
        gap: 4px;
        border-bottom: 1px solid var(--dark-border);
    }
    .nav-links.open { display: flex; }
    .nav-link { width: 100%; text-align: center; padding: 10px; }
    .stats-bar .container { grid-template-columns: repeat(2,1fr); }
    .nav-cards { grid-template-columns: 1fr; }
    .class-grid { grid-template-columns: 1fr; }
    .boss-detail-grid { grid-template-columns: 1fr; }
    .mechanics-grid { grid-template-columns: 1fr; }
    .affinity-grid { grid-template-columns: 1fr; }
    .essential-items-grid { grid-template-columns: 1fr 1fr; }
    .cheat-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .timeline-step { flex-direction: column; gap: 12px; }
    .timeline-line { display: none; }
    .class-pros-cons { grid-template-columns: 1fr; }
    .section { padding: 60px 0; }
    .section-header h2 { font-size: 1.8rem; }
    .newsletter-form { flex-direction: column; }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .boss-tabs-nav { gap: 4px; }
    .boss-tab-btn { padding: 8px 12px; font-size: 0.7rem; }
    .form-row { grid-template-columns: 1fr; }
    .modal { padding: 24px; }
    .comment-input-row { flex-direction: column; }
}
@media (max-width: 480px) {
    .stats-bar .container { grid-template-columns: 1fr 1fr; gap: 16px; }
    .stat-number { font-size: 1.5rem; }
    .hero-actions { flex-direction: column; align-items: center; }
    .essential-items-grid { grid-template-columns: 1fr; }
    .build-target-stats { grid-template-columns: repeat(2,1fr); }
}

/* ========== AUTH / MODAL STYLES ========== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(4px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    max-width: 440px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}
.modal-large { max-width: 640px; }
.modal h2 {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 24px;
    text-align: center;
}
.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color var(--transition);
}
.modal-close:hover { color: var(--gold); }
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
}
.form-group textarea { resize: vertical; }
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-error {
    font-size: 0.8rem;
    color: #e57373;
    margin-bottom: 12px;
    min-height: 20px;
}
.modal-switch {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 20px;
}
.modal-switch a { color: var(--gold); }

/* ========== USER MENU ========== */
.nav-user {
    position: relative;
}
.nav-user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(201,168,76,0.1);
    border: 1px solid var(--gold-dark);
    border-radius: 20px;
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}
.nav-user-btn:hover {
    background: rgba(201,168,76,0.2);
}
.user-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}
.user-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    min-width: 180px;
    z-index: 100;
    overflow: hidden;
}
.user-dropdown.open { display: block; }
.user-dropdown a {
    display: block;
    padding: 10px 16px;
    font-size: 0.82rem;
    color: var(--text-muted);
    transition: all var(--transition);
}
.user-dropdown a:hover {
    background: rgba(201,168,76,0.08);
    color: var(--gold);
}
.user-dropdown .dropdown-divider {
    border-top: 1px solid var(--dark-border);
    margin: 4px 0;
}
.user-dropdown a.logout { color: #e57373; }
.user-dropdown a.logout:hover { background: rgba(229,115,115,0.1); }

/* ========== COMMENTS SECTION ========== */
.comments-section {
    max-width: 800px;
    margin: 48px auto 0;
    padding-top: 32px;
    border-top: 1px solid var(--dark-border);
}
.comments-section h3 {
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 20px;
}
.comment-form {
    margin-bottom: 24px;
}
.comment-login-prompt {
    font-size: 0.85rem;
    color: var(--text-dim);
    text-align: center;
}
.comment-login-prompt a { color: var(--gold); }
.comment-input-row {
    display: flex;
    gap: 12px;
}
.comment-input-row textarea {
    flex: 1;
    padding: 12px;
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 0.85rem;
    font-family: 'Inter', sans-serif;
    resize: none;
    min-height: 60px;
    outline: none;
}
.comment-input-row textarea:focus { border-color: var(--gold); }
.comment-submit-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--dark);
    border: none;
    border-radius: var(--radius);
    font-family: 'Cinzel', serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    transition: all var(--transition);
}
.comment-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(201,168,76,0.3);
}
.comment-item {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 12px;
}
.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.comment-author {
    display: flex;
    align-items: center;
    gap: 10px;
}
.comment-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}
.comment-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gold);
}
.comment-date {
    font-size: 0.7rem;
    color: var(--text-dim);
}
.comment-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 8px;
}
.comment-actions {
    display: flex;
    gap: 16px;
}
.comment-action {
    font-size: 0.72rem;
    color: var(--text-dim);
    cursor: pointer;
    background: none;
    border: none;
    transition: color var(--transition);
    display: flex;
    align-items: center;
    gap: 4px;
}
.comment-action:hover { color: var(--gold); }
.comment-action.liked { color: var(--gold); }
.comment-delete-btn {
    color: #e57373;
    opacity: 0.5;
    transition: opacity var(--transition);
}
.comment-delete-btn:hover { opacity: 1; }

/* ========== COMMUNITY GUIDES ========== */
.community-guides-list {
    display: grid;
    gap: 20px;
}
.community-guide-card {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all var(--transition);
}
.community-guide-card:hover {
    border-color: var(--gold-dark);
    transform: translateY(-2px);
}
.cg-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}
.cg-title {
    font-size: 1.15rem;
    color: var(--text);
    cursor: pointer;
}
.cg-title:hover { color: var(--gold); }
.cg-category {
    font-size: 0.65rem;
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    white-space: nowrap;
}
.cg-category.boss { background: rgba(139,32,32,0.2); color: #e57373; }
.cg-category.build { background: rgba(201,168,76,0.2); color: var(--gold); }
.cg-category.area { background: rgba(42,106,58,0.2); color: #81c784; }
.cg-category.tips { background: rgba(42,74,106,0.2); color: #64b5f6; }
.cg-category.lore { background: rgba(106,42,122,0.2); color: #ba68c8; }
.cg-author {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.cg-author-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gold-dark);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    font-weight: 700;
}
.cg-author-name {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.cg-date {
    font-size: 0.7rem;
    color: var(--text-dim);
}
.cg-preview {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.cg-full-content {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
    white-space: pre-wrap;
}
.cg-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}
.cg-tag {
    font-size: 0.65rem;
    padding: 3px 8px;
    background: var(--dark);
    border: 1px solid var(--dark-border);
    border-radius: 10px;
    color: var(--text-dim);
}
.cg-footer {
    display: flex;
    gap: 16px;
    align-items: center;
}
.cg-like-btn {
    font-size: 0.78rem;
    color: var(--text-dim);
    cursor: pointer;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color var(--transition);
}
.cg-like-btn:hover { color: var(--gold); }
.cg-comments-link {
    font-size: 0.78rem;
    color: var(--text-dim);
    cursor: pointer;
    transition: color var(--transition);
}
.cg-comments-link:hover { color: var(--gold); }
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* ========== FEEDBACK FORM ========== */
.feedback-form-card {
    background: var(--dark-surface);
    border: 1px solid var(--dark-border);
    border-radius: var(--radius-lg);
    padding: 36px;
}
.feedback-note {
    text-align: center;
    margin-top: 20px;
    font-size: 0.85rem;
    color: var(--text-dim);
}
.feedback-success {
    text-align: center;
    padding: 40px;
    background: rgba(76,175,80,0.1);
    border: 1px solid rgba(76,175,80,0.3);
    border-radius: var(--radius-lg);
    color: #81c784;
}
.feedback-success h3 { color: #81c784; margin-bottom: 12px; }
