/* ==========================================================================
   StarCraft Minecraft Landing Page - Modern Dark Glassmorphism Styling
   ========================================================================== */

:root {
    /* Color Palette - Obsidian Stealth (Cybernetic Minimalism) */
    --bg-dark: #0B0F19;
    --bg-card: rgba(17, 24, 39, 0.85);
    --bg-card-hover: rgba(24, 33, 53, 0.95);
    --bg-alt: #0F172A;
    
    --primary: #A8FF78;
    --primary-hover: #92ee5f;
    --primary-glow: rgba(168, 255, 120, 0.35);
    
    --accent-cyan: #78FFD6;
    --accent-emerald: #22C55E;
    --accent-gold: #FBBF24;
    --accent-pink: #EF4444;
    --accent-info: #38BDF8;

    --text-main: #F8FAFC;
    --text-muted: #94A3B8;
    --text-dim: #64748B;
    
    --border-color: #1E293B;
    --border-glow: rgba(168, 255, 120, 0.3);

    /* Fonts & Radii */
    --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Particle Canvas Background */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 0;
    opacity: 0.7;
}

/* Typography & Utility Classes */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: #fff;
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.container.narrow {
    max-width: 860px;
}

.section-padding {
    padding: 100px 0;
}

.bg-alt {
    background-color: var(--bg-alt);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header {
    margin-bottom: 54px;
}

.section-header.center {
    text-align: center;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(168, 255, 120, 0.1);
    border: 1px solid rgba(168, 255, 120, 0.25);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    border-radius: var(--radius-full);
    margin-bottom: 14px;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 14px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Navigation Bar - Ultra-Modern Glassmorphic Header */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 74px;
    background: rgba(14, 13, 16, 0.82);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 1px;
    white-space: nowrap;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    font-size: 1.65rem;
    color: var(--primary);
    filter: drop-shadow(0 0 12px var(--primary-glow));
    transition: transform 0.3s ease;
}

.logo:hover .logo-icon {
    transform: rotate(15deg) scale(1.1);
}

.logo-text {
    color: var(--text-main);
}

.logo-text .highlight {
    color: var(--accent-cyan);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.03);
    padding: 5px 8px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(8px);
}

.nav-link {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.88rem;
    padding: 8px 14px;
    border-radius: var(--radius-full);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
    text-decoration: none;
    border: 1px solid transparent;
}

.nav-link i {
    font-size: 0.85rem;
    opacity: 0.8;
    transition: transform 0.2s ease;
}

.nav-link:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-1px);
}

.nav-link:hover i {
    transform: scale(1.15);
}

.nav-link.active {
    color: var(--text-main);
    background: rgba(139, 92, 246, 0.18);
    border-color: var(--primary);
    box-shadow: 0 0 16px var(--primary-glow);
    font-weight: 600;
}

/* Highly Prominent Glowing Leaderboard Nav Button */
.nav-link.nav-leaderboard-btn {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.18) 0%, rgba(217, 119, 6, 0.12) 100%) !important;
    border: 1px solid rgba(234, 179, 8, 0.55) !important;
    color: #facc15 !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    box-shadow: 0 0 12px rgba(234, 179, 8, 0.25);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link.nav-leaderboard-btn:hover {
    background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%) !important;
    color: #000 !important;
    border-color: #facc15 !important;
    box-shadow: 0 0 24px rgba(234, 179, 8, 0.7);
    transform: translateY(-2px) scale(1.04);
}

.nav-link.nav-leaderboard-btn i {
    color: inherit;
    filter: drop-shadow(0 0 4px currentColor);
}

/* Navigation Dropdown Menu for Grouped Items */
.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-dropdown-trigger {
    background: transparent;
    cursor: pointer;
    font-family: inherit;
}

.dropdown-arrow {
    font-size: 0.72rem !important;
    transition: transform 0.25s ease;
    margin-left: 2px;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(18, 18, 26, 0.96);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 8px;
    min-width: 180px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

[data-theme="coffee"] .nav-dropdown-menu {
    background: rgba(43, 30, 22, 0.96);
    border-color: rgba(212, 163, 115, 0.3);
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(6px);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(4px);
}

.dropdown-item i {
    width: 16px;
    text-align: center;
    color: var(--primary);
    font-size: 0.85rem;
}

@media (max-width: 1024px) {
    .nav-dropdown {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }
    .nav-dropdown-trigger {
        width: 100%;
        justify-content: space-between;
    }
    .nav-dropdown-menu {
        position: static;
        transform: none !important;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.06);
        width: 100%;
        padding: 6px;
        margin-top: 4px;
    }
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.server-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    white-space: nowrap;
    backdrop-filter: blur(8px);
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-indicator.online {
    background-color: var(--accent-emerald);
    box-shadow: 0 0 10px var(--accent-emerald);
    animation: status-pulse 2s infinite;
}

@keyframes status-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.status-text {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--text-main);
    white-space: nowrap;
}

.theme-toggle-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.05rem;
    transition: var(--transition);
    backdrop-filter: blur(8px);
    flex-shrink: 0;
}

.theme-toggle-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 0 16px var(--primary-glow);
    transform: rotate(20deg) scale(1.08);
}

.mobile-menu-btn {
    display: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    width: 38px;
    height: 38px;
    color: var(--text-main);
    font-size: 1.2rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: #0B0F19 !important;
    font-weight: 700;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(168, 255, 120, 0.55);
    color: #0B0F19 !important;
}

.btn-glow {
    position: relative;
}

.btn-glow::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, var(--primary), var(--accent-cyan));
    border-radius: var(--radius-md);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
}

.btn-glow:hover::after {
    opacity: 0.7;
    filter: blur(8px);
}

.btn-secondary {
    background: #1E293B;
    border: 1px solid #334155;
    color: #F8FAFC;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(51, 65, 85, 0.8);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    width: 100%;
}

.btn-outline:hover {
    background: var(--primary);
    color: #0B0F19 !important;
    font-weight: 700;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.full-width {
    width: 100%;
}

/* Hero Section */
.hero-section {
    padding-top: 180px;
    padding-bottom: 100px;
    text-align: center;
    position: relative;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(168, 255, 120, 0.1);
    border: 1px solid rgba(168, 255, 120, 0.25);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    letter-spacing: -1px;
    margin-bottom: 24px;
    font-weight: 900;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 720px;
    margin: 0 auto 40px auto;
}

/* IP Copy Widget */
.ip-widget-box {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 10px 12px 10px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-full);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    margin-bottom: 36px;
}

.ip-address-display {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
}

.ip-icon {
    color: var(--accent-cyan);
}

.copy-ip-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: var(--primary);
    border: none;
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
}

.copy-ip-btn:hover {
    background: var(--primary-hover);
    transform: scale(1.03);
}

.hero-cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 70px;
}

/* Quick Stats Grid */
.quick-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: 20px;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.stat-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
}

.stat-icon {
    font-size: 2.2rem;
    color: var(--primary);
    background: rgba(139, 92, 246, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
}

.stat-info h3 {
    font-size: 1.5rem;
    margin-bottom: 2px;
}

.stat-info p {
    color: var(--text-muted);
    font-size: 0.88rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    backdrop-filter: blur(12px);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glow);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
}

.feature-icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-md);
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid rgba(139, 92, 246, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 22px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 20px var(--primary-glow);
}

.feature-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.feature-perks {
    list-style: none;
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
}

.feature-perks li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-main);
    margin-bottom: 8px;
}

.feature-perks li i {
    color: var(--accent-emerald);
    font-size: 0.85rem;
}

/* Mechanics Showcase Grid */
.mechanics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.mechanic-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px;
    backdrop-filter: blur(12px);
    transition: var(--transition);
}

.mechanic-box:hover {
    border-color: var(--border-glow);
    box-shadow: 0 16px 36px rgba(139, 92, 246, 0.12);
}

.mechanic-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.mechanic-header i {
    font-size: 2rem;
    color: var(--accent-cyan);
}

.mechanic-header h3 {
    font-size: 1.45rem;
}

.enchants-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.enchant-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    padding: 6px 12px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.enchant-tag.legendary {
    border-color: rgba(245, 158, 11, 0.5);
    background: rgba(245, 158, 11, 0.1);
    color: #fbbf24;
}

.enchant-tag.epic {
    border-color: rgba(139, 92, 246, 0.5);
    background: rgba(139, 92, 246, 0.1);
    color: #c084fc;
}

.enchant-tag.rare {
    border-color: rgba(6, 182, 212, 0.5);
    background: rgba(6, 182, 212, 0.1);
    color: #38bdf8;
}

.enchant-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Jobs Progress Showcase */
.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 20px;
}

.job-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px 20px;
}

.job-item-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.job-name {
    font-weight: 700;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.job-max-lvl {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-emerald);
    background: rgba(16, 185, 129, 0.12);
    padding: 3px 10px;
    border-radius: var(--radius-full);
}

.job-bar-container {
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 8px;
}

.job-bar-fill {
    height: 100%;
    border-radius: var(--radius-full);
    background: linear-gradient(90deg, var(--primary), var(--accent-cyan));
}

.job-desc {
    font-size: 0.84rem;
    color: var(--text-muted);
}

/* Comparison Table Section */
.comparison-container {
    overflow-x: auto;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.comparison-table th {
    padding: 22px 24px;
    font-size: 1.05rem;
    font-weight: 700;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-main);
}

.comparison-table th.starcraft-col {
    background: rgba(139, 92, 246, 0.15);
    color: #c084fc;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.comparison-table td {
    padding: 18px 24px;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table td.starcraft-col {
    background: rgba(139, 92, 246, 0.08);
    color: var(--text-main);
    font-weight: 600;
}

.table-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.table-status.good {
    color: var(--accent-emerald);
}

.table-status.bad {
    color: #ef4444;
}

/* Game Modes Grid */
.modes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.mode-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: var(--transition);
}

.mode-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glow);
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
}

.mode-image-wrapper {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.mode-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mode-card:hover .mode-image-wrapper img {
    transform: scale(1.08);
}

.mode-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.mode-badge.pvp {
    background: rgba(239, 68, 68, 0.8);
    color: #fff;
}

.mode-badge.pve {
    background: rgba(16, 185, 129, 0.8);
    color: #fff;
}

.mode-badge.minigames {
    background: rgba(245, 158, 11, 0.8);
    color: #fff;
}

.mode-content {
    padding: 28px;
}

.mode-content h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mode-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.mode-features {
    list-style: none;
    margin-bottom: 24px;
}

.mode-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-main);
    margin-bottom: 8px;
}

.mode-features li i {
    color: var(--accent-emerald);
}

/* Ranks & Store Section */
.ranks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: flex-start;
}

.rank-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    backdrop-filter: blur(12px);
    transition: var(--transition);
    position: relative;
}

.rank-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-glow);
}

.rank-card.featured {
    border-color: var(--primary);
    background: rgba(26, 20, 45, 0.85);
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.25);
    transform: scale(1.04);
}

.rank-card.featured:hover {
    transform: scale(1.04) translateY(-6px);
}

.featured-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--accent-cyan));
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 16px;
    border-radius: var(--radius-full);
    letter-spacing: 1px;
}

.rank-header {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.rank-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.rank-header.vip .rank-icon { color: #3b82f6; }
.rank-header.premium .rank-icon { color: var(--primary); }
.rank-header.hero-rank .rank-icon { color: var(--accent-gold); }
.rank-header.legend .rank-icon { color: var(--accent-pink); }

.rank-header h3 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.price {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
}

.price span {
    font-size: 1.2rem;
    color: var(--text-muted);
}

.rank-features {
    list-style: none;
    margin-bottom: 28px;
}

.rank-features li {
    font-size: 0.9rem;
    color: var(--text-main);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.rank-features li i.fa-check {
    color: var(--accent-emerald);
}

.rank-features li.disabled {
    color: var(--text-dim);
    text-decoration: line-through;
}

.rank-features li.disabled i {
    color: var(--text-dim);
}

/* Rules Section */
.rules-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.rule-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 28px;
    border-radius: var(--radius-lg);
    display: flex;
    gap: 20px;
    backdrop-filter: blur(10px);
}

.rule-num {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
    background: rgba(139, 92, 246, 0.1);
    padding: 10px 16px;
    border-radius: var(--radius-md);
    height: fit-content;
}

.rule-content h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.rule-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ==========================================================================
   Leaderboards & Hall of Fame Styling
   ========================================================================== */
.leaderboard-tabs-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.leaderboard-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    background: var(--bg-card);
    padding: 6px 10px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
}

.leaderboard-tab-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.leaderboard-tab-btn:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
}

.leaderboard-tab-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 18px var(--primary-glow);
}

.leaderboard-panel {
    display: none;
    animation: fadeInTab 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.leaderboard-panel.active {
    display: block;
}

@keyframes fadeInTab {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Podium Top 3 */
.podium-container {
    display: grid;
    grid-template-columns: 1fr 1.15fr 1fr;
    gap: 20px;
    align-items: flex-end;
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.podium-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px 20px 0 20px;
    text-align: center;
    position: relative;
    backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
}

.podium-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-glow);
}

.podium-card.place-1 {
    background: linear-gradient(180deg, rgba(234, 179, 8, 0.08) 0%, var(--bg-card) 100%);
    border-color: rgba(234, 179, 8, 0.4);
    box-shadow: 0 0 30px rgba(234, 179, 8, 0.15);
    z-index: 2;
}

.podium-crown {
    position: absolute;
    top: -24px;
    font-size: 2rem;
    color: #facc15;
    filter: drop-shadow(0 0 12px #facc15);
    animation: crownFloat 2.5s ease-in-out infinite alternate;
}

@keyframes crownFloat {
    from { transform: translateY(0) rotate(-4deg); }
    to { transform: translateY(-6px) rotate(4deg); }
}

.podium-medal {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 14px;
}

.podium-medal.gold {
    background: rgba(234, 179, 8, 0.2);
    color: #facc15;
    border: 1px solid rgba(234, 179, 8, 0.5);
}

.podium-medal.silver {
    background: rgba(148, 163, 184, 0.2);
    color: #cbd5e1;
    border: 1px solid rgba(148, 163, 184, 0.5);
}

.podium-medal.bronze {
    background: rgba(217, 119, 6, 0.2);
    color: #fb923c;
    border: 1px solid rgba(217, 119, 6, 0.5);
}

.podium-avatar-wrapper {
    margin-bottom: 12px;
    position: relative;
}

.podium-avatar {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-sm);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--border-color);
}

.podium-avatar.champion {
    width: 80px;
    height: 80px;
    border-color: #facc15;
    box-shadow: 0 0 20px rgba(234, 179, 8, 0.4);
}

.podium-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-main);
}

.podium-name.champion-name {
    font-size: 1.35rem;
    color: #facc15;
}

.podium-title {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.podium-score {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--accent-cyan);
    margin-bottom: 18px;
}

[data-theme="coffee"] .podium-score {
    color: var(--primary);
}

.podium-score.champion-score {
    font-size: 1.35rem;
    color: #34d399;
}

.podium-pedestal {
    width: 100%;
    padding: 12px 0;
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 1px;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}

.p1-pedestal {
    background: linear-gradient(135deg, #eab308 0%, #ca8a04 100%);
    color: #000;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.p2-pedestal {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
    color: #000;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.p3-pedestal {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    color: #fff;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ranked List Table (Places 4-10) */
.leaderboard-table-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    max-width: 900px;
    margin: 0 auto;
    backdrop-filter: blur(12px);
}

.leaderboard-table-header {
    display: flex;
    align-items: center;
    padding: 10px 18px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-dim);
    letter-spacing: 1px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 8px;
}

.leaderboard-row {
    display: flex;
    align-items: center;
    padding: 12px 18px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.leaderboard-row:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateX(4px);
    border-color: var(--border-glow);
}

.rank-pos-col {
    width: 10%;
    text-align: center;
}

.rank-badge-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.player-col {
    width: 45%;
    display: flex;
    align-items: center;
    gap: 12px;
}

.player-mini-avatar {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.player-name-text {
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--text-main);
}

.title-col {
    width: 25%;
}

.player-rank-chip {
    font-size: 0.78rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.score-col {
    width: 20%;
    text-align: right;
    font-size: 0.98rem;
    color: var(--primary);
}

@media (max-width: 992px) {
    .auth-split-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .auth-perks-card {
        order: 2;
    }
    .auth-card {
        order: 1;
    }
}

@media (max-width: 768px) {
    .auth-perks-card {
        padding: 25px 20px;
    }
    .auth-card {
        padding: 30px 20px;
    }
    .podium-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .podium-card.place-1 {
        order: -1;
    }

    .leaderboard-table-header {
        display: none;
    }

    .leaderboard-row {
        flex-wrap: wrap;
        gap: 8px;
    }

    .player-col {
        width: 60%;
    }

    .score-col {
        width: auto;
        margin-left: auto;
    }

    .title-col {
        width: 100%;
        padding-left: 40px;
    }
}

/* Empty state card when category has no records yet */
.leaderboard-empty-card {
    background: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-lg);
    padding: 60px 30px;
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
    backdrop-filter: blur(12px);
}

.empty-icon {
    font-size: 3.2rem;
    color: var(--primary);
    margin-bottom: 18px;
    filter: drop-shadow(0 0 16px var(--primary-glow));
    animation: crownFloat 3s ease-in-out infinite alternate;
}

.empty-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-main);
}

.empty-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 480px;
    margin: 0 auto;
}

.podium-compact {
    display: flex !important;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
}

.podium-compact .podium-card {
    min-width: 260px;
    max-width: 320px;
}

/* Footer */
.footer {
    background: #06070a;
    border-top: 1px solid var(--border-color);
    padding-top: 60px;
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 40px;
}

.footer-brand p {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-top: 12px;
    max-width: 400px;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 6px 20px var(--primary-glow);
}

.footer-bottom {
    background: #040406;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--text-dim);
    font-size: 0.85rem;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-card {
    background: #11131c;
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-lg);
    padding: 40px;
    width: 100%;
    max-width: 460px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: #fff;
}

.modal-header h3 {
    font-size: 1.6rem;
    margin-bottom: 6px;
}

.modal-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
}

.price-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 24px 0;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    font-size: 1.1rem;
}

.price-summary strong {
    font-size: 1.5rem;
    color: var(--accent-cyan);
}

/* Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #10b981;
    color: #fff;
    padding: 14px 24px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 3000;
}

.toast-notification.show {
    transform: translateY(0);
    opacity: 1;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .modes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ranks-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rank-card.featured {
        transform: none;
    }
    
    .rank-card.featured:hover {
        transform: translateY(-6px);
    }

    .quick-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .navbar {
        height: 74px;
    }

    .nav-links {
        position: fixed;
        top: 74px;
        left: 0;
        width: 100%;
        max-height: calc(100vh - 74px);
        overflow-y: auto;
        background: var(--bg-dark);
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        gap: 8px;
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
        border-bottom: 2px solid var(--border-glow);
        transform: translateY(-150%);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.85);
        z-index: 1001;
    }

    [data-theme="coffee"] .nav-links {
        background: #14110F;
    }

    .nav-links.mobile-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-link {
        width: 100%;
        justify-content: flex-start;
        padding: 14px 20px;
        font-size: 1.02rem;
        background: rgba(255, 255, 255, 0.03);
        border-radius: var(--radius-md);
    }

    .nav-link i {
        width: 24px;
        text-align: center;
        font-size: 1.1rem;
    }

    .nav-link.active {
        background: rgba(212, 163, 115, 0.2);
        border-color: var(--primary);
    }

    :root:not([data-theme="coffee"]) .nav-link.active {
        background: rgba(139, 92, 246, 0.22);
    }

    .navbar {
        height: 74px;
    }

    .nav-container {
        padding: 0 20px !important;
        gap: 12px;
    }

    .nav-actions {
        gap: 10px;
        margin-left: auto;
    }

    .mobile-menu-btn {
        display: flex;
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
        align-items: center;
        justify-content: center;
        font-size: 1.45rem;
        background: rgba(255, 255, 255, 0.08);
        border: 1.5px solid var(--border-color);
        border-radius: var(--radius-md);
        color: var(--text-main);
        cursor: pointer;
        transition: var(--transition);
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
        flex-shrink: 0;
    }

    .mobile-menu-btn:hover, .mobile-menu-btn:active {
        background: var(--primary);
        color: #fff;
        border-color: var(--primary);
        box-shadow: 0 0 20px var(--primary-glow);
        transform: scale(1.05);
    }

    .theme-toggle-btn {
        width: 44px;
        height: 44px;
        font-size: 1.15rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 18px !important;
    }

    .logo {
        font-size: 1.25rem;
        gap: 8px;
    }

    .logo-icon {
        font-size: 1.45rem;
    }

    .server-status-pill {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    .hero-title {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .mechanics-grid {
        grid-template-columns: 1fr;
    }

    .modes-grid, .rules-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .ranks-grid {
        grid-template-columns: 1fr;
    }

    .ip-widget-box {
        flex-direction: column;
        width: 100%;
        border-radius: var(--radius-lg);
        padding: 20px;
    }

    .copy-ip-btn {
        width: 100%;
        justify-content: center;
    }

    .quick-stats-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }
}

/* ==========================================================================
   Guide & Knowledge Base Page Styling
   ========================================================================== */
.guide-header-section {
    padding: 140px 0 50px 0;
    text-align: center;
    position: relative;
}

.guide-search-wrapper {
    max-width: 600px;
    margin: 30px auto 0 auto;
    position: relative;
}

.guide-search-input {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 16px 24px 16px 54px;
    color: var(--text-main);
    font-size: 1.05rem;
    font-family: var(--font-main);
    outline: none;
    transition: var(--transition);
    backdrop-filter: blur(12px);
}

.guide-search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
}

.guide-search-icon {
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.2rem;
    pointer-events: none;
}

.guide-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 36px 0 20px 0;
}

@media (max-width: 768px) {
    .guide-tabs, .enchant-subfilters {
        justify-content: flex-start !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        padding: 4px 10px 14px 10px !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }
    .guide-tabs::-webkit-scrollbar, .enchant-subfilters::-webkit-scrollbar {
        display: none !important;
    }
    .guide-tab-btn, .enchant-subfilter-btn {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }
}

.guide-tab-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(8px);
}

.guide-tab-btn:hover, .guide-tab-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 16px var(--primary-glow);
    transform: translateY(-2px);
}

.guide-block {
    margin-bottom: 60px;
}

.guide-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 36px;
    backdrop-filter: blur(12px);
    transition: var(--transition);
    margin-bottom: 28px;
}

.guide-card:hover {
    border-color: var(--border-glow);
}

.guide-card-title {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    color: var(--text-main);
}

.guide-card-title i {
    color: var(--primary);
}

/* Guide Illustration Box */
.guide-illustration-box {
    margin: 24px 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
    background: var(--bg-card);
    transition: var(--transition);
}

.guide-illustration-box:hover {
    border-color: var(--border-glow);
}

.guide-illustration-box img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.guide-illustration-box:hover img {
    transform: scale(1.015);
}

.guide-illustration-caption {
    padding: 12px 20px;
    font-size: 0.88rem;
    color: var(--text-muted);
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.guide-illustration-caption i {
    color: var(--accent-cyan);
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 24px;
}

.step-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    position: relative;
}

.step-number {
    position: absolute;
    top: -14px;
    left: 20px;
    background: var(--primary);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 0 12px var(--primary-glow);
}

.step-card h4 {
    margin-top: 10px;
    margin-bottom: 8px;
    font-size: 1.15rem;
}

.step-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

/* Enchantments Encyclopedia Grid */
.enchants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.enchant-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.enchant-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-glow);
    background: rgba(255, 255, 255, 0.05);
}

.enchant-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.enchant-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
}

.enchant-rarity {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.5px;
}

.enchant-rarity.legendary {
    background: rgba(245, 158, 11, 0.15);
    color: #fbbf24;
    border: 1px solid rgba(245, 158, 11, 0.4);
}

.enchant-rarity.epic {
    background: rgba(139, 92, 246, 0.15);
    color: #c084fc;
    border: 1px solid rgba(139, 92, 246, 0.4);
}

.enchant-rarity.rare {
    background: rgba(6, 182, 212, 0.15);
    color: #38bdf8;
    border: 1px solid rgba(6, 182, 212, 0.4);
}

.enchant-rarity.uncommon {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.enchant-rarity.common {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.enchant-subfilters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0 10px 0;
}

.enchant-subfilter-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.84rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.enchant-subfilter-btn:hover, .enchant-subfilter-btn.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 2px 10px var(--primary-glow);
}

.enchant-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 14px;
    flex-grow: 1;
}

.enchant-target {
    font-size: 0.8rem;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 10px;
}

.enchant-target i {
    color: var(--accent-cyan);
}

/* Commands Table & Copy */
.commands-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.command-row {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: var(--transition);
}

.command-row:hover {
    border-color: var(--border-glow);
    background: rgba(255, 255, 255, 0.06);
}

.command-name {
    font-family: monospace;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.1);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(6, 182, 212, 0.25);
}

.command-info {
    font-size: 0.88rem;
    color: var(--text-muted);
    flex-grow: 1;
}

.command-copy-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    cursor: pointer;
    padding: 6px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.command-copy-btn:hover {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
    .steps-grid, .commands-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
/* Default Standard Pointer Cursor */
body, a, button, input, textarea, select {
    cursor: auto;
}
a, button, [role="button"], .btn, .copy-ip-btn, .modal-close {
    cursor: pointer !important;
}

/* ==========================================================================
   Bans Page - OBSIDIAN STEALTH (Cybernetic Minimalism)
   ========================================================================== */

.bans-page-wrapper {
    background-color: #0B0F19;
    min-height: 100vh;
    position: relative;
    z-index: 10;
    padding-top: 40px;
}

.bans-page-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 400px;
    background: radial-gradient(circle at 50% 10%, rgba(168, 255, 120, 0.06), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.bans-page-wrapper .section-tag {
    background: rgba(168, 255, 120, 0.1);
    border: 1px solid rgba(168, 255, 120, 0.25);
    color: #A8FF78;
    text-shadow: 0 0 10px rgba(168, 255, 120, 0.3);
}

.bans-page-wrapper .section-title {
    color: #F8FAFC;
    letter-spacing: -0.5px;
}

.bans-page-wrapper .section-desc {
    color: #94A3B8;
}

/* Stats Counter Grid */
.bans-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
    margin-bottom: 35px;
}

.bans-stat-card {
    background: #111827;
    border: 1px solid #1E293B;
    border-radius: var(--radius-md);
    padding: 22px 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.bans-stat-card:hover {
    transform: translateY(-3px);
    border-color: #334155;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

.bans-stat-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.ban-stat .bans-stat-icon {
    background: rgba(239, 68, 68, 0.12);
    color: #EF4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.mute-stat .bans-stat-icon {
    background: rgba(251, 191, 36, 0.12);
    color: #FBBF24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.warn-stat .bans-stat-icon {
    background: rgba(56, 189, 248, 0.12);
    color: #38BDF8;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.active-stat .bans-stat-icon {
    background: rgba(168, 255, 120, 0.12);
    color: #A8FF78;
    border: 1px solid rgba(168, 255, 120, 0.3);
    box-shadow: 0 0 15px rgba(168, 255, 120, 0.15);
}

.bans-stat-val {
    display: block;
    font-size: 1.85rem;
    font-weight: 800;
    color: #F8FAFC;
    line-height: 1.1;
    font-family: var(--font-heading);
}

.bans-stat-lbl {
    font-size: 0.85rem;
    color: #94A3B8;
    font-weight: 500;
}

/* Controls Bar (Search + Filter Tabs) */
.bans-controls-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 25px;
}

.bans-search-wrapper {
    position: relative;
    flex: 1;
    min-width: 280px;
    max-width: 460px;
}

.bans-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94A3B8;
    font-size: 0.95rem;
}

.bans-search-input {
    width: 100%;
    padding: 12px 18px 12px 44px;
    background: #111827;
    border: 1px solid #1E293B;
    border-radius: var(--radius-full);
    color: #F8FAFC;
    font-size: 0.92rem;
    outline: none;
    transition: all 0.25s ease;
}

.bans-search-input::placeholder {
    color: #64748B;
}

.bans-search-input:focus {
    border-color: #A8FF78;
    box-shadow: 0 0 16px rgba(168, 255, 120, 0.35);
    background: #0B0F19;
}

.bans-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bans-filter-btn {
    padding: 9px 16px;
    border-radius: var(--radius-full);
    background: #111827;
    border: 1px solid #1E293B;
    color: #94A3B8;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bans-filter-btn:hover {
    color: #F8FAFC;
    border-color: #334155;
    background: #1E293B;
}

.bans-filter-btn.active {
    background: #A8FF78;
    border-color: #A8FF78;
    color: #0B0F19;
    font-weight: 800;
    box-shadow: 0 0 18px rgba(168, 255, 120, 0.45);
}

.bans-filter-btn.active i {
    color: #0B0F19 !important;
}

/* Punishments Table Card */
.bans-table-card {
    background: #111827;
    border: 1px solid #1E293B;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    margin-bottom: 40px;
}

.bans-table-responsive {
    overflow-x: auto;
}

.bans-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.bans-table th {
    background: #0F172A;
    padding: 16px 20px;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #94A3B8;
    border-bottom: 1px solid #1E293B;
}

.bans-table td {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(30, 41, 59, 0.7);
    font-size: 0.92rem;
    vertical-align: middle;
}

.ban-row {
    transition: background-color 0.15s ease;
}

.ban-row:hover {
    background: rgba(30, 41, 59, 0.45);
}

/* Player Cell */
.ban-player-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ban-player-avatar {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    border: 1px solid #1E293B;
}

.ban-player-name {
    font-weight: 700;
    color: #F8FAFC;
    letter-spacing: 0.3px;
}

/* Punishment Type Badges */
.punishment-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.badge-ban {
    background: rgba(239, 68, 68, 0.15);
    color: #EF4444;
    border: 1px solid rgba(239, 68, 68, 0.35);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.15);
}

.badge-mute {
    background: rgba(251, 191, 36, 0.15);
    color: #FBBF24;
    border: 1px solid rgba(251, 191, 36, 0.35);
    box-shadow: 0 0 10px rgba(251, 191, 36, 0.15);
}

.badge-warn {
    background: rgba(56, 189, 248, 0.15);
    color: #38BDF8;
    border: 1px solid rgba(56, 189, 248, 0.35);
}

.badge-kick {
    background: rgba(120, 255, 214, 0.15);
    color: #78FFD6;
    border: 1px solid rgba(120, 255, 214, 0.35);
}

.badge-other {
    background: rgba(148, 163, 184, 0.15);
    color: #94A3B8;
}

.ban-reason {
    color: #F8FAFC;
    font-weight: 500;
    max-width: 280px;
    display: block;
    word-break: break-word;
}

.ban-date {
    color: #94A3B8;
    font-size: 0.88rem;
    font-family: monospace;
}

.ban-expire-cell {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ban-expire-date {
    font-size: 0.88rem;
    color: #F8FAFC;
    font-family: monospace;
}

.ban-expire-date.perm-text {
    color: #EF4444;
    font-weight: 800;
}

.ban-remain-tag {
    font-size: 0.75rem;
    color: #78FFD6;
    font-weight: 600;
}

/* Status Pills */
.ban-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
}

.status-active {
    background: rgba(239, 68, 68, 0.15);
    color: #EF4444;
    border: 1px solid rgba(239, 68, 68, 0.35);
}

.status-active i {
    animation: pulseRed 1.8s infinite;
}

@keyframes pulseRed {
    0% { opacity: 0.4; }
    50% { opacity: 1; }
    100% { opacity: 0.4; }
}

.status-expired {
    background: rgba(34, 197, 94, 0.15);
    color: #22C55E;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

/* Empty State */
.bans-empty-state {
    padding: 60px 20px;
    text-align: center;
}

.bans-empty-icon {
    font-size: 3.5rem;
    color: #22C55E;
    margin-bottom: 16px;
}

.bans-empty-state h3 {
    font-size: 1.4rem;
    margin-bottom: 8px;
    color: #F8FAFC;
}

.bans-empty-state p {
    color: #94A3B8;
    font-size: 0.95rem;
}

/* Appeal Banner */
.bans-appeal-banner {
    background: linear-gradient(135deg, #111827 0%, #0F172A 100%);
    border: 1px solid #1E293B;
    border-radius: var(--radius-lg);
    padding: 26px 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.appeal-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 280px;
}

.appeal-icon {
    font-size: 2.2rem;
    color: #A8FF78;
    flex-shrink: 0;
}

.appeal-text h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #F8FAFC;
    margin-bottom: 4px;
}

.appeal-text p {
    color: #94A3B8;
    font-size: 0.9rem;
    line-height: 1.5;
}

.bans-appeal-banner .btn-secondary {
    background: #1E293B;
    border: 1px solid #334155;
    color: #F8FAFC;
    transition: var(--transition);
}

.bans-appeal-banner .btn-secondary:hover {
    background: #A8FF78;
    border-color: #A8FF78;
    color: #0B0F19;
    box-shadow: 0 0 18px rgba(168, 255, 120, 0.4);
}

@media (max-width: 768px) {
    .bans-controls-bar {
        flex-direction: column;
        align-items: stretch;
    }
    .bans-search-wrapper {
        max-width: 100%;
    }
    .bans-appeal-banner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==========================================================================
   TOP PLAYERS & LEADERBOARD PORTAL STYLES (/top)
   ========================================================================== */

.top-page-wrapper {
    min-height: calc(100vh - 160px);
    position: relative;
    z-index: 10;
    padding-top: 40px;
}

/* Multi-Server Selector Bar */
.top-servers-selector-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 30px 0 10px;
    flex-wrap: wrap;
}

.servers-selector-label {
    font-weight: 700;
    color: var(--text-muted);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.servers-selector-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.server-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 0.92rem;
    font-weight: 700;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.server-chip:hover:not(.disabled) {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 0 16px var(--primary-glow);
}

.server-chip.active {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
    color: #fff;
}

.server-chip.disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.server-chip-status {
    font-size: 0.72rem;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.server-chip-status.online {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.4);
}

.server-chip-status.coming-soon {
    background: rgba(234, 179, 8, 0.2);
    color: #eab308;
    border: 1px solid rgba(234, 179, 8, 0.4);
}

/* Join Callout Banner */
.top-join-banner {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.12) 0%, rgba(139, 92, 246, 0.12) 100%);
    border: 1px solid rgba(234, 179, 8, 0.35);
    border-radius: var(--radius-lg);
    padding: 30px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 50px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.top-join-content {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 280px;
}

.top-join-icon {
    font-size: 2.6rem;
    color: #facc15;
    filter: drop-shadow(0 0 12px rgba(250, 204, 21, 0.5));
    flex-shrink: 0;
}

.top-join-text h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 6px;
}

.top-join-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .top-join-banner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ==========================================================================
   AUCTION HOUSE PORTAL STYLES (/auction) - AAA LEVEL AESTHETICS
   ========================================================================== */

.auction-page-wrapper {
    min-height: calc(100vh - 160px);
    position: relative;
    z-index: 10;
    padding-top: 40px;
}

/* Stat Cards Banner */
.auction-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 35px 0 30px;
}

.auction-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 22px 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    backdrop-filter: blur(14px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.auction-stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
}

.auction-stat-card.card-lots {
    border-color: rgba(234, 179, 8, 0.3);
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.08) 0%, rgba(0, 0, 0, 0.4) 100%);
}
.auction-stat-card.card-lots .auction-stat-icon {
    background: rgba(234, 179, 8, 0.2);
    color: #facc15;
    border-color: rgba(234, 179, 8, 0.4);
}

.auction-stat-card.card-sellers {
    border-color: rgba(56, 189, 248, 0.3);
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.08) 0%, rgba(0, 0, 0, 0.4) 100%);
}
.auction-stat-card.card-sellers .auction-stat-icon {
    background: rgba(56, 189, 248, 0.2);
    color: #38bdf8;
    border-color: rgba(56, 189, 248, 0.4);
}

.auction-stat-card.card-volume {
    border-color: rgba(52, 211, 153, 0.3);
    background: linear-gradient(135deg, rgba(52, 211, 153, 0.08) 0%, rgba(0, 0, 0, 0.4) 100%);
}
.auction-stat-card.card-volume .auction-stat-icon {
    background: rgba(52, 211, 153, 0.2);
    color: #34d399;
    border-color: rgba(52, 211, 153, 0.4);
}

.auction-stat-card.card-command {
    border-color: rgba(168, 85, 247, 0.35);
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1) 0%, rgba(0, 0, 0, 0.4) 100%);
    cursor: pointer;
}
.auction-stat-card.card-command .auction-stat-icon {
    background: rgba(168, 85, 247, 0.2);
    color: #c084fc;
    border-color: rgba(168, 85, 247, 0.4);
}
.auction-stat-card.card-command:hover {
    border-color: var(--primary);
    box-shadow: 0 0 24px var(--primary-glow);
}

.stat-card-badge {
    position: absolute;
    top: 14px;
    right: 16px;
    font-size: 0.65rem;
    font-weight: 900;
    letter-spacing: 0.5px;
    color: #10b981;
    background: rgba(16, 185, 129, 0.18);
    border: 1px solid rgba(16, 185, 129, 0.35);
    padding: 2px 7px;
    border-radius: var(--radius-full);
}

.copy-icon-hint {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: all 0.2s ease;
}
.auction-stat-card.card-command:hover .copy-icon-hint {
    color: #fff;
    transform: scale(1.2);
}

.auction-stat-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    border: 1px solid transparent;
}

.auction-stat-val {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.1;
    font-family: 'Outfit', sans-serif;
}

.auction-stat-val.code-val {
    font-family: 'Press Start 2P', monospace;
    font-size: 1.15rem;
    color: #c084fc;
}

.auction-stat-lbl {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Controls Bar */
.auction-controls-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 30px;
}

.auction-search-wrapper {
    position: relative;
    flex: 1;
    min-width: 240px;
    max-width: 380px;
}

.auction-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.95rem;
}

.auction-search-input {
    width: 100%;
    padding: 11px 18px 11px 44px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-main);
    font-size: 0.92rem;
    outline: none;
    transition: all 0.25s ease;
    backdrop-filter: blur(8px);
}

.auction-search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 16px var(--primary-glow);
    background: rgba(0, 0, 0, 0.4);
}

.auction-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.auction-filter-btn {
    padding: 8px 15px;
    border-radius: var(--radius-full);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    backdrop-filter: blur(8px);
}

.auction-filter-btn:hover {
    color: var(--text-main);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.auction-filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 16px var(--primary-glow);
}

.auction-filter-btn.btn-weapons:hover { border-color: #f87171; color: #f87171; }
.auction-filter-btn.btn-armor:hover { border-color: #60a5fa; color: #60a5fa; }
.auction-filter-btn.btn-tools:hover { border-color: #fbbf24; color: #fbbf24; }
.auction-filter-btn.btn-enchants:hover { border-color: #c084fc; color: #c084fc; }
.auction-filter-btn.btn-resources:hover { border-color: #34d399; color: #34d399; }

.auction-sort-select {
    padding: 10px 16px;
    border-radius: var(--radius-full);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    font-size: 0.88rem;
    font-weight: 600;
    outline: none;
    cursor: pointer;
    backdrop-filter: blur(8px);
}

.auction-sort-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 12px var(--primary-glow);
}

/* ==========================================================================
   AUCTION CARDS & RARITY GLOW SYSTEM
   ========================================================================== */

.auction-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 22px;
    margin-bottom: 45px;
}

.auction-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    backdrop-filter: blur(14px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.auction-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

/* Rarity Accents */
.auction-card.rarity-weapons {
    border-color: rgba(248, 113, 113, 0.35);
}
.auction-card.rarity-weapons:hover {
    border-color: #f87171;
    box-shadow: 0 12px 36px rgba(248, 113, 113, 0.35);
}

.auction-card.rarity-armor {
    border-color: rgba(96, 165, 250, 0.35);
}
.auction-card.rarity-armor:hover {
    border-color: #60a5fa;
    box-shadow: 0 12px 36px rgba(96, 165, 250, 0.35);
}

.auction-card.rarity-tools {
    border-color: rgba(251, 191, 36, 0.35);
}
.auction-card.rarity-tools:hover {
    border-color: #fbbf24;
    box-shadow: 0 12px 36px rgba(251, 191, 36, 0.35);
}

.auction-card.rarity-enchants {
    border-color: rgba(192, 132, 252, 0.4);
}
.auction-card.rarity-enchants:hover {
    border-color: #c084fc;
    box-shadow: 0 12px 36px rgba(192, 132, 252, 0.4);
}

.auction-card.rarity-resources {
    border-color: rgba(52, 211, 153, 0.35);
}
.auction-card.rarity-resources:hover {
    border-color: #34d399;
    box-shadow: 0 12px 36px rgba(52, 211, 153, 0.35);
}

.lot-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.lot-time {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.lot-count-badge {
    background: rgba(255, 255, 255, 0.12);
    padding: 3px 9px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* 3D Item Showcase Box with Glowing Halo */
.lot-icon-podium {
    width: 84px;
    height: 84px;
    margin: 8px auto 14px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(0, 0, 0, 0.4) 70%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.4), 0 6px 20px rgba(0, 0, 0, 0.3);
}

.lot-item-img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    image-rendering: pixelated;
    filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.7));
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 2;
}

.auction-card:hover .lot-item-img {
    transform: scale(1.22) rotate(6deg);
}

.lot-item-title {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: capitalize;
    letter-spacing: 0.3px;
}

/* Golden Price Pill */
.lot-price-pill {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.22) 0%, rgba(217, 119, 6, 0.15) 100%);
    border: 1px solid rgba(234, 179, 8, 0.45);
    color: #facc15;
    font-size: 1.1rem;
    font-weight: 800;
    padding: 9px 14px;
    border-radius: var(--radius-md);
    margin-bottom: 14px;
    box-shadow: 0 0 16px rgba(234, 179, 8, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.price-coin-icon {
    font-size: 1rem;
    color: #facc15;
    filter: drop-shadow(0 0 6px rgba(250, 204, 21, 0.6));
}

.lot-seller-box {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 14px;
}

.lot-seller-avatar {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.lot-seller-details {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.lot-seller-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.lot-seller-rank {
    font-size: 0.74rem;
    font-weight: 700;
}

.lot-buy-btn {
    width: 100%;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-main);
    font-size: 0.86rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.lot-buy-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 18px var(--primary-glow);
    transform: translateY(-2px);
}

/* Empty Card */
.auction-empty-card {
    background: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-lg);
    padding: 60px 20px;
    text-align: center;
    max-width: 620px;
    margin: 0 auto 40px;
    backdrop-filter: blur(12px);
}

.auction-empty-icon {
    font-size: 3.8rem;
    color: var(--primary);
    margin-bottom: 18px;
    animation: crownFloat 3s infinite alternate ease-in-out;
}

.auction-empty-card h3 {
    font-size: 1.45rem;
    margin-bottom: 8px;
    color: var(--text-main);
    font-weight: 800;
}

.auction-empty-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.auction-empty-card code {
    background: rgba(255, 255, 255, 0.1);
    padding: 3px 8px;
    border-radius: 4px;
    color: #facc15;
    font-family: monospace;
}

/* Interactive Guide Banner */
.auction-guide-banner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.guide-banner-col {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    backdrop-filter: blur(12px);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.guide-banner-col:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 28px var(--primary-glow);
    transform: translateY(-3px);
}

.guide-banner-icon {
    font-size: 2rem;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.guide-banner-text h4 {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 6px;
}

.guide-banner-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 8px;
}

.guide-banner-text code {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 7px;
    border-radius: 4px;
    color: #facc15;
    font-weight: 700;
}

.guide-click-copy {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: opacity 0.2s ease;
}

.guide-banner-col:hover .guide-click-copy {
    color: #fff;
}

/* ==========================================================================
   PLAYER PROFILE & 3D DOSSIER STYLES (/player)
   ========================================================================== */

.player-page-wrapper {
    min-height: calc(100vh - 160px);
    position: relative;
    z-index: 10;
    padding-top: 40px;
}

/* Search Box Container */
.player-search-box-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 35px 30px;
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.3);
    margin-bottom: 35px;
}

.player-search-form {
    max-width: 650px;
    margin: 0 auto 20px;
}

.player-search-input-group {
    display: flex;
    align-items: center;
    position: relative;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 4px 6px 4px 20px;
    transition: all 0.25s ease;
}

.player-search-input-group:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
}

.player-search-icon {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-right: 12px;
}

.player-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 500;
}

.player-search-btn {
    padding: 10px 22px;
    font-size: 0.92rem;
    flex-shrink: 0;
}

/* Quick Tags */
.player-quick-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.quick-tags-lbl {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

.quick-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.quick-player-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    color: var(--text-main);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.quick-player-chip:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 0 12px var(--primary-glow);
    color: #fff;
}

.quick-player-chip img {
    width: 18px;
    height: 18px;
    border-radius: 3px;
}

/* Player Dossier Main Grid */
.player-dossier-container {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 30px;
    align-items: stretch;
}

@media (max-width: 900px) {
    .player-dossier-container {
        grid-template-columns: 1fr;
    }
}

/* Left: 3D Skin Showcase Card */
.player-skin-showcase-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.3);
    min-height: 480px;
}

.skin-pedestal-glow {
    position: absolute;
    bottom: 30px;
    width: 220px;
    height: 80px;
    background: radial-gradient(ellipse at center, var(--rank-color, #8b5cf6) 0%, transparent 70%);
    opacity: 0.35;
    filter: blur(20px);
    pointer-events: none;
}

.player-skin-render-box {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    z-index: 2;
}

.player-skin-3d-img {
    height: 330px;
    width: auto;
    object-fit: contain;
    image-rendering: pixelated;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.7));
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: skinFloat 4s ease-in-out infinite alternate;
}

@keyframes skinFloat {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-10px); }
}

.player-skin-3d-img:hover {
    transform: scale(1.06) rotate(-2deg);
}

.player-skin-badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Right: Player Info Dossier Card */
.player-info-dossier-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 25px;
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.3);
}

.dossier-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.dossier-avatar-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

.dossier-avatar {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.dossier-player-name {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-main);
    line-height: 1.1;
    margin-bottom: 4px;
}

.dossier-rank-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 800;
    border: 1px solid;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dossier-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
}

.dossier-status-pill.online {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.35);
}

.dossier-status-pill.offline {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.dossier-status-pill .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 8px currentColor;
}

/* 4 Metric Boxes */
.dossier-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.dossier-stat-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.25s ease;
}

.dossier-stat-box:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
}

.dossier-stat-box .stat-box-icon {
    font-size: 1.6rem;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.box-balance .stat-box-icon { background: rgba(234, 179, 8, 0.15); color: #facc15; }
.box-playtime .stat-box-icon { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
.box-firstjoin .stat-box-icon { background: rgba(168, 85, 247, 0.15); color: #c084fc; }
.box-lastseen .stat-box-icon { background: rgba(52, 211, 153, 0.15); color: #34d399; }

.stat-box-val {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1.2;
}

.stat-box-lbl {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Reputation Card */
.dossier-reputation-card {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
}

.reputation-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.reputation-clean-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: var(--radius-sm);
    color: #10b981;
}

.reputation-clean-badge i {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.reputation-clean-badge strong {
    display: block;
    font-size: 0.95rem;
    color: #10b981;
}

.reputation-clean-badge p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: 0;
}

.punishments-history-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.punishment-history-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    flex-wrap: wrap;
}

.punishment-history-row.active-punishment {
    border-color: rgba(239, 68, 68, 0.35);
    background: rgba(239, 68, 68, 0.08);
}

.punishment-reason-text {
    flex: 1;
    min-width: 150px;
    color: var(--text-main);
}

/* Not Found Card */
.player-not-found-card {
    background: var(--bg-card);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-lg);
    padding: 60px 20px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    backdrop-filter: blur(12px);
}

.not-found-icon {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 16px;
}

/* ==========================================================================
   BONUS SLOT MACHINE & FLOATING LAUNCHER
   ========================================================================== */

/* Hero Bonus Button */
.btn-bonus-hero {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
    color: #fff !important;
    border: 1px solid rgba(253, 230, 138, 0.6);
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 0 24px rgba(245, 158, 11, 0.55);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: bonusPulse 2.5s infinite;
}
@keyframes bonusPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(245, 158, 11, 0.4); transform: scale(1); }
    50% { box-shadow: 0 0 38px rgba(245, 158, 11, 0.9); transform: scale(1.04); }
}
.btn-bonus-hero:hover { transform: translateY(-3px) scale(1.07); box-shadow: 0 0 44px rgba(245,158,11,0.95); }
.btn-bonus-hero i { animation: giftWiggle 1.6s infinite ease-in-out; }
@keyframes giftWiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-16deg); }
    75% { transform: rotate(16deg); }
}

/* Floating Widget */
.floating-bonus-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 998;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f59e0b 0%, #ec4899 100%);
    border: 2.5px solid rgba(255,255,255,0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 32px rgba(245, 158, 11, 0.65);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.floating-bonus-widget:hover { transform: scale(1.14) translateY(-4px); box-shadow: 0 14px 44px rgba(245,158,11,0.9); }
.floating-gift-icon { font-size: 1.45rem; color: #fff; }
.floating-gift-label { font-size: 0.6rem; font-weight: 900; color: #fff; text-transform: uppercase; letter-spacing: 0.5px; line-height: 1; margin-top: 2px; }
.floating-gift-pulse {
    position: absolute; top: -5px; left: -5px; right: -5px; bottom: -5px;
    border-radius: 50%; border: 2px solid #f59e0b;
    animation: giftPulseRing 2.2s infinite ease-out; pointer-events: none;
}
@keyframes giftPulseRing {
    0% { transform: scale(1); opacity: 0.9; }
    100% { transform: scale(1.65); opacity: 0; }
}

/* ---- Slot Machine Modal Card ---- */
.slot-modal-card {
    position: relative;
    width: 100%;
    max-width: 520px;
    background: linear-gradient(160deg, rgba(14,14,24,0.98) 0%, rgba(20,10,35,0.98) 100%);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 24px;
    padding: 32px 28px 28px;
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.04),
        0 24px 80px rgba(0,0,0,0.9),
        0 0 60px rgba(245,158,11,0.18);
    overflow: hidden;
    max-height: 95vh;
    overflow-y: auto;
}
.slot-modal-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, #f59e0b, #ec4899, #8b5cf6, #3b82f6, #10b981, #f59e0b);
    background-size: 300% 100%;
    animation: rainbowBar 4s linear infinite;
}
@keyframes rainbowBar {
    0% { background-position: 0% 0%; }
    100% { background-position: 300% 0%; }
}

/* Header */
.slot-modal-header { text-align: center; margin-bottom: 22px; }
.slot-stars { color: #facc15; font-size: 1.1rem; letter-spacing: 6px; margin-bottom: 10px; }
.slot-stars i { animation: starPop 1.5s infinite alternate ease-in-out; }
.slot-stars i:nth-child(2) { animation-delay: 0.3s; }
.slot-stars i:nth-child(3) { animation-delay: 0.6s; }
@keyframes starPop {
    0% { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.25); opacity: 1; }
}
.slot-title {
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: 900;
    letter-spacing: 2px;
    color: #fff;
    margin: 0 0 6px;
    text-transform: uppercase;
}
.slot-title-highlight {
    background: linear-gradient(135deg, #facc15, #f59e0b, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.slot-subtitle { font-size: 0.88rem; color: var(--text-muted); margin: 0; }

/* ---- Slot Tape Machine ---- */
.slot-machine-wrapper {
    position: relative;
    height: 136px;
    margin: 0 -4px 22px;
    overflow: hidden;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 2px 24px rgba(0, 0, 0, 0.7);
}

/* Side fades */
.slot-fade {
    position: absolute;
    top: 0; bottom: 0;
    width: 80px;
    z-index: 5;
    pointer-events: none;
}
.slot-fade-left  { left: 0;  background: linear-gradient(90deg, rgba(14,14,24,1) 0%, transparent 100%); }
.slot-fade-right { right: 0; background: linear-gradient(270deg, rgba(14,14,24,1) 0%, transparent 100%); }

/* Winner highlight frame */
.slot-winner-frame {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 124px;
    height: 120px;
    border: 2.5px solid #facc15;
    border-radius: 14px;
    box-shadow: 0 0 24px rgba(250,204,21,0.6), inset 0 0 14px rgba(250,204,21,0.15);
    z-index: 6;
    pointer-events: none;
    animation: frameGlow 2s infinite alternate;
}
@keyframes frameGlow {
    0%  { box-shadow: 0 0 16px rgba(250,204,21,0.4), inset 0 0 8px rgba(250,204,21,0.08); }
    100%{ box-shadow: 0 0 32px rgba(250,204,21,0.85), inset 0 0 20px rgba(250,204,21,0.25); }
}
.slot-winner-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 6px;
    color: #facc15;
    font-size: 1.1rem;
}

/* Tape viewport */
.slot-tape-viewport {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    overflow: hidden;
}

/* Tape strip */
.slot-tape {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 12px;
    padding: 0 calc(50% - 57px);
    will-change: transform;
    transition: none;
}

/* Each prize card on the tape */
.slot-item {
    flex-shrink: 0;
    width: 114px;
    height: 114px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 6px 4px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(20, 20, 32, 0.85);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    transition: transform 0.1s ease, border-color 0.2s ease;
}
.slot-item.is-winner {
    background: rgba(250, 204, 21, 0.15) !important;
    border-color: #facc15 !important;
    box-shadow: 0 0 20px rgba(250, 204, 21, 0.5) !important;
    transform: scale(1.04);
}
.slot-item-img {
    width: 46px;
    height: 46px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}
.slot-item-badge {
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 2px 6px;
    border-radius: 4px;
    line-height: 1;
    border: 1px solid;
    background: rgba(0, 0, 0, 0.4);
}
.slot-item-name {
    font-size: 0.72rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    max-width: 104px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Controls */
.slot-controls {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.slot-nick-input {
    width: 100%;
    padding: 13px 18px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    color: #fff;
    font-size: 0.95rem;
    text-align: center;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
.slot-nick-input::placeholder { color: rgba(255,255,255,0.3); }
.slot-nick-input:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245,158,11,0.2);
}
.slot-spin-btn {
    width: 100%;
    padding: 0;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 50%, #b45309 100%);
    box-shadow: 0 4px 24px rgba(245,158,11,0.6), inset 0 1px 0 rgba(255,255,255,0.2);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}
.slot-spin-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}
.slot-spin-btn:hover::before { left: 150%; }
.slot-spin-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(245,158,11,0.8); }
.slot-spin-btn:active { transform: translateY(0); }
.slot-spin-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.slot-spin-btn-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    font-size: 1.05rem;
    font-weight: 900;
    color: #fff;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Prize reveal */
.slot-prize-reveal {
    text-align: center;
    animation: prizeFlyIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
@keyframes prizeFlyIn {
    0%  { opacity: 0; transform: translateY(30px) scale(0.85); }
    100%{ opacity: 1; transform: translateY(0) scale(1); }
}

.slot-prize-img-wrapper {
    position: relative;
    width: 92px;
    height: 92px;
    margin: 0 auto 12px;
}
.slot-prize-reveal-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 18px;
    border: 2.5px solid #facc15;
    box-shadow: 0 0 30px rgba(250, 204, 21, 0.6);
    animation: prizeFloat 2.5s infinite alternate ease-in-out;
}
@keyframes prizeFloat {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-6px) scale(1.05); box-shadow: 0 0 45px rgba(250, 204, 21, 0.85); }
}

.slot-prize-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 6px;
}
.slot-prize-name {
    font-size: clamp(1.3rem, 4vw, 1.7rem);
    font-weight: 900;
    color: #facc15;
    margin-bottom: 14px;
    text-shadow: 0 0 20px rgba(250,204,21,0.7);
}
.slot-prize-sub {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.slot-prize-sub strong { color: var(--text-main); }
.slot-promo-box {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0,0,0,0.5);
    border: 2px dashed rgba(250,204,21,0.6);
    border-radius: 12px;
    padding: 11px 22px;
    cursor: pointer;
    margin-bottom: 16px;
    transition: all 0.2s ease;
}
.slot-promo-box:hover { background: rgba(250,204,21,0.1); transform: scale(1.04); border-color: #facc15; }
.slot-promo-box code { font-size: 1.15rem; font-weight: 900; color: #facc15; letter-spacing: 1.5px; }
.slot-promo-box i { color: rgba(255,255,255,0.4); }
.slot-spin-again-btn {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--text-muted);
    border-radius: 10px;
    padding: 10px 22px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.slot-spin-again-btn:hover { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.25); }

/* ==========================================================================
   GLOBAL MODAL DIALOGS SYSTEM (.modal-overlay & .modal-card)
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(12px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.modal-overlay.active { display: flex !important; opacity: 1; }
.modal-card {
    position: relative;
    background: rgba(18, 18, 26, 0.98);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    max-width: 500px; width: 100%;
    max-height: 90vh; overflow-y: auto;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.85);
    transform: scale(0.92);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 100000;
}
.modal-overlay.active .modal-card { transform: scale(1); }
.modal-close {
    position: absolute;
    top: 14px; right: 16px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: var(--text-muted);
    font-size: 1.5rem;
    width: 36px; height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s ease;
    z-index: 25; line-height: 1;
}
.modal-close:hover {
    background: rgba(239,68,68,0.25);
    border-color: #ef4444;
    color: #fff;
    transform: rotate(90deg) scale(1.1);
}

/* ==========================================================================
   StarProj - User Authentication, Registration & Email Verification Styles
   ========================================================================== */

/* Navbar Auth Section */
.auth-nav-btns {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-auth-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: var(--transition);
}

.nav-btn-login {
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
}

.nav-btn-login:hover,
.nav-btn-login.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

.nav-btn-register {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), #6366f1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.nav-btn-register:hover,
.nav-btn-register.active {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
    filter: brightness(1.1);
}

.user-profile-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-nav-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px 5px 6px;
    background: rgba(139, 92, 246, 0.12);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: var(--transition);
}

.user-nav-pill:hover {
    background: rgba(139, 92, 246, 0.22);
    border-color: var(--primary);
    transform: translateY(-1px);
}

.user-nav-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    image-rendering: pixelated;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.user-nav-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
}

.nav-logout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #ef4444;
    text-decoration: none;
    transition: var(--transition);
}

.nav-logout-btn:hover {
    background: rgba(239, 68, 68, 0.25);
    color: #fff;
    transform: scale(1.08);
}

/* Auth Page Wrapper */
.auth-page-wrapper {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 15px;
    position: relative;
    z-index: 1;
}

.auth-container {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
}

.auth-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 35px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(139, 92, 246, 0.08);
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--accent-cyan), var(--primary));
    background-size: 200% 100%;
    animation: gradientShift 6s linear infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Auth Header */
.auth-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-full);
    color: var(--primary);
    margin-bottom: 12px;
}

.auth-badge-success {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
    color: var(--accent-emerald);
}

.auth-badge-error {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.auth-title {
    font-size: 1.85rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.auth-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 24px;
}

/* Form Styles */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.form-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 6px;
}

.label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.link-forgot-pass {
    font-size: 0.8rem;
    color: var(--accent-cyan);
    text-decoration: none;
    transition: var(--transition);
}

.link-forgot-pass:hover {
    text-decoration: underline;
    color: #fff;
}

.input-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-icon-wrapper .field-icon {
    position: absolute !important;
    left: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    color: var(--text-dim) !important;
    font-size: 1rem !important;
    pointer-events: none !important;
    z-index: 5 !important;
    transition: var(--transition) !important;
}

.input-icon-wrapper .form-control,
.form-control {
    width: 100% !important;
    padding: 14px 44px 14px 48px !important;
    background: rgba(12, 14, 21, 0.75) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: var(--radius-md) !important;
    color: #fff !important;
    font-family: var(--font-main) !important;
    font-size: 0.95rem !important;
    line-height: 1.4 !important;
    transition: var(--transition) !important;
}

.input-icon-wrapper .form-control:focus,
.form-control:focus {
    outline: none !important;
    border-color: var(--primary) !important;
    background: rgba(18, 20, 29, 0.95) !important;
    box-shadow: 0 0 0 4px var(--primary-glow) !important;
}

.input-icon-wrapper .form-control:focus ~ .field-icon {
    color: var(--primary) !important;
}

.form-hint {
    font-size: 0.78rem;
    color: var(--text-dim);
}

.toggle-password-btn {
    position: absolute !important;
    right: 14px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    background: transparent !important;
    border: none !important;
    color: var(--text-muted) !important;
    cursor: pointer !important;
    font-size: 1rem !important;
    padding: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 5 !important;
    transition: var(--transition) !important;
}

.toggle-password-btn:hover {
    color: #fff !important;
}

/* Password Strength Meter */
.password-strength-meter {
    margin-top: 4px;
}

.strength-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 4px;
}

.strength-fill {
    height: 100%;
    width: 0%;
    border-radius: var(--radius-full);
    transition: width 0.3s ease, background-color 0.3s ease;
}

.strength-weak { background-color: #ef4444; }
.strength-medium { background-color: #f59e0b; }
.strength-strong { background-color: #10b981; }

.strength-text {
    font-size: 0.75rem;
    color: var(--text-dim);
    font-weight: 500;
}

/* ==========================================================================
   Cyber Neon Toggle Switch
   ========================================================================== */
.terms-switch-card {
    background: rgba(12, 14, 21, 0.65);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 16px;
    margin: 6px 0 10px;
    transition: var(--transition);
}

.terms-switch-card:hover {
    background: rgba(18, 20, 29, 0.85);
    border-color: var(--border-glow);
}

.cyber-switch-label {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
    cursor: pointer !important;
    user-select: none !important;
    margin: 0 !important;
    width: 100% !important;
}

.cyber-switch-native {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    border: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.cyber-switch-track {
    position: relative !important;
    width: 44px !important;
    height: 24px !important;
    min-width: 44px !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1.5px solid var(--border-color) !important;
    border-radius: var(--radius-full) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    flex-shrink: 0 !important;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4) !important;
}

.cyber-switch-thumb {
    position: absolute !important;
    top: 2px !important;
    left: 2px !important;
    width: 16px !important;
    height: 16px !important;
    background: #9ca3af !important;
    border-radius: 50% !important;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3) !important;
}

/* Checked state */
.cyber-switch-native:checked + .cyber-switch-track {
    background: linear-gradient(135deg, var(--primary), #6366f1) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 16px var(--primary-glow), inset 0 1px 2px rgba(255, 255, 255, 0.2) !important;
}

.cyber-switch-native:checked + .cyber-switch-track .cyber-switch-thumb {
    left: 22px !important;
    background: #ffffff !important;
    box-shadow: 0 0 10px #ffffff, 0 2px 6px rgba(0, 0, 0, 0.4) !important;
    transform: scale(1.08) !important;
}

.cyber-switch-text {
    font-size: 0.86rem !important;
    color: var(--text-muted) !important;
    line-height: 1.4 !important;
    transition: var(--transition) !important;
}

.cyber-switch-label:hover .cyber-switch-text {
    color: var(--text-main) !important;
}

.cyber-switch-text a {
    color: var(--accent-cyan) !important;
    font-weight: 600 !important;
    text-decoration: underline !important;
}

.cyber-switch-text a:hover {
    color: #fff !important;
}

/* Auth Submit Button */
.btn-block {
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 1rem;
    font-weight: 700;
}

.auth-submit-btn {
    margin-top: 6px;
}

/* Alerts */
.auth-alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    font-size: 0.9rem;
    line-height: 1.4;
    text-align: left;
}

.alert-error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fca5a5;
}

.alert-error i {
    color: #ef4444;
    font-size: 1.1rem;
    margin-top: 2px;
}

.alert-success {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #6ee7b7;
}

.alert-success i {
    color: #10b981;
    font-size: 1.1rem;
    margin-top: 2px;
}

.btn-resend-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    background: rgba(239, 68, 68, 0.3);
    border: 1px solid rgba(239, 68, 68, 0.5);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition);
}

.btn-resend-link:hover {
    background: #ef4444;
}

/* Shake Animation for Errors */
.animate-shake {
    animation: shake 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes shake {
    10%, 90% { transform: translate3d(-1px, 0, 0); }
    20%, 80% { transform: translate3d(2px, 0, 0); }
    30%, 50%, 70% { transform: translate3d(-3px, 0, 0); }
    40%, 60% { transform: translate3d(3px, 0, 0); }
}

/* Success & Email Screen */
.auth-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
}

.success-pulse {
    background: rgba(16, 185, 129, 0.15);
    border: 2px solid rgba(16, 185, 129, 0.4);
    color: var(--accent-emerald);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.3);
    animation: pulseGlow 2s infinite;
}

.error-pulse {
    background: rgba(239, 68, 68, 0.15);
    border: 2px solid rgba(239, 68, 68, 0.4);
    color: #ef4444;
    box-shadow: 0 0 30px rgba(239, 68, 68, 0.3);
}

@keyframes pulseGlow {
    0% { transform: scale(0.98); box-shadow: 0 0 20px rgba(16, 185, 129, 0.2); }
    50% { transform: scale(1.05); box-shadow: 0 0 40px rgba(16, 185, 129, 0.5); }
    100% { transform: scale(0.98); box-shadow: 0 0 20px rgba(16, 185, 129, 0.2); }
}

.auth-email-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--accent-cyan);
    margin-bottom: 24px;
}

.auth-instructions-box {
    background: rgba(12, 14, 21, 0.6);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
    margin-bottom: 30px;
}

.instruction-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.step-num {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.auth-actions-group {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.auth-footer-links {
    margin-top: 24px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.link-highlight {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.link-highlight:hover {
    color: #fff;
    text-decoration: underline;
}

/* ==========================================================================
   2-Column Registration & Anti-Bot Widget Styling
   ========================================================================== */

.auth-split-container {
    max-width: 1080px;
    width: 100%;
    margin: 0 auto;
}

.auth-card-single {
    max-width: 540px;
    margin: 0 auto;
}

.auth-split-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 30px;
    align-items: stretch;
}

/* Left Column: Perks Card */
.auth-perks-card {
    background: linear-gradient(145deg, rgba(18, 20, 29, 0.85), rgba(12, 14, 21, 0.9));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.auth-perks-card::after {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 180px;
    height: 180px;
    background: var(--primary-glow);
    filter: blur(70px);
    pointer-events: none;
}

.auth-brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: var(--radius-full);
    margin-bottom: 16px;
    width: fit-content;
}

.perks-heading {
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1.25;
    color: #fff;
    margin-bottom: 12px;
}

.perks-lead {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 28px;
}

.perks-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.perk-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.perk-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    transition: var(--transition);
}

.perk-item:hover .perk-icon {
    transform: scale(1.1) rotate(5deg);
}

.perk-icon-purple {
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.35);
    color: var(--primary);
}

.perk-icon-cyan {
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid rgba(6, 182, 212, 0.35);
    color: var(--accent-cyan);
}

.perk-icon-emerald {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: var(--accent-emerald);
}

.perk-icon-gold {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: var(--accent-gold);
}

.perk-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.perk-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.server-quick-meta {
    display: flex;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.quick-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    color: var(--text-muted);
}

.text-emerald { color: #10b981; }
.text-cyan { color: #06b6d4; }

/* Input with Avatar Preview */
.input-with-avatar-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar-preview-box {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(12, 14, 21, 0.9);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.avatar-preview-box img {
    width: 36px;
    height: 36px;
    image-rendering: pixelated;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.input-with-avatar-wrapper:focus-within .avatar-preview-box {
    border-color: var(--primary);
    box-shadow: 0 0 16px var(--primary-glow);
}

.input-with-avatar-wrapper:focus-within .avatar-preview-box img {
    transform: scale(1.15);
}

.field-feedback-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
}

.nick-status-badge {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary);
    display: none;
}

.nick-status-badge.active {
    display: inline-block;
}

/* Password Match & Labels */
.strength-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.strength-percent {
    font-size: 0.75rem;
    color: var(--text-dim);
    font-weight: 700;
}

.pass-match-msg {
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 4px;
    display: block;
}

.match-success {
    color: #10b981;
}

.match-error {
    color: #ef4444;
}

/* Anti-Bot Security Challenge Box */
.antibot-security-box {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(6, 182, 212, 0.05));
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.antibot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.antibot-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.antibot-title i {
    color: var(--accent-cyan);
}

.antibot-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
    border-radius: var(--radius-full);
}

.antibot-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.captcha-equation-display {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

    color: var(--primary);
}

.perk-icon-cyan {
    background: rgba(6, 182, 212, 0.15);
    border: 1px solid rgba(6, 182, 212, 0.35);
    color: var(--accent-cyan);
}

.perk-icon-emerald {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: var(--accent-emerald);
}

.perk-icon-gold {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.35);
    color: var(--accent-gold);
}

.perk-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.perk-content p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.server-quick-meta {
    display: flex;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.quick-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    color: var(--text-muted);
}

.text-emerald { color: #10b981; }
.text-cyan { color: #06b6d4; }

/* Input with Avatar Preview */
.input-with-avatar-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar-preview-box {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: rgba(12, 14, 21, 0.9);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.avatar-preview-box img {
    width: 36px;
    height: 36px;
    image-rendering: pixelated;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.input-with-avatar-wrapper:focus-within .avatar-preview-box {
    border-color: var(--primary);
    box-shadow: 0 0 16px var(--primary-glow);
}

.input-with-avatar-wrapper:focus-within .avatar-preview-box img {
    transform: scale(1.15);
}

.field-feedback-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
}

.nick-status-badge {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--primary);
    display: none;
}

.nick-status-badge.active {
    display: inline-block;
}

/* Password Match & Labels */
.strength-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.strength-percent {
    font-size: 0.75rem;
    color: var(--text-dim);
    font-weight: 700;
}

.pass-match-msg {
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 4px;
    display: block;
}

.match-success {
    color: #10b981;
}

.match-error {
    color: #ef4444;
}

/* Anti-Bot Security Challenge Box */
.antibot-security-box {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(6, 182, 212, 0.05));
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.antibot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.antibot-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.antibot-title i {
    color: var(--accent-cyan);
}

.antibot-badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 8px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
    border-radius: var(--radius-full);
}

.antibot-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.captcha-equation-display {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.captcha-label {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.captcha-math-expr {
    font-family: 'Press Start 2P', monospace, sans-serif;
    font-size: 1rem;
    color: #fff;
    letter-spacing: 1px;
    background: rgba(0, 0, 0, 0.4);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    text-shadow: 0 0 10px rgba(168, 255, 120, 0.5);
}

.captcha-input-wrapper {
    max-width: 130px;
    width: 100%;
}

.captcha-input {
    padding: 10px 14px !important;
    text-align: center;
    font-size: 1.1rem !important;
    font-weight: 700;
    letter-spacing: 2px;
}

/* Cloudflare Turnstile Container */
.turnstile-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background: rgba(12, 14, 21, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    min-height: 72px;
    width: 100%;
    margin: 6px 0;
    overflow: hidden;
}

.turnstile-container .cf-turnstile {
    transform: scale(1);
    transform-origin: center;
}

/* Navbar Auth Buttons & User Status */
.auth-nav-btns {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 20;
}

.nav-auth-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 15px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer !important;
    pointer-events: auto !important;
    transition: var(--transition);
}

.nav-btn-login {
    color: var(--text-muted);
    background: #1E293B;
    border: 1px solid #334155;
}

.nav-btn-login:hover {
    color: #F8FAFC;
    background: rgba(51, 65, 85, 0.8);
    border-color: #475569;
}

.nav-btn-register {
    color: #0B0F19 !important;
    background: var(--primary);
    border: 1px solid var(--primary);
    font-weight: 700;
    box-shadow: 0 0 14px var(--primary-glow);
}

.nav-btn-register:hover {
    background: var(--primary-hover);
    box-shadow: 0 0 22px var(--primary-glow);
    transform: translateY(-1px);
}

.user-profile-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-nav-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 14px 5px 6px;
    background: #111827;
    border: 1px solid #1E293B;
    border-radius: var(--radius-full);
    color: #F8FAFC;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.user-nav-pill:hover {
    border-color: var(--primary);
    box-shadow: 0 0 12px var(--primary-glow);
}

.user-nav-avatar {
    width: 24px;
    height: 24px;
    border-radius: 4px;
}

.nav-settings-btn,
.nav-logout-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #111827;
    border: 1px solid #1E293B;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    text-decoration: none;
    transition: var(--transition);
}

.nav-settings-btn:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: rgba(168, 255, 120, 0.12);
}

.nav-logout-btn:hover {
    color: #EF4444;
    border-color: #EF4444;
    background: rgba(239, 68, 68, 0.15);
}

/* ==========================================================================
   PLAYER PROFILE & DOSSIER (OBSIDIAN STEALTH)
   ========================================================================== */
.player-page-wrapper {
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 80px;
}

.player-search-box-card {
    background: #111827;
    border: 1px solid #1E293B;
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.player-search-form {
    max-width: 680px;
    margin: 0 auto 24px;
}

.player-search-input-group {
    display: flex;
    align-items: center;
    position: relative;
    background: #0B0F19;
    border: 1px solid #1E293B;
    border-radius: var(--radius-full);
    padding: 6px 8px 6px 20px;
    transition: var(--transition);
}

.player-search-input-group:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 18px var(--primary-glow);
}

.player-search-icon {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-right: 12px;
}

.player-search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: #F8FAFC;
    font-size: 1rem;
    font-family: var(--font-main);
}

.player-search-input::placeholder {
    color: #64748B;
}

.player-search-btn {
    border-radius: var(--radius-full);
    padding: 10px 24px;
    font-size: 0.95rem;
    font-weight: 700;
    white-space: nowrap;
}

.player-quick-tags {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 0.85rem;
}

.quick-tags-lbl {
    color: var(--text-muted);
    font-weight: 600;
}

.quick-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.quick-player-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px 4px 6px;
    background: #0B0F19;
    border: 1px solid #1E293B;
    border-radius: var(--radius-full);
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.quick-player-chip img {
    width: 18px;
    height: 18px;
    border-radius: 3px;
}

.quick-player-chip:hover {
    color: #F8FAFC;
    border-color: var(--primary);
    background: rgba(168, 255, 120, 0.08);
}

/* Dossier Layout */
.player-dossier-container {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 28px;
    align-items: start;
}

@media (max-width: 900px) {
    .player-dossier-container {
        grid-template-columns: 1fr;
    }
}

.player-skin-showcase-card {
    background: #111827;
    border: 1px solid #1E293B;
    border-radius: var(--radius-lg);
    padding: 30px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.player-skin-render-box {
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.player-skin-3d-img {
    max-height: 260px;
    width: auto;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.6));
    transition: transform 0.3s ease;
}

.player-skin-3d-img:hover {
    transform: scale(1.05) translateY(-5px);
}

.player-skin-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: #0B0F19;
    border: 1px solid #1E293B;
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    color: #94A3B8;
    font-weight: 600;
}

/* Dossier Info Card */
.player-info-dossier-card {
    background: #111827;
    border: 1px solid #1E293B;
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.dossier-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding-bottom: 24px;
    border-bottom: 1px solid #1E293B;
    margin-bottom: 28px;
}

.dossier-title-area {
    display: flex;
    align-items: center;
    gap: 14px;
}

.dossier-avatar-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.dossier-avatar {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    border: 2px solid #1E293B;
}

.dossier-player-name {
    font-size: 1.65rem;
    font-weight: 800;
    color: #F8FAFC;
    margin: 0;
    letter-spacing: -0.5px;
}

.dossier-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.dossier-btn-pass {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    padding: 7px 16px !important;
    border-radius: var(--radius-full) !important;
    white-space: nowrap !important;
    color: var(--primary) !important;
    border-color: rgba(168, 255, 120, 0.35) !important;
    background: rgba(168, 255, 120, 0.08) !important;
    transition: var(--transition);
}

.dossier-btn-pass:hover {
    background: var(--primary) !important;
    color: #0B0F19 !important;
    box-shadow: 0 0 16px var(--primary-glow);
}

/* Dossier Status Pill - Ultra Crisp Obsidian Stealth */
.dossier-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 16px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    white-space: nowrap;
    flex-shrink: 0;
    user-select: none;
    transition: var(--transition);
}

.dossier-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.dossier-status-pill.online {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #22C55E;
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.15);
}

.dossier-status-pill.online .dossier-dot {
    background: #22C55E;
    box-shadow: 0 0 8px #22C55E;
    animation: statusPulse 2s infinite;
}

.dossier-status-pill.offline {
    background: #0B0F19;
    border: 1px solid #1E293B;
    color: #94A3B8;
}

.dossier-status-pill.offline .dossier-dot {
    background: #64748B;
}

@keyframes statusPulse {
    0% { transform: scale(0.95); opacity: 0.7; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.7; }
}

/* Dossier Stats Grid */
.dossier-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 28px;
}

@media (max-width: 600px) {
    .dossier-stats-grid {
        grid-template-columns: 1fr;
    }
}

.dossier-stat-box {
    background: #0B0F19;
    border: 1px solid #1E293B;
    border-radius: var(--radius-md);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}

.dossier-stat-box:hover {
    border-color: #334155;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.stat-box-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.box-balance .stat-box-icon {
    background: rgba(251, 191, 36, 0.12);
    color: #FBBF24;
    border: 1px solid rgba(251, 191, 36, 0.25);
}

.box-playtime .stat-box-icon {
    background: rgba(56, 189, 248, 0.12);
    color: #38BDF8;
    border: 1px solid rgba(56, 189, 248, 0.25);
}

.box-firstjoin .stat-box-icon {
    background: rgba(120, 255, 214, 0.12);
    color: #78FFD6;
    border: 1px solid rgba(120, 255, 214, 0.25);
}

.box-lastseen .stat-box-icon {
    background: rgba(168, 255, 120, 0.12);
    color: #A8FF78;
    border: 1px solid rgba(168, 255, 120, 0.25);
}

.stat-box-info {
    display: flex;
    flex-direction: column;
}

.stat-box-val {
    font-size: 1.25rem;
    font-weight: 800;
    color: #F8FAFC;
    line-height: 1.2;
}

.stat-box-lbl {
    font-size: 0.8rem;
    color: #94A3B8;
    margin-top: 3px;
}

/* Reputation Card */
.dossier-reputation-card {
    background: #0B0F19;
    border: 1px solid #1E293B;
    border-radius: var(--radius-md);
    padding: 22px;
}

.reputation-title {
    font-size: 1rem;
    font-weight: 700;
    color: #F8FAFC;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.reputation-clean-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: var(--radius-sm);
}

.reputation-clean-badge i {
    font-size: 1.6rem;
    color: #22C55E;
}

.reputation-clean-badge strong {
    color: #22C55E;
    font-size: 0.92rem;
    display: block;
    margin-bottom: 2px;
}

.reputation-clean-badge p {
    font-size: 0.8rem;
    color: #94A3B8;
    margin: 0;
}

/* ==========================================================================
   Mobile Navigation Menu Drawer & Hamburger Button
   ========================================================================== */
.mobile-menu-btn {
    display: none;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    width: 42px;
    height: 42px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
}

@media (max-width: 991px) {
    .mobile-menu-btn {
        display: inline-flex !important;
    }

    .nav-links {
        position: fixed !important;
        top: 74px !important;
        left: 0 !important;
        width: 100% !important;
        background: rgba(14, 13, 20, 0.98) !important;
        backdrop-filter: blur(24px) !important;
        -webkit-backdrop-filter: blur(24px) !important;
        border-bottom: 1px solid var(--border-color) !important;
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 16px 20px !important;
        gap: 8px !important;
        border-radius: 0 !important;
        max-height: calc(100vh - 74px) !important;
        overflow-y: auto !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: translateY(-10px) !important;
        transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
        z-index: 9999 !important;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8) !important;
    }

    .nav-links.mobile-open {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: translateY(0) !important;
    }

    .nav-link {
        width: 100% !important;
        padding: 12px 16px !important;
        font-size: 1rem !important;
        font-weight: 700 !important;
        border-radius: 12px !important;
        background: rgba(255, 255, 255, 0.03) !important;
        display: flex !important;
    }
}

/* ========================================================================== 
   Leaderboard refresh — competitive control-room layout
   ========================================================================== */
.top-page-wrapper {
    padding-top: 76px;
    overflow: hidden;
}

.top-hero-section {
    padding-top: 54px;
    position: relative;
}

.top-hero-section::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 520px;
    background:
        radial-gradient(circle at 16% 12%, rgba(168, 255, 120, .13), transparent 30%),
        radial-gradient(circle at 82% 4%, rgba(56, 189, 248, .11), transparent 28%);
    pointer-events: none;
}

.top-page-heading {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(440px, .86fr);
    align-items: end;
    gap: 48px;
    margin-bottom: 34px;
}

.top-heading-copy .section-tag {
    margin-bottom: 16px;
}

.top-heading-copy .section-title {
    max-width: 680px;
    margin-bottom: 12px;
    font-size: clamp(2.35rem, 5vw, 4.2rem);
    letter-spacing: -.055em;
}

.top-heading-copy .section-desc {
    max-width: 630px;
    margin: 0;
    font-size: 1.05rem;
}

.top-overview {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 8px;
    border: 1px solid rgba(148, 163, 184, .16);
    border-radius: 18px;
    background: linear-gradient(145deg, rgba(20, 29, 46, .86), rgba(10, 15, 26, .84));
    box-shadow: 0 18px 50px rgba(0, 0, 0, .24);
    backdrop-filter: blur(16px);
}

.top-overview-item {
    min-width: 0;
    padding: 15px 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-right: 1px solid rgba(148, 163, 184, .12);
}

.top-overview-item:last-child { border-right: 0; }

.top-overview-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: var(--primary);
    background: rgba(168, 255, 120, .09);
    border: 1px solid rgba(168, 255, 120, .15);
}

.top-overview-item small,
.top-overview-item strong { display: block; }

.top-overview-item small {
    color: var(--text-dim);
    font-size: .72rem;
    line-height: 1.2;
}

.top-overview-item strong {
    margin-top: 4px;
    color: var(--text-main);
    font-size: .9rem;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.top-servers-selector-bar {
    justify-content: flex-start;
    margin: 0;
    padding: 14px 16px;
    border: 1px solid rgba(148, 163, 184, .14);
    border-bottom: 0;
    border-radius: 18px 18px 0 0;
    background: rgba(8, 13, 23, .72);
}

.servers-selector-label {
    margin-right: auto;
    padding-inline: 4px;
}

.server-chip {
    min-height: 42px;
    padding: 8px 14px;
    border-radius: 11px;
    background: rgba(255, 255, 255, .025);
}

.server-chip.active {
    color: var(--text-main);
    background: linear-gradient(145deg, rgba(168, 255, 120, .13), rgba(120, 255, 214, .06));
    border-color: rgba(168, 255, 120, .36);
    box-shadow: inset 0 0 0 1px rgba(168, 255, 120, .05);
}

.server-chip:focus-visible,
.leaderboard-tab-btn:focus-visible,
.podium-avatar-wrapper:focus-visible,
.player-col a:focus-visible {
    outline: 3px solid rgba(168, 255, 120, .42);
    outline-offset: 3px;
}

.leaderboard-tabs-wrapper {
    justify-content: flex-start;
    margin: 0 0 26px;
    padding: 0 14px 14px;
    border: 1px solid rgba(148, 163, 184, .14);
    border-top: 0;
    border-radius: 0 0 18px 18px;
    background: rgba(8, 13, 23, .72);
}

.leaderboard-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    gap: 8px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
}

.leaderboard-tab-btn {
    min-height: 58px;
    justify-content: flex-start;
    padding: 9px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .025);
    border-color: rgba(148, 163, 184, .1);
    text-align: left;
}

.leaderboard-tab-btn:hover {
    background: rgba(255, 255, 255, .055);
    border-color: rgba(148, 163, 184, .2);
}

.leaderboard-tab-btn.active {
    color: var(--text-main);
    background: rgba(168, 255, 120, .1);
    border-color: rgba(168, 255, 120, .32);
    box-shadow: inset 0 -2px 0 var(--primary), 0 8px 24px rgba(0, 0, 0, .16);
}

.leaderboard-tab-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 10px;
    color: var(--tab-accent);
    background: color-mix(in srgb, var(--tab-accent) 12%, transparent);
}

.leaderboard-tab-count {
    min-width: 25px;
    height: 25px;
    margin-left: auto;
    padding: 0 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--text-muted);
    background: rgba(255, 255, 255, .06);
    font-size: .76rem;
}

.leaderboard-tab-btn.active .leaderboard-tab-count {
    color: #10170d;
    background: var(--primary);
}

.leaderboard-content-wrapper {
    min-height: 430px;
}

.leaderboard-panel-heading {
    max-width: 1040px;
    margin: 0 auto 22px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.leaderboard-panel-heading h2 {
    margin-top: 5px;
    font-size: clamp(1.55rem, 3vw, 2rem);
    line-height: 1.2;
}

.leaderboard-panel-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--text-muted);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.leaderboard-live-note {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: .82rem;
}

.leaderboard-live-note > span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #34d399;
    box-shadow: 0 0 0 5px rgba(52, 211, 153, .1);
}

.podium-container {
    max-width: 1040px;
    grid-template-columns: 1fr 1.08fr 1fr;
    gap: 14px;
    margin-bottom: 22px;
}

.podium-card {
    min-height: 310px;
    padding: 26px 20px 0;
    overflow: visible;
    border-radius: 18px;
    background: linear-gradient(165deg, rgba(26, 36, 56, .9), rgba(12, 18, 30, .92));
    box-shadow: 0 18px 48px rgba(0, 0, 0, .22);
}

.podium-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(145deg, rgba(255, 255, 255, .035), transparent 38%);
    pointer-events: none;
}

.podium-card.place-1 {
    min-height: 340px;
    padding-top: 30px;
    background:
        radial-gradient(circle at 50% 25%, rgba(251, 191, 36, .15), transparent 42%),
        linear-gradient(165deg, rgba(37, 37, 35, .94), rgba(14, 18, 27, .96));
    box-shadow: 0 22px 60px rgba(0, 0, 0, .28), 0 0 45px rgba(234, 179, 8, .08);
}

.podium-crown {
    top: -25px;
    font-size: 2.25rem;
}

.podium-medal {
    position: absolute;
    top: 14px;
    left: 14px;
    min-width: 42px;
    justify-content: center;
    margin: 0;
}

.podium-avatar-wrapper {
    margin: 24px 0 16px;
    transition: transform .2s ease;
}

.podium-avatar-wrapper:hover { transform: translateY(-3px) scale(1.03); }

.podium-avatar {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    image-rendering: pixelated;
}

.podium-avatar.champion {
    width: 90px;
    height: 90px;
    border-radius: 17px;
}

.podium-name { margin-bottom: 2px; }

.podium-name a:hover { color: var(--primary) !important; }

.podium-score-label {
    display: block;
    margin-top: 8px;
    color: var(--text-dim);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.podium-score {
    margin: 2px 0 18px;
    font-size: 1.18rem;
}

.podium-score.champion-score {
    color: #facc15;
    font-size: 1.45rem;
}

.podium-pedestal {
    margin-top: auto;
    border-radius: 10px 10px 0 0;
    font-size: .75rem;
}

.p1-pedestal { background: linear-gradient(135deg, #fde047, #ca8a04); }
.p2-pedestal { background: linear-gradient(135deg, #e2e8f0, #64748b); }
.p3-pedestal { background: linear-gradient(135deg, #fb923c, #9a3412); }

.leaderboard-table-card {
    max-width: 1040px;
    padding: 0;
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(165deg, rgba(19, 28, 44, .9), rgba(10, 16, 27, .92));
    box-shadow: 0 18px 50px rgba(0, 0, 0, .2);
}

.leaderboard-table-title {
    min-height: 62px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid rgba(148, 163, 184, .12);
}

.leaderboard-table-title span {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-weight: 700;
}

.leaderboard-table-title i { color: var(--primary); }

.leaderboard-table-title small {
    color: var(--text-dim);
    font-size: .78rem;
}

.leaderboard-table-header,
.leaderboard-row {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr) minmax(170px, .45fr);
    align-items: center;
}

.leaderboard-table-header {
    margin: 0;
    padding: 11px 20px;
    background: rgba(255, 255, 255, .018);
}

.leaderboard-rank-heading { text-align: center; }
.leaderboard-score-heading { text-align: right; }

.leaderboard-row {
    margin: 0 10px;
    padding: 11px 10px;
    border-radius: 12px;
}

.leaderboard-row:last-child { margin-bottom: 10px; }

.leaderboard-row:hover {
    background: rgba(168, 255, 120, .055);
    transform: none;
}

.rank-pos-col,
.player-col,
.score-col { width: auto; }

.rank-badge-num {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    color: var(--text-main);
}

.player-col a {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.player-mini-avatar {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    image-rendering: pixelated;
}

.player-profile-arrow {
    color: var(--text-dim);
    font-size: .7rem;
    opacity: 0;
    transform: translate(-3px, 3px);
    transition: all .2s ease;
}

.player-col a:hover .player-name-text { color: var(--primary); }
.player-col a:hover .player-profile-arrow { opacity: 1; transform: translate(0, 0); }

.score-col {
    color: var(--primary);
    font-variant-numeric: tabular-nums;
}

.leaderboard-empty-card {
    max-width: 1040px;
    padding: 72px 30px;
    border-style: solid;
    background: linear-gradient(165deg, rgba(19, 28, 44, .82), rgba(10, 16, 27, .88));
}

.top-join-banner {
    max-width: 1040px;
    margin: 26px auto 0;
    padding: 22px 24px;
    border-color: rgba(168, 255, 120, .24);
    background: linear-gradient(135deg, rgba(168, 255, 120, .08), rgba(56, 189, 248, .06));
}

.top-join-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    font-size: 1.35rem;
    background: rgba(250, 204, 21, .08);
    border: 1px solid rgba(250, 204, 21, .18);
}

@media (max-width: 1050px) {
    .top-page-heading { grid-template-columns: 1fr; gap: 24px; }
    .top-overview { max-width: 700px; }
}

@media (max-width: 760px) {
    .top-page-wrapper { padding-top: 64px; }
    .top-hero-section { padding-top: 34px; padding-bottom: 62px; }
    .top-page-heading { margin-bottom: 24px; }
    .top-heading-copy .section-title { font-size: clamp(2.1rem, 11vw, 3.15rem); }
    .top-heading-copy .section-desc { font-size: .98rem; }
    .top-overview { grid-template-columns: 1fr; }
    .top-overview-item { border-right: 0; border-bottom: 1px solid rgba(148, 163, 184, .12); }
    .top-overview-item:last-child { border-bottom: 0; }
    .top-servers-selector-bar { align-items: stretch; padding: 14px; }
    .servers-selector-label { margin: 0 0 2px; }
    .servers-selector-chips { width: 100%; }
    .server-chip { flex: 0 0 auto; }
    .leaderboard-tabs-wrapper { overflow: hidden; }
    .leaderboard-tabs { display: flex; width: auto; overflow-x: auto; }
    .leaderboard-tab-btn { min-width: 190px; }
    .leaderboard-panel-heading { align-items: flex-start; }
    .leaderboard-live-note { margin-top: 7px; }
    .podium-container { display: flex; flex-direction: column; gap: 12px; }
    .podium-card { min-height: 276px; width: 100%; }
    .podium-card.place-1 { order: -1; min-height: 302px; }
    .leaderboard-table-header { display: none; }
    .leaderboard-row { grid-template-columns: 42px minmax(0, 1fr) auto; margin-inline: 6px; padding-inline: 7px; }
    .leaderboard-table-title { padding-inline: 15px; }
    .player-profile-arrow { display: none; }
    .top-join-banner { padding: 20px 17px; }
}

@media (max-width: 480px) {
    .top-hero-section .container { padding-inline: 16px; }
    .server-chip-status { display: none; }
    .leaderboard-panel-heading { display: block; }
    .leaderboard-live-note { margin-top: 12px; }
    .leaderboard-row { grid-template-columns: 38px minmax(0, 1fr); row-gap: 2px; }
    .leaderboard-row .score-col { grid-column: 2; text-align: left; font-size: .78rem; }
    .player-mini-avatar { width: 34px; height: 34px; }
    .leaderboard-table-title small { display: none; }
    .top-join-content { min-width: 0; align-items: flex-start; }
    .top-join-icon { display: none; }
}
