/* ================================
   ALBERATH: THE LOST AEONS
   Wiki Theme - Matches Game Frontend
   Based on frontend/src/brands/alberath/theme.css
   ================================ */

/* #region ===== VARIABLES ===== */
:root {
    /* === ALBERATH COLOR PALETTE === */
    --color-bg:         #0d1a1a; /* Dark teal/black background */
    --color-text:       #f5e6d3; /* Parchment text */
    --color-accent-cyan:#4dd9d9; /* Cyan magical glow */
    --color-darker-bg:  #050d0d; /* Even darker teal */

    --color-slate-light:#a5d2b7; /* Greenish gray */
    --color-slate-dark: #2a4a4a; /* Darker teal gray */

    --color-primary:    #d4a94f; /* Gold (from logo) */
    --color-secondary:  #8b4c8b; /* Purple magic */
    --color-accent:     #d4a94f; /* Gold accent */

    --color-dark-teal:  #1a3d3d; /* Dark mysterious teal */
    --color-bronze:     #5a3a1a; /* Dark bronze/brown */

    /* Team colors */
    --color-green-dark:   #16a34a;
    --color-red:          #ef4444;
    --color-blue:         #1976d2;

    /* === TYPOGRAPHY === */
    --font-heading: "MedievalSharp", "Crimson Text", serif;
    --font-body: "Crimson Text", Georgia, serif;
    --font-mono: 'Consolas', 'Monaco', 'Courier New', monospace;

    /* Font Sizes */
    --fs-h1: 3rem;
    --fs-h2: 2rem;
    --fs-h3: 1.5rem;
    --fs-h4: 1.25rem;
    --fs-h5: 1.1rem;
    --fs-body: 1.1rem;
    --fs-small: 0.95rem;
    --fs-xs: 0.85rem;

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

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Shadows & Glows */
    --glow-primary: 0 0 20px rgba(212, 169, 79, 0.6);      /* Golden glow */
    --glow-secondary: 0 0 20px rgba(77, 217, 217, 0.5);    /* Cyan magical glow */
    --glow-accent: 0 0 15px rgba(139, 76, 139, 0.4);       /* Purple magic glow */

    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.6);
}

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

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

body {
    font-family: var(--font-body);
    font-size: var(--fs-body);
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-bg);
    background-image:
        radial-gradient(circle at 20% 50%, rgba(77, 217, 217, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(212, 169, 79, 0.05) 0%, transparent 50%);
}

/* #region ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: var(--space-md);
    color: var(--color-primary);
}

h1 {
    font-size: var(--fs-h1);
    text-shadow: 0 0 20px rgba(212, 169, 79, 0.6);
    border-bottom: 2px solid var(--color-primary);
    padding-bottom: var(--space-sm);
    margin-bottom: var(--space-lg);
}

h2 {
    font-size: var(--fs-h2);
    border-left: 4px solid var(--color-primary);
    padding-left: var(--space-md);
    margin-top: var(--space-xl);
}

h3 {
    font-size: var(--fs-h3);
    color: var(--color-accent-cyan);
}

h4 {
    font-size: var(--fs-h4);
    color: var(--color-text);
}

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

a {
    color: var(--color-primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--color-accent-cyan);
    border-bottom-color: var(--color-accent-cyan);
}

strong {
    color: var(--color-primary);
    font-weight: 700;
}

em {
    font-style: italic;
    color: var(--color-slate-light);
}

code {
    font-family: var(--font-mono);
    background: rgba(26, 61, 61, 0.5);
    padding: 0.2em 0.4em;
    border-radius: var(--radius-sm);
    font-size: 0.9em;
    border: 1px solid var(--color-slate-dark);
    color: var(--color-accent-cyan);
}

/* #region ===== LAYOUT ===== */
/* Main wrapper - accounts for fixed navigation */
main {
    /*padding-top: 100px;*/ /* Desktop default: nav height (~70px) + spacing */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-xl);
}

.container.with-sidebar {
    max-width: 100%;
    padding: var(--space-lg) var(--space-xl);
}

/* #region ===== CARDS (Glass Morphism) ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
}

/* Force 4 columns layout */
.card-grid.card-grid-4columns {
    grid-template-columns: repeat(4, 1fr);
}

.card {
    background: linear-gradient(135deg, #1a2e2e 0%, #16302e 50%, #0f342e 100%) padding-box,
                radial-gradient(circle at 10% 10%, #d4a94f, #b8933f) border-box;
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: 0 0 8px rgba(212, 169, 79, 0.4), 0 2px 10px rgba(0, 0, 0, 0.5);
    position: relative;
}

.card h3 {
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

/* Clickable card links */
.card-link {
    display: block;
    text-decoration: none;
    color: var(--color-text);
    transition: var(--transition-normal);
    cursor: pointer;
}

.card-link:hover {
    transform: translateY(-4px);
    animation: glow-pulse 2s ease-in-out infinite;
}

.card-link h3 {
    color: var(--color-primary);
}

.card-link:hover h3 {
    color: var(--color-accent-cyan);
}

.card-link:hover .btn-text {
    background: var(--color-slate-light);
}

.btn-text {
    display: inline-block;
    padding: calc(var(--space-xs) * 0.75) var(--space-sm);
    background: var(--color-slate-dark);
    color: var(--color-text);
    border-radius: calc(var(--space-xs) * 1.6); /* ~4px */
    font-family: var(--font-body);
    font-weight: 500;
    font-size: var(--fs-xs);
    margin-top: var(--space-sm);
    transition: background-color 0.2s;
}

/* Alternative glass styles */
.card.glass {
    background: rgba(26, 61, 61, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1.5px solid rgba(77, 217, 217, 0.3);
    border-radius: var(--radius-xl);
    box-shadow:
        0 10px 40px 0 rgba(0, 0, 0, 0.6),
        inset 0 0 30px rgba(77, 217, 217, 0.08),
        0 0 20px rgba(77, 217, 217, 0.2);
}

/* #region ===== INFO BOXES (Non-interactive information display) ===== */
/* Used for non-clickable informational content like tactical tips */
.info-box {
    background: rgba(26, 61, 61, 0.6);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
}

.info-box h3 {
    color: var(--color-primary);
    margin-bottom: var(--space-sm);
}

.info-box ul,
.info-box ol {
    padding-left: var(--space-xl);
}

/* Info-box modifiers for matchups */
.info-box.strong {
    border-left: 3px solid var(--color-green-dark);
    background: #082108AA;
}

.info-box.strong h3 {
    color: var(--color-green-dark);
}

.info-box.strong ul {
    padding-left: var(--space-xl);
}

.info-box.strong li::marker {
    color: var(--color-primary);
}

.info-box.weak {
    border-left: 3px solid var(--color-red);
    background: #2d0808AA;
}

.info-box.weak h3 {
    color: var(--color-red);
}

.info-box.weak ul {
    padding-left: var(--space-xl);
}

.info-box.weak li::marker {
    color: var(--color-primary);
}

/* Grid layout for info boxes */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
}

/* Two-column grid for matchups */
.info-grid.matchups {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    margin-top: var(--space-lg);
}

/* #region ===== BADGES ===== */
.badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: var(--fs-small);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
}

.badge-buff {
    background: linear-gradient(135deg, #16a34a, #14532d);
    color: white;
}

.badge-debuff {
    background: linear-gradient(135deg, #ef4444, #991b1b);
    color: white;
}

.badge-systemic {
    background: linear-gradient(135deg, #d4a94f, #b8933f);
    color: var(--color-darker-bg);
}

.badge-tank {
    background: linear-gradient(135deg, #64748b, #334155);
    color: white;
}

.badge-dps {
    background: linear-gradient(135deg, #dc2626, #7f1d1d);
    color: white;
}

.badge-support {
    background: linear-gradient(135deg, #16a34a, #14532d);
    color: white;
}

.badge-control {
    background: linear-gradient(135deg, #8b4c8b, #5a2f5a);
    color: white;
}

/* #region ===== TAGS (Small Pills) ===== */
/* Reusable tag system for small metadata labels */
.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-top: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.tag {
    display: inline-block;
    vertical-align: super;
    padding: calc(var(--space-xs) / 2) var(--space-sm);
    background: rgba(77, 217, 217, 0.15);
    border: 1px solid rgba(77, 217, 217, 0.3);
    border-radius: 12px;
    font-size: var(--fs-xs);
    color: var(--color-slate-light);
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.3px;
    transition: var(--transition-fast);
}

.tag:hover {
    background: rgba(77, 217, 217, 0.25);
    border-color: rgba(77, 217, 217, 0.5);
}

/* #region ===== HERO CARDS ===== */
/* Hero display cards for overview pages */
.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--space-lg);
    margin: var(--space-xl) 0;
}

.hero-card {
    position: relative;
    background: rgba(26, 61, 61, 0.5);
    border: 2px solid rgba(77, 217, 217, 0.2);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    transition: var(--transition-normal);
}

.hero-card:hover {
    border-color: var(--color-accent-cyan);
    box-shadow: 0 0 20px rgba(77, 217, 217, 0.4);
}

.hero-card-header {
    margin-bottom: var(--space-md);
}

.hero-name {
    color: var(--color-primary);
    font-size: var(--fs-h2);
    margin-bottom: var(--space-md);
    font-weight: 800;
    letter-spacing: 0.5px;
}

.hero-status-ribbon {
    position: absolute;
    top: -2px;
    right: -2px;
    background: linear-gradient(135deg, #9b4d96 0%, #6b3470 100%);
    color: white;
    padding: var(--space-xs) var(--space-md);
    font-size: var(--fs-xs);
    font-weight: 700;
    border-radius: 0 var(--radius-md) 0 var(--radius-md);
    letter-spacing: 0.5px;
}

.hero-title-badge {
    display: inline-flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    background: linear-gradient(135deg, rgba(77, 217, 217, 0.2) 0%, rgba(217, 179, 77, 0.15) 100%);
    border-left: 4px solid var(--color-primary);
    border-right: 4px solid var(--color-accent-cyan);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-sm);
    font-size: var(--fs-h5);
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-title-badge-icon {
    width: 24px;
    height: 24px;
    padding: var(--space-xs);
    background: rgba(77, 217, 217, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-description {
    color: var(--color-slate-light);
    font-size: var(--fs-small);
    line-height: 1.6;
    margin-top: var(--space-md);
}

.hero-price {
    margin-top: var(--space-md);
    padding: var(--space-sm);
    background: rgba(217, 179, 77, 0.2);
    border-radius: var(--radius-sm);
    text-align: center;
    color: var(--color-primary);
    font-weight: 600;
}

/* #region ===== STATS TABLE ===== */
.stats-table {
    width: 100%;
    border-collapse: collapse;
    margin: var(--space-lg) 0;
    background: rgba(13, 26, 26, 0.8);
    border: 2px solid var(--color-slate-dark);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.stats-table table {
    width: 100%;
    border-collapse: collapse;
}

.stats-table th,
.stats-table td {
    padding: var(--space-md);
    text-align: left;
    border-bottom: 1px solid var(--color-slate-dark);
}

.stats-table th {
    background: linear-gradient(135deg, #1a2e2e, #16302e);
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stats-table tr:hover {
    background: rgba(26, 61, 61, 0.3);
}

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

/* #region ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    background: linear-gradient(135deg, #d4a94f, #b8933f);
    color: var(--color-darker-bg);
    border: 2px solid var(--color-primary);
    border-radius: var(--radius-md);
    font-family: var(--font-heading);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-normal);
    box-shadow: 0 0 8px rgba(212, 169, 79, 0.4);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(212, 169, 79, 0.8);
    background: linear-gradient(135deg, #e6c470, #d4a94f);
    color: var(--color-darker-bg);
    border-bottom: 2px solid var(--color-primary);
}

/* #region ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

.text-muted {
    color: var(--color-slate-light);
}

.mb-lg {
    margin-bottom: var(--space-lg);
}

.mt-lg {
    margin-top: var(--space-lg);
}

/* Timeline/Step Components */
.timeline-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin: var(--space-lg) 0;
}

.timeline-step {
    background: rgba(212, 169, 79, 0.2);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-primary);
    font-weight: 700;
    color: var(--color-primary);
}

.timeline-step.step-2 {
    background: rgba(77, 217, 217, 0.2);
    border-left-color: var(--color-accent-cyan);
    color: var(--color-accent-cyan);
}

.timeline-arrow {
    color: var(--color-accent-cyan);
}

.step-box {
    background: rgba(0, 0, 0, 0.3);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    border: 1px solid rgba(212, 169, 79, 0.3);
}

.step-box.step-2 {
    border-color: rgba(77, 217, 217, 0.3);
}

.step-box h4 {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    color: var(--color-primary);
}

.step-box.step-2 h4 {
    color: var(--color-accent-cyan);
}

.step-badge {
    background: var(--color-primary);
    color: var(--color-darker-bg);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
}

.step-badge.badge-2 {
    background: var(--color-accent-cyan);
}

/* #region ===== HEADER & NAVIGATION ===== */
header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

/* Hero Logo (index page) */
.hero-logo {
    width: 100%;
    max-width: 400px;
    height: auto;
    margin-bottom: var(--space-sm);
    filter: drop-shadow(0 0 20px rgba(212, 169, 79, 0.6));
}

nav {
    background: rgba(26, 61, 61, 0.5);
    border-left: 4px solid var(--color-primary);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-bottom: var(--space-lg);
}

nav a {
    color: var(--color-text);
    margin: 0 var(--space-sm);
}

nav a:hover {
    color: var(--color-accent-cyan);
}

/* #region ===== FOOTER ===== */
footer {
    text-align: center;
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 2px solid var(--color-primary);
    color: var(--color-slate-light);
}

footer a {
    color: var(--color-primary);
}

/* #region ===== SPECIAL SECTIONS ===== */
.intro {
    text-align: center;
    margin-bottom: var(--space-2xl);
    font-size: 1.2rem;
}

section {
    margin-bottom: var(--space-3xl);
}

/* ========== TIMELINE (Turn Structure) ========== */
.timeline {
    position: relative;
    padding-left: 50px;
}

/* Vertical connecting line */
.timeline::before {
    content: '';
    position: absolute;
    left: 18px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(
        to bottom,
        var(--color-primary) 0%,
        var(--gold) 50%,
        var(--burgundy) 100%
    );
    border-radius: 3px;
}

.timeline-item {
    position: relative;
    padding-bottom: var(--space-xl);
}

.timeline-item:last-child {
    padding-bottom: 0;
}

/* Timeline dot/marker */
.timeline-marker {
    position: absolute;
    left: -50px;
    top: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    z-index: 1;
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 0 3px var(--color-primary);
}

.timeline-content {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    border-left: 4px solid var(--color-primary);
}

.timeline-content h3 {
    margin: 0 0 var(--space-sm) 0;
    color: var(--text-primary);
    font-size: var(--fs-h4);
}

.timeline-content p {
    margin-bottom: var(--space-sm);
    color: var(--text-secondary);
}

.timeline-content ul {
    margin: var(--space-sm) 0;
    padding-left: var(--space-lg);
}

.timeline-content li {
    margin-bottom: var(--space-xs);
    color: var(--text-secondary);
}

.timeline-note {
    font-size: var(--fs-small);
    color: var(--text-muted);
    font-style: italic;
    margin-top: var(--space-md);
    padding-top: var(--space-sm);
    border-top: 1px solid var(--color-slate-dark);
}

/* Phase-specific colors */
.timeline-item.phase-planning .timeline-marker {
    background: var(--color-primary);
    color: var(--bg-primary);
    box-shadow: 0 0 0 3px var(--color-primary);
}
.timeline-item.phase-planning .timeline-content {
    border-left-color: var(--color-primary);
}

.timeline-item.phase-resolution .timeline-marker {
    background: var(--gold);
    color: var(--bg-primary);
    box-shadow: 0 0 0 3px var(--gold);
}
.timeline-item.phase-resolution .timeline-content {
    border-left-color: var(--gold);
}

.timeline-item.phase-end .timeline-marker {
    background: var(--burgundy);
    color: var(--text-primary);
    box-shadow: 0 0 0 3px var(--burgundy);
}
.timeline-item.phase-end .timeline-content {
    border-left-color: var(--burgundy);
}

/* #region ===== RESPONSIVE ===== */
/* ========== MICRO DEVICES (≤480px) ========== */
@media (max-width: 480px) {
    :root {
        --fs-h1: 2rem;
        --fs-h2: 1.5rem;
        --fs-h3: 1.25rem;
        --fs-h4: 1.1rem;
        --fs-body: 0.95rem;
        --fs-small: 0.85rem;
    }

    /* Main wrapper - smaller padding for mobile nav */
    main {
        padding-top: 0px; /* Mobile nav height + spacing */
    }

    .container {
        padding: var(--space-md);
    }

    /* Hero logo responsive sizing */
    .hero-logo {
        max-width: min(70vw, 250px);
    }

    .card-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .card-grid.card-grid-4columns {
        grid-template-columns: 1fr;
    }

    .info-grid,
    .info-grid.matchups {
        grid-template-columns: 1fr;
    }

    /* Responsive tables: Horizontal scroll (only for tables NOT using card layout) */
    .stats-table:not(.table--cards) {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        display: block;
    }

    .stats-table:not(.table--cards) table {
        min-width: 100%;
        table-layout: fixed;
    }

    /* Column widths (only for scroll mode, not card mode) */
    .stats-table:not(.table--cards) th:nth-child(1),
    .stats-table:not(.table--cards) td:nth-child(1) {
        width: 25%;
    }

    .stats-table:not(.table--cards) th:nth-child(2),
    .stats-table:not(.table--cards) td:nth-child(2) {
        width: 15%;
        text-align: center;
        white-space: nowrap;
    }

    .stats-table:not(.table--cards) th:nth-child(3),
    .stats-table:not(.table--cards) td:nth-child(3) {
        width: 60%;
    }

    .stats-table:not(.table--cards) th,
    .stats-table:not(.table--cards) td {
        padding: var(--space-sm);
        font-size: var(--fs-small);
    }

}

/* ========== MOBILE/TABLET (481px-768px) ========== */
@media (min-width: 481px) and (max-width: 768px) {
    :root {
        --fs-h1: 2.5rem;
        --fs-h2: 1.75rem;
        --fs-h3: 1.35rem;
        --fs-body: 1rem;
    }

    /* Main wrapper - medium padding for tablet nav */
    main {
        padding-top: 90px; /* Tablet nav height + spacing */
    }

    .container {
        padding: var(--space-md);
    }

    /* Hero logo responsive sizing */
    .hero-logo {
        max-width: min(60vw, 350px);
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .card-grid.card-grid-4columns {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-grid,
    .info-grid.matchups {
        grid-template-columns: 1fr;
    }

    /* Responsive tables: Horizontal scroll (only for tables NOT using card layout) */
    .stats-table:not(.table--cards) {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        display: block;
    }

    .stats-table:not(.table--cards) table {
        table-layout: fixed;
    }

    /* Column widths (only for scroll mode, not card mode) */
    .stats-table:not(.table--cards) th:nth-child(1),
    .stats-table:not(.table--cards) td:nth-child(1) {
        width: 22%;
    }

    .stats-table:not(.table--cards) th:nth-child(2),
    .stats-table:not(.table--cards) td:nth-child(2) {
        width: 12%;
        text-align: center;
        white-space: nowrap;
    }

    .stats-table:not(.table--cards) th:nth-child(3),
    .stats-table:not(.table--cards) td:nth-child(3) {
        width: 66%;
    }

    .stats-table:not(.table--cards) th,
    .stats-table:not(.table--cards) td {
        padding: var(--space-sm) var(--space-md);
    }
}

/* #region ===== ANIMATIONS ===== */
/* Glow pulse animation for card links */
@keyframes glow-pulse {
    0%, 100% {
        box-shadow: 0 0 15px rgba(77, 217, 217, 0.4), 0 8px 20px rgba(0, 0, 0, 0.6);
        border-color: rgba(77, 217, 217, 0.6);
    }
    50% {
        box-shadow: 0 0 30px rgba(77, 217, 217, 0.8), 0 8px 25px rgba(0, 0, 0, 0.7);
        border-color: rgba(77, 217, 217, 1);
    }
}

/* Only animate interactive elements */
