/* ============================================
   VARIABLES & THEME
   ============================================ */
:root {
    /* Colors - Dark Fantasy Theme */
    --primary: #d4af37;
    --primary-dark: #c9a227;
    --background: #0f0f1e;
    --card-bg: #1a1a2e;
    --foreground: #e8e8f0;
    --foreground-muted: #a8a8c0;
    --border: #2a2a3e;
    --accent: #d4af37;
    --accent-foreground: #1a1a2e;
    --secondary: #5a189a;
    --danger-bg: #ff4444;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;

    /* Border Radius */
    --radius: 0.65rem;
    --radius-md: calc(var(--radius) - 2px);
    --radius-lg: var(--radius);

    /* Typography */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Roboto', sans-serif;

    /* Transitions */
    --transition-fast: 150ms ease-out;
    --transition-normal: 300ms ease-out;
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    font-size: 16px;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.25rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--spacing-md);
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */
.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    max-width: 100%;
}

@media (min-width: 640px) {
    .container {
        padding: 0 var(--spacing-lg);
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: 1280px;
        padding: 0 var(--spacing-xl);
    }
}

/* ============================================
   HEADER
   ============================================ */
.sticky-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) 0;
}

.logo {
    font-size: 1.5rem;
    color: var(--accent);
    font-family: var(--font-serif);
    font-weight: 700;
}

@media (min-width: 768px) {
    .logo {
        font-size: 1.75rem;
    }
}

/* ============================================
   HEADER ACTIONS (LANG + MENU)
   ============================================ */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

/* ============================================
   LANGUAGE SWITCHER
   ============================================ */
.language-switcher {
    display: flex;
    gap: var(--spacing-sm);
}

.lang-btn {
    padding: var(--spacing-sm) var(--spacing-md);
    background-color: transparent;
    border: 1px solid var(--border);
    color: var(--foreground);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    border-radius: var(--radius);
    transition: all var(--transition-normal);
}

.lang-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.lang-btn.active {
    background-color: var(--accent);
    color: var(--accent-foreground);
    border-color: var(--accent);
}

/* ============================================
   HAMBURGER MENU TOGGLE
   ============================================ */
.menu-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

.menu-bar {
    display: block;
    width: 20px;
    height: 2px;
    background-color: var(--accent);
    border-radius: 2px;
    transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(2) {
    opacity: 0;
}
.menu-toggle[aria-expanded="true"] .menu-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   SIDEBAR DRAWER
   ============================================ */
.sidebar-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
    z-index: 90;
}

.sidebar-backdrop.open {
    opacity: 1;
    visibility: visible;
}

.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 320px;
    max-width: 85vw;
    background-color: var(--card-bg);
    border-left: 2px solid var(--accent);
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform var(--transition-normal);
    z-index: 100;
    overflow: hidden;
}

.sidebar.open {
    transform: translateX(0);
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--border);
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.15), transparent);
}

.sidebar-title {
    font-size: 1.25rem;
    color: var(--accent);
    margin: 0;
}

.sidebar-close {
    width: 36px;
    height: 36px;
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: all var(--transition-normal);
}

.sidebar-close:hover,
.sidebar-close:focus-visible {
    border-color: var(--accent);
    background-color: rgba(212, 175, 55, 0.1);
    outline: none;
}

.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: var(--spacing-md) 0;
}

.sidebar-group {
    border-bottom: 1px solid var(--border);
}

.sidebar-group-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    background: transparent;
    border: none;
    color: var(--foreground);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.sidebar-group-toggle:hover {
    background-color: rgba(212, 175, 55, 0.06);
}

.sidebar-group-icon {
    font-size: 1.1rem;
}

.sidebar-group-label {
    flex: 1;
    color: var(--accent);
}

.sidebar-chevron {
    color: var(--accent);
    transition: transform var(--transition-fast);
}

.sidebar-group-toggle[aria-expanded="false"] .sidebar-chevron {
    transform: rotate(-90deg);
}

.sidebar-group-items {
    list-style: none;
    margin: 0;
    padding: 0 0 var(--spacing-sm);
    max-height: 800px;
    overflow: hidden;
    transition: max-height var(--transition-normal);
}

.sidebar-group-items.collapsed {
    max-height: 0;
    padding: 0;
}

.sidebar-link {
    display: block;
    padding: var(--spacing-sm) var(--spacing-lg) var(--spacing-sm) calc(var(--spacing-lg) + 1.5rem);
    color: rgba(232, 232, 240, 0.85);
    font-size: 0.9rem;
    text-decoration: none;
    border-left: 3px solid transparent;
    transition: all var(--transition-fast);
}

.sidebar-link:hover,
.sidebar-link:focus-visible {
    color: var(--accent);
    background-color: rgba(212, 175, 55, 0.08);
    border-left-color: var(--accent);
    outline: none;
}

.sidebar-link.active {
    color: var(--accent);
    border-left-color: var(--accent);
    background-color: rgba(212, 175, 55, 0.1);
}

.sidebar-footer {
    padding: var(--spacing-md) var(--spacing-lg);
    border-top: 1px solid var(--border);
    text-align: center;
}

.sidebar-footer p {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(232, 232, 240, 0.5);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* When sidebar is open, prevent body scroll */
body.sidebar-open {
    overflow: hidden;
}

/* ============================================
   TABS (Player Guide & Profession)
   ============================================ */
.tabs {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.tabs-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.4rem;
    background: rgba(15, 15, 30, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.18);
    border-radius: 14px;
}

.tab-btn {
    flex: 1 1 auto;
    min-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 0.9rem;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 10px;
    color: rgba(232, 232, 240, 0.7);
    font-family: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
    white-space: nowrap;
}

.tab-btn:hover {
    background: rgba(212, 175, 55, 0.08);
    color: var(--text);
}

.tab-btn.active {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.22), rgba(212, 175, 55, 0.08));
    border-color: rgba(212, 175, 55, 0.55);
    color: var(--accent);
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.12);
}

.tab-btn-icon {
    font-size: 1.1rem;
    line-height: 1;
}

.tab-btn-tag {
    display: inline-block;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.12);
    color: var(--accent);
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tab-btn-title {
    overflow: hidden;
    text-overflow: ellipsis;
}

.tabs-panels > .tab-panel {
    display: none;
}

.tabs-panels > .tab-panel.active {
    display: block;
    animation: tabFade 0.22s ease-out;
}

@keyframes tabFade {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
    .tab-btn {
        min-width: 110px;
        font-size: 0.78rem;
        padding: 0.55rem 0.7rem;
    }
    .tab-btn-title {
        max-width: 90px;
    }
}

/* ============================================
   BEGINNER ESSENTIALS
   ============================================ */
.essential-card {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95), rgba(15, 15, 30, 0.95));
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 14px;
    padding: var(--spacing-lg);
    color: var(--text);
}

.essential-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}

.essential-icon {
    font-size: 2.2rem;
    line-height: 1;
}

.essential-title {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--accent);
}

.essential-subtitle {
    margin: 0.2rem 0 0;
    color: rgba(232, 232, 240, 0.7);
    font-size: 0.92rem;
}

.essential-intro {
    margin: 0 0 1.25rem;
    color: rgba(232, 232, 240, 0.85);
    line-height: 1.6;
}

.essential-section {
    margin-top: 1.5rem;
}

.essential-section h4 {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    color: var(--accent);
    letter-spacing: 0.02em;
}

.essential-list {
    margin: 0;
    padding-left: 1.25rem;
    line-height: 1.7;
}

.essential-list li {
    margin-bottom: 0.35rem;
    color: rgba(232, 232, 240, 0.88);
}

/* Checklist (used in First Hour & Refining) */
.checklist {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.checklist-item {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 0.7rem 0.9rem;
    background: rgba(15, 15, 30, 0.55);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 10px;
    transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.checklist-item:hover {
    border-color: rgba(212, 175, 55, 0.45);
    background: rgba(20, 20, 40, 0.7);
    transform: translateX(2px);
}

.checklist-num {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.85), rgba(180, 140, 30, 0.85));
    color: #0f0f1e;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    box-shadow: 0 2px 6px rgba(212, 175, 55, 0.25);
}

.checklist-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    line-height: 1.5;
}

.checklist-text strong {
    color: var(--text);
    font-weight: 600;
}

.checklist-detail {
    color: rgba(232, 232, 240, 0.7);
    font-size: 0.88rem;
}

/* Table */
.essential-table-wrap {
    overflow-x: auto;
    margin-top: 0.25rem;
}

.essential-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 480px;
    font-size: 0.92rem;
}

.essential-table thead {
    background: rgba(212, 175, 55, 0.1);
}

.essential-table th {
    padding: 0.6rem 0.8rem;
    text-align: left;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.essential-table td {
    padding: 0.6rem 0.8rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.08);
    color: rgba(232, 232, 240, 0.9);
    vertical-align: top;
}

.essential-table tbody tr:hover {
    background: rgba(212, 175, 55, 0.04);
}

.essential-bonus {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    background: rgba(81, 207, 102, 0.18);
    color: #6ee07a;
    font-weight: 600;
    font-size: 0.85rem;
}

/* Row cards (Food & Potion) */
.essential-rows {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 0.6rem;
}

.essential-row-card {
    padding: 0.7rem 0.9rem;
    background: rgba(15, 15, 30, 0.55);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 10px;
    transition: border-color 0.18s ease, transform 0.18s ease;
}

.essential-row-card:hover {
    border-color: rgba(212, 175, 55, 0.45);
    transform: translateY(-1px);
}

.essential-row-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.essential-row-header strong {
    color: var(--text);
}

.essential-tag {
    display: inline-block;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    background: rgba(212, 175, 55, 0.18);
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.essential-row-body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    font-size: 0.9rem;
}

.essential-row-effect {
    color: rgba(232, 232, 240, 0.85);
}

.essential-row-use {
    color: rgba(212, 175, 55, 0.85);
    font-style: italic;
    font-size: 0.85rem;
}

@media (max-width: 640px) {
    .essential-card {
        padding: 1rem;
    }
    .essential-icon {
        font-size: 1.8rem;
    }
    .essential-title {
        font-size: 1.3rem;
    }
    .essential-rows {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   GUIDE PHASES
   ============================================ */
.guide-phases-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

@media (min-width: 1024px) {
    .guide-phases-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.guide-phase-card {
    background-color: var(--card-bg);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-normal);
    scroll-margin-top: 80px;
}

.guide-phase-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.guide-phase-header {
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.18), rgba(90, 24, 154, 0.12));
    border-bottom: 1px solid var(--border);
}

.guide-phase-tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 999px;
    background-color: rgba(212, 175, 55, 0.2);
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
}

.guide-phase-title {
    font-size: 1.5rem;
    color: var(--accent);
    margin: 0 0 var(--spacing-xs);
}

.guide-phase-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-sm);
    font-size: 0.85rem;
    color: rgba(232, 232, 240, 0.75);
}

.guide-phase-meta span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.guide-phase-body {
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    flex: 1;
}

.guide-phase-section h4 {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
    margin-bottom: var(--spacing-sm);
}

.guide-phase-section p,
.guide-phase-section li {
    font-size: 0.9rem;
    color: rgba(232, 232, 240, 0.85);
    line-height: 1.55;
}

.guide-phase-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.guide-phase-section ul li {
    padding-left: 1.1rem;
    position: relative;
}

.guide-phase-section ul li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* ============================================
   PROFESSIONS
   ============================================ */
.profession-overview-card {
    background-color: var(--card-bg);
    border: 2px solid var(--accent);
    border-radius: var(--radius);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    background-image: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(90, 24, 154, 0.08));
    scroll-margin-top: 80px;
}

.profession-overview-card h3 {
    color: var(--accent);
    margin-bottom: var(--spacing-sm);
    font-size: 1.5rem;
}

.profession-overview-card p {
    color: rgba(232, 232, 240, 0.9);
    font-size: 0.95rem;
    margin-bottom: var(--spacing-md);
}

.profession-overview-card ul {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
}

@media (min-width: 768px) {
    .profession-overview-card ul {
        grid-template-columns: repeat(2, 1fr);
    }
}

.profession-overview-card ul li {
    font-size: 0.9rem;
    color: rgba(232, 232, 240, 0.85);
    padding-left: 1.2rem;
    position: relative;
}

.profession-overview-card ul li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 0.7rem;
    top: 4px;
}

.profession-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

@media (min-width: 768px) {
    .profession-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1280px) {
    .profession-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.profession-card {
    background-color: var(--card-bg);
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-normal);
    scroll-margin-top: 80px;
}

.profession-card:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.profession-header {
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.12), transparent);
}

.profession-icon {
    font-size: 2.25rem;
    line-height: 1;
}

.profession-name {
    color: var(--accent);
    font-size: 1.25rem;
    margin: 0;
}

.profession-tagline {
    color: rgba(232, 232, 240, 0.7);
    font-size: 0.85rem;
    margin-top: 2px;
}

.profession-body {
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    flex: 1;
}

.profession-row {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.profession-row .row-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--accent);
    font-weight: 600;
}

.profession-row .row-value {
    font-size: 0.9rem;
    color: rgba(232, 232, 240, 0.85);
}

.profession-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.profession-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.profession-list li {
    font-size: 0.85rem;
    color: rgba(232, 232, 240, 0.85);
    padding-left: 1rem;
    position: relative;
    line-height: 1.5;
}

.profession-list li::before {
    content: '◦';
    position: absolute;
    left: 0;
    color: var(--accent);
}

.profession-spot-list li {
    padding-left: 0;
}

.profession-spot-list li::before {
    content: '';
    display: none;
}

.profession-spot-list li strong {
    display: inline-block;
    min-width: 2.4rem;
    color: var(--accent);
    font-weight: 700;
}

.spot-zone-type {
    font-size: 0.72rem;
    color: rgba(232, 232, 240, 0.55);
    margin-left: 0.15rem;
}

.profession-tools-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}

.profession-tools-table th,
.profession-tools-table td {
    text-align: left;
    padding: 4px 8px;
    border-bottom: 1px solid var(--border);
    color: rgba(232, 232, 240, 0.85);
}

.profession-tools-table th {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.profession-tools-table tr:last-child td {
    border-bottom: none;
}

/* ============================================
   PRIME TIME TRACKER
   ============================================ */
.prime-time-section {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(90, 24, 154, 0.1) 100%);
    padding: var(--spacing-xl) 0;
    border-bottom: 2px solid var(--border);
}

.prime-time-widget {
    background-color: var(--card-bg);
    border: 2px solid var(--accent);
    border-radius: var(--radius);
    overflow: hidden;
    max-width: 600px;
    margin: 0 auto;
}

.prime-time-header {
    background: linear-gradient(90deg, var(--accent), var(--primary-dark));
    color: var(--accent-foreground);
    padding: var(--spacing-lg);
    text-align: center;
}

.prime-time-header h3 {
    margin: 0;
    font-size: 1.25rem;
}

.prime-time-content {
    padding: var(--spacing-lg);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

@media (max-width: 640px) {
    .prime-time-content {
        grid-template-columns: 1fr;
    }
}

.time-display {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: var(--spacing-md);
}

.time-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-lg);
    width: 100%;
}

.time-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.time-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(232, 232, 240, 0.6);
    font-weight: 600;
}

.time-divider {
    font-size: 1.5rem;
    color: rgba(212, 175, 55, 0.5);
    height: 60px;
    display: flex;
    align-items: center;
}

.current-time {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent);
    font-family: 'Courier New', monospace;
}

@media (max-width: 640px) {
    .time-row {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .time-divider {
        height: auto;
        transform: rotate(90deg);
    }
    
    .current-time {
        font-size: 1.5rem;
    }
}

.danger-level {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    display: inline-block;
}

.danger-level.safe {
    background-color: rgba(34, 197, 94, 0.2);
    color: #4ade80;
}

.danger-level.moderate {
    background-color: rgba(234, 179, 8, 0.2);
    color: #facc15;
}

.danger-level.extreme {
    background-color: rgba(239, 68, 68, 0.2);
    color: #f87171;
}

.time-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--spacing-sm);
}

.time-info p {
    margin: 0;
    font-size: 0.95rem;
    color: rgba(232, 232, 240, 0.9);
}

.time-info strong {
    color: var(--accent);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background-image: url('https://d2xsxph8kpxj0f.cloudfront.net/310519663244214689/CP2xbP6jZ7YquxKLmra3zY/hero-outlands-8KWtWz5XWPKre2bE9sSZu7.webp');
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.5), transparent);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 56rem;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.hero-badge {
    display: inline-block;
    background-color: var(--accent);
    color: var(--accent-foreground);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    animation: fadeInDown 0.6s ease-out;
}

.hero-title {
    font-size: 2.25rem;
    color: white;
    margin-bottom: var(--spacing-md);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }
}

.hero-description {
    font-size: 1rem;
    color: #d1d5db;
    margin-bottom: var(--spacing-xl);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.125rem;
    }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    padding: var(--spacing-md) var(--spacing-lg);
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    font-family: var(--font-sans);
}

.btn-primary {
    background-color: var(--accent);
    color: var(--accent-foreground);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(212, 175, 55, 0.3);
}

@media (min-width: 768px) {
    .btn {
        padding: var(--spacing-md) var(--spacing-xl);
        font-size: 1.125rem;
    }
}

/* ============================================
   MAIN CONTENT
   ============================================ */
.main-content {
    padding: var(--spacing-2xl) 0;
    background-color: var(--background);
}

.section-block {
    margin-bottom: var(--spacing-2xl);
}

@media (min-width: 768px) {
    .section-block {
        margin-bottom: calc(var(--spacing-2xl) * 1.5);
    }
}

.section-header {
    margin-bottom: var(--spacing-xl);
}

@media (min-width: 768px) {
    .section-header {
        margin-bottom: calc(var(--spacing-xl) * 1.5);
    }
}

.section-header h2 {
    color: var(--accent);
    margin-bottom: var(--spacing-sm);
    scroll-margin-top: 80px;
}

.section-block {
    scroll-margin-top: 80px;
}

.section-header p {
    color: rgba(232, 232, 240, 0.8);
    font-size: 0.95rem;
}

@media (min-width: 768px) {
    .section-header p {
        font-size: 1rem;
    }
}

/* ============================================
   BIOMES GRID
   ============================================ */
.biomes-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

@media (min-width: 768px) {
    .biomes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
}

@media (min-width: 1024px) {
    .biomes-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.biome-card {
    border: 2px solid;
    border-radius: var(--radius);
    overflow: hidden;
    background-color: var(--card-bg);
    transition: all var(--transition-normal);
    cursor: pointer;
}

.biome-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    transform: scale(1.05);
}

.biome-image {
    position: relative;
    height: 10rem;
    overflow: hidden;
}

@media (min-width: 768px) {
    .biome-image {
        height: 12rem;
    }
}

.biome-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.biome-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--spacing-md);
}

.biome-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
}

@media (min-width: 768px) {
    .biome-name {
        font-size: 1.5rem;
    }
}

.biome-city {
    font-size: 0.875rem;
    color: #d1d5db;
}

.biome-content {
    padding: var(--spacing-md);
}

@media (min-width: 768px) {
    .biome-content {
        padding: var(--spacing-lg);
    }
}

.biome-description {
    font-size: 0.875rem;
    color: rgba(232, 232, 240, 0.8);
    margin-bottom: var(--spacing-md);
}

@media (min-width: 768px) {
    .biome-description {
        margin-bottom: var(--spacing-lg);
    }
}

.resource-group {
    margin-bottom: var(--spacing-md);
}

@media (min-width: 768px) {
    .resource-group {
        margin-bottom: var(--spacing-lg);
    }
}

.resource-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(232, 232, 240, 0.6);
    text-transform: uppercase;
    margin-bottom: var(--spacing-sm);
}

.badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-md);
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid;
}

.badge-primary {
    background-color: var(--accent);
    color: var(--accent-foreground);
    border-color: var(--accent);
}

.badge-outline {
    background-color: transparent;
    color: var(--foreground);
    border-color: var(--border);
}

/* ============================================
   TIERS CONTAINER
   ============================================ */
.tiers-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

@media (min-width: 768px) {
    .tiers-container {
        gap: var(--spacing-lg);
    }
}

.tier-card {
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius);
    background-color: var(--card-bg);
    padding: var(--spacing-md);
    transition: all var(--transition-normal);
}

@media (min-width: 768px) {
    .tier-card {
        padding: var(--spacing-lg);
    }
}

.tier-card:hover {
    border-color: rgba(212, 175, 55, 0.6);
}

.tier-header {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

@media (min-width: 768px) {
    .tier-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: var(--spacing-lg);
        margin-bottom: var(--spacing-lg);
    }
}

.tier-title {
    font-size: 1.5rem;
    color: var(--accent);
}

@media (min-width: 768px) {
    .tier-title {
        font-size: 1.875rem;
    }
}

.tier-location {
    font-size: 0.875rem;
    color: rgba(232, 232, 240, 0.8);
}

@media (min-width: 768px) {
    .tier-location {
        font-size: 1rem;
    }
}

.tier-badges {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.tier-body {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

@media (min-width: 768px) {
    .tier-body {
        gap: var(--spacing-lg);
    }
}

.tier-section {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.tier-section-title {
    font-weight: 600;
    color: var(--accent);
    font-size: 0.95rem;
}

@media (min-width: 768px) {
    .tier-section-title {
        font-size: 1rem;
    }
}

.resources-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.tips-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.tips-list li {
    display: flex;
    gap: var(--spacing-sm);
    font-size: 0.875rem;
    color: rgba(232, 232, 240, 0.8);
}

@media (min-width: 768px) {
    .tips-list li {
        font-size: 1rem;
    }
}

.tips-list li::before {
    content: '•';
    color: var(--accent);
    font-weight: bold;
    flex-shrink: 0;
}

/* Danger Badge Colors */
.badge-safe {
    background-color: rgba(34, 197, 94, 0.2);
    color: #4ade80;
    border-color: #22c55e;
}

.badge-moderate {
    background-color: rgba(234, 179, 8, 0.2);
    color: #facc15;
    border-color: #eab308;
}

.badge-dangerous {
    background-color: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border-color: #ef4444;
}

/* ============================================
   T8 MAPS GRID
   ============================================ */
.t8-maps-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

@media (min-width: 768px) {
    .t8-maps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
}

@media (min-width: 1024px) {
    .t8-maps-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

.t8-card {
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius);
    background-color: var(--card-bg);
    padding: var(--spacing-md);
    transition: all var(--transition-normal);
}

@media (min-width: 768px) {
    .t8-card {
        padding: var(--spacing-lg);
    }
}

.t8-card:hover {
    border-color: rgba(212, 175, 55, 0.6);
}

.t8-card-title {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    font-size: 1rem;
}

@media (min-width: 768px) {
    .t8-card-title {
        font-size: 1.125rem;
    }
}

.t8-maps-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.t8-maps-list li {
    display: flex;
    gap: var(--spacing-sm);
    font-size: 0.875rem;
    color: rgba(232, 232, 240, 0.8);
    align-items: flex-start;
}

@media (min-width: 768px) {
    .t8-maps-list li {
        font-size: 1rem;
    }
}

.t8-maps-list li::before {
    content: '🧭';
    flex-shrink: 0;
    margin-top: 2px;
}

/* ============================================
   GATHERING BUILDS GRID
   ============================================ */
.builds-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

@media (min-width: 768px) {
    .builds-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
}

@media (min-width: 1024px) {
    .builds-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.build-card {
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius);
    background-color: var(--card-bg);
    padding: var(--spacing-lg);
    transition: all var(--transition-normal);
}

.build-card:hover {
    border-color: rgba(212, 175, 55, 0.6);
    box-shadow: 0 8px 16px rgba(212, 175, 55, 0.1);
}

.build-name {
    font-size: 1.125rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.build-type {
    font-size: 0.875rem;
    color: rgba(232, 232, 240, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-md);
}

.build-items {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.build-item {
    font-size: 0.875rem;
    color: rgba(232, 232, 240, 0.8);
    padding-left: var(--spacing-md);
    position: relative;
}

.build-item::before {
    content: '';
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* ============================================
   EVENTS GRID
   ============================================ */
.events-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

@media (min-width: 768px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
}

.event-card {
    border-left: 4px solid var(--accent);
    border-radius: var(--radius);
    background-color: var(--card-bg);
    padding: var(--spacing-lg);
    transition: all var(--transition-normal);
}

.event-card:hover {
    background-color: rgba(212, 175, 55, 0.05);
}

.event-time {
    font-size: 1rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.event-description {
    font-size: 0.95rem;
    color: rgba(232, 232, 240, 0.8);
    margin-bottom: var(--spacing-sm);
}

.event-note {
    font-size: 0.875rem;
    color: rgba(232, 232, 240, 0.6);
    font-style: italic;
}

/* ============================================
   CARDS
   ============================================ */
.card {
    border: 2px solid rgba(212, 175, 55, 0.3);
    border-radius: var(--radius);
    background-color: var(--card-bg);
    padding: var(--spacing-lg);
    transition: all var(--transition-normal);
}

@media (min-width: 768px) {
    .card {
        padding: calc(var(--spacing-lg) * 1.5);
    }
}

.card:hover {
    border-color: rgba(212, 175, 55, 0.6);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

@media (min-width: 768px) {
    .card-icon {
        font-size: 2.5rem;
    }
}

.card-title {
    color: var(--accent);
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
}

@media (min-width: 768px) {
    .card-title {
        font-size: 1.125rem;
    }
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.card-content p {
    font-size: 0.875rem;
    color: rgba(232, 232, 240, 0.8);
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .card-content p {
        font-size: 1rem;
    }
}

.card-note {
    margin-top: var(--spacing-md);
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border);
    font-size: 0.875rem;
    color: rgba(212, 175, 55, 0.9);
}

/* ============================================
   PRO TIPS GRID
   ============================================ */
.pro-tips-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
}

@media (min-width: 768px) {
    .pro-tips-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--spacing-lg);
    }
}

.pro-tip-card {
    background-color: rgba(212, 175, 55, 0.05);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: var(--card-bg);
    border-top: 1px solid var(--border);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

@media (min-width: 768px) {
    .footer {
        padding: calc(var(--spacing-xl) * 1.5) 0;
    }
}

.footer p {
    font-size: 0.875rem;
    color: rgba(232, 232, 240, 0.6);
    margin-bottom: var(--spacing-sm);
}

@media (min-width: 768px) {
    .footer p {
        font-size: 1rem;
    }
}

.footer-author {
    color: var(--accent);
}

.footer-author-link {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px dashed rgba(212, 175, 55, 0.5);
    padding-bottom: 1px;
    transition: color 0.18s ease, border-color 0.18s ease, text-shadow 0.18s ease;
}

.footer-author-link:hover,
.footer-author-link:focus {
    color: #fff;
    border-bottom-color: #fff;
    text-shadow: 0 0 8px rgba(212, 175, 55, 0.6);
    outline: none;
}

.footer-author-link::after {
    content: " ↗";
    font-size: 0.85em;
    opacity: 0.7;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 640px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.25rem;
    }
}

/* ============================================
   ZONE TYPES MANUAL
   ============================================ */
.zones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: var(--spacing-lg);
}

.zone-card {
    background: linear-gradient(160deg, rgba(26, 26, 46, 0.95), rgba(15, 15, 30, 0.95));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.zone-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
}

.zone-card.zone-safe::before { background: #4ade80; }
.zone-card.zone-moderate::before { background: #fbbf24; }
.zone-card.zone-extreme::before { background: #ef4444; }

.zone-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.12);
}

.zone-header {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
    padding-bottom: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border);
}

.zone-icon {
    font-size: 2rem;
    line-height: 1;
}

.zone-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.zone-name {
    margin: 0;
    color: var(--accent);
    font-size: 1.15rem;
    font-weight: 700;
}

.zone-danger-badge {
    display: inline-block;
    width: fit-content;
    padding: 0.15rem 0.6rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.zone-danger-safe { background: rgba(74, 222, 128, 0.18); color: #4ade80; }
.zone-danger-moderate { background: rgba(251, 191, 36, 0.18); color: #fbbf24; }
.zone-danger-extreme { background: rgba(239, 68, 68, 0.18); color: #ef4444; }

.zone-body {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.zone-row {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.zone-label {
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.zone-value {
    color: var(--foreground);
    font-size: 0.9rem;
    line-height: 1.5;
}

.zone-features {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.zone-features-list {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--foreground-muted);
    font-size: 0.88rem;
    line-height: 1.6;
}

.zone-features-list li {
    margin-bottom: 0.25rem;
}

/* ============================================
   COMMON MISTAKES (DON'T)
   ============================================ */
.mistakes-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: var(--spacing-md);
}

.mistake-card {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
    background: linear-gradient(160deg, rgba(46, 26, 26, 0.5), rgba(20, 15, 15, 0.85));
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: var(--radius);
    padding: var(--spacing-md) var(--spacing-lg);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.mistake-card:hover {
    transform: translateX(3px);
    border-color: #ef4444;
}

.mistake-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ef4444, #b91c1c);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.35);
}

.mistake-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.mistake-title {
    margin: 0;
    color: var(--foreground);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.3;
}

.mistake-x {
    color: #ef4444;
    margin-right: 0.25rem;
}

.mistake-detail {
    margin: 0;
    color: var(--foreground-muted);
    font-size: 0.88rem;
    line-height: 1.55;
}

/* ============================================
   GANK AVOIDANCE & ESCAPE MANUAL
   ============================================ */
.survival-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.survival-section {
    background: linear-gradient(160deg, rgba(26, 26, 46, 0.85), rgba(15, 15, 30, 0.95));
    border: 1px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius);
    padding: var(--spacing-lg);
}

.survival-h {
    margin: 0 0 var(--spacing-md) 0;
    color: var(--accent);
    font-size: 1.1rem;
    font-weight: 700;
}

.survival-list {
    margin: 0;
    padding-left: 1.4rem;
    color: var(--foreground);
    font-size: 0.95rem;
    line-height: 1.7;
}

.survival-list li {
    margin-bottom: 0.4rem;
}

.survival-tips li {
    color: var(--foreground-muted);
    font-style: italic;
}

.survival-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-md);
}

.survival-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(15, 15, 30, 0.6);
}

.survival-table thead {
    background: rgba(212, 175, 55, 0.12);
}

.survival-table th {
    text-align: left;
    padding: 0.75rem 1rem;
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border);
}

.survival-table td {
    padding: 0.65rem 1rem;
    border-bottom: 1px solid rgba(42, 42, 62, 0.6);
    color: var(--foreground);
    font-size: 0.9rem;
    vertical-align: top;
    line-height: 1.5;
}

.survival-table tr:last-child td {
    border-bottom: none;
}

.survival-table tr:hover td {
    background: rgba(212, 175, 55, 0.06);
}

.survival-slot {
    color: var(--foreground-muted);
    white-space: nowrap;
    font-weight: 600;
}

.survival-item {
    color: var(--accent);
    font-weight: 600;
}

.survival-why {
    color: var(--foreground-muted);
    font-size: 0.85rem;
}

/* ============================================
   TOOLS & APPS
   ============================================ */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.tool-card {
    background: linear-gradient(160deg, rgba(26, 26, 46, 0.95), rgba(15, 15, 30, 0.95));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.tool-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(212, 175, 55, 0.12);
}

.tool-header {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border);
}

.tool-name {
    margin: 0;
    color: var(--accent);
    font-size: 1.1rem;
    font-weight: 700;
}

.tool-category {
    color: var(--foreground-muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.tool-description {
    margin: 0;
    color: var(--foreground);
    font-size: 0.92rem;
    line-height: 1.55;
    flex: 1;
}

.tool-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 1rem;
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid var(--accent);
    border-radius: var(--radius-md);
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    width: fit-content;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.tool-link:hover {
    background: var(--accent);
    color: var(--accent-foreground);
    transform: translateY(-1px);
}

/* ============================================
   FOUNDATION/SURVIVAL/TOOLS - MOBILE
   ============================================ */
@media (max-width: 640px) {
    .zones-grid,
    .mistakes-list,
    .tools-grid {
        grid-template-columns: 1fr;
    }

    .zone-card,
    .tool-card,
    .survival-section {
        padding: var(--spacing-md);
    }

    .zone-name,
    .tool-name,
    .survival-h {
        font-size: 1rem;
    }

    .mistake-card {
        padding: var(--spacing-md);
    }

    .survival-table th,
    .survival-table td {
        padding: 0.5rem 0.6rem;
        font-size: 0.82rem;
    }
}
