/* Mofi Radio Modern Obsidian/Gold SPA Design System */
:root {
    --bg-dark: #07060a;
    --bg-card: rgba(18, 16, 26, 0.72);
    --bg-card-hover: rgba(28, 25, 40, 0.85);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(251, 191, 36, 0.35);
    --primary: #fbbf24;
    --primary-hover: #f59e0b;
    --primary-glow: rgba(251, 191, 36, 0.25);
    --text-main: #f9fafb;
    --text-muted: #9ca3af;
    --text-dim: #6b7280;
    --glass-blur: 24px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

[data-theme="light"] {
    --bg-dark: #faf9f6;
    --bg-card: rgba(255, 255, 255, 0.85);
    --bg-card-hover: rgba(255, 255, 255, 0.98);
    --border-subtle: rgba(0, 0, 0, 0.08);
    --border-glow: rgba(217, 119, 6, 0.35);
    --primary: #d97706;
    --primary-hover: #b45309;
    --primary-glow: rgba(217, 119, 6, 0.2);
    --text-main: #111827;
    --text-muted: #4b5563;
    --text-dim: #9ca3af;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

body {
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

/* Suppress all native browser scrollbars cleanly across all rendering engines */
html::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
    background: transparent !important;
}

body::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
    background: transparent !important;
}

::-webkit-scrollbar {
    width: 0 !important;
    height: 0 !important;
    display: none !important;
    background: transparent !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font);
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* Ambient Ambient Glow (Nazha style) */
.ambient-glow {
    position: fixed;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, rgba(251, 191, 36, 0.03) 45%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    filter: blur(60px);
}

/* Navbar */
.spa-navbar {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 1180px;
    height: 64px;
    background: var(--bg-card);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;
    z-index: 100;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.spa-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-main);
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    flex-shrink: 0;
}

.spa-logo img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid var(--primary);
    box-shadow: 0 0 14px var(--primary-glow);
    flex-shrink: 0;
}

.spa-nav-links {
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(0, 0, 0, 0.22);
    padding: 4px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    white-space: nowrap;
    z-index: 10;
}

.spa-nav-item {
    padding: 6px 13px;
    border-radius: 20px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    border: none;
    background: transparent;
}

.spa-nav-item:hover {
    color: var(--text-main);
}

.spa-nav-item.active {
    background: rgba(251, 191, 36, 0.14);
    color: var(--primary);
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.spa-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.btn-theme-toggle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-theme-toggle:hover {
    background: rgba(251, 191, 36, 0.15);
    color: var(--primary);
    transform: rotate(15deg);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    color: #07060a;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 10px 20px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px var(--primary-glow);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
}

.btn-primary:active {
    transform: scale(0.97);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.92rem;
    padding: 10px 20px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.btn-secondary:active {
    transform: scale(0.97);
}

/* Main Container & Page Transitions */
.spa-main {
    padding-top: 110px;
    padding-bottom: 90px;
    max-width: 1140px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    position: relative;
    z-index: 10;
}

.page-view {
    animation: pageFadeIn 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    will-change: opacity, transform;
}

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

/* Hero Section */
.hero-section {
    text-align: center;
    padding: 60px 0 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-avatar {
    width: 148px;
    height: 148px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    box-shadow: 0 0 50px var(--primary-glow), 0 0 90px rgba(251, 191, 36, 0.28);
    margin-bottom: 22px;
    animation: float 4s ease-in-out infinite;
    object-fit: cover;
}

@media (max-width: 640px) {
    .hero-avatar {
        width: 112px;
        height: 112px;
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 14px;
    background: linear-gradient(180deg, #ffffff 40%, #9ca3af 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-tagline {
    font-size: 1.25rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 12px;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 580px;
    line-height: 1.6;
    margin-bottom: 28px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-buttons a,
.hero-buttons button {
    border-radius: 12px !important;
}

/* Live Stats Strip */
.stats-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 40px 0;
}

.stat-card {
    background: var(--bg-card);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.stat-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-3px);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* Feature Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.feature-card {
    background: var(--bg-card);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 26px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-3px);
}

.feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(251, 191, 36, 0.12);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.feature-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.feature-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Commands Page Styling */
.commands-header {
    text-align: center;
    margin-bottom: 36px;
}

.search-bar-wrap {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    padding: 0 !important;
}

.search-input {
    width: 100%;
    height: 52px;
    background: var(--bg-card);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border-subtle);
    border-radius: 30px;
    padding: 0 24px 0 52px;
    color: var(--text-main);
    font-size: 1rem;
    outline: none;
    box-sizing: border-box;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    pointer-events: none;
}

.category-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 30px;
}

.cat-pill {
    padding: 6px 14px;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.cat-pill:hover {
    color: var(--text-main);
    border-color: rgba(255, 255, 255, 0.2);
}

.cat-pill.active {
    background: var(--primary);
    color: #07060a;
    border-color: var(--primary);
}

.commands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

.command-card {
    background: var(--bg-card);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.command-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-2px);
    background: var(--bg-card-hover);
}

.cmd-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.cmd-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    font-family: monospace;
}

.cmd-cat-badge {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-dim);
}

.cmd-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.45;
    margin-bottom: 14px;
}

.cmd-footer {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 0.78rem;
    color: var(--text-dim);
}

.cmd-badge {
    background: rgba(255, 255, 255, 0.04);
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Floating Persistent Radio Player */
.floating-player {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--bg-card);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    z-index: 99;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.6);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-player:hover {
    border-color: var(--border-glow);
}

.player-btn-play {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--primary);
    color: #07060a;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    box-shadow: 0 0 14px var(--primary-glow);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.player-btn-play:hover {
    transform: scale(1.08);
}

.player-btn-play:active {
    transform: scale(0.94);
}

.player-info {
    display: flex;
    flex-direction: column;
}

.player-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-main);
}

.player-sub {
    font-size: 0.76rem;
    color: var(--primary);
}

.player-station-select {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    color: var(--text-main);
    padding: 6px 10px;
    font-size: 0.8rem;
    outline: none;
    cursor: pointer;
}

/* Sound wave animation */
.sound-bars {
    display: flex;
    gap: 3px;
    align-items: flex-end;
    height: 18px;
}

.sound-bar {
    width: 3px;
    height: 100%;
    background: var(--primary);
    border-radius: 3px;
    animation: soundWave 1.2s ease-in-out infinite;
}

.sound-bar:nth-child(2) { animation-delay: 0.2s; }
.sound-bar:nth-child(3) { animation-delay: 0.4s; }
.sound-bar:nth-child(4) { animation-delay: 0.1s; }

@keyframes soundWave {
    0%, 100% { height: 4px; }
    50% { height: 18px; }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .spa-navbar {
        display: flex;
        justify-content: space-between;
    }
    .spa-nav-links {
        display: none !important;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .floating-player {
        left: 16px;
        right: 16px;
        bottom: 16px;
        justify-content: space-between;
    }
}


/* ==========================================================================
   RESTORED HIGH-PERFORMANCE COMPONENTS (HOME, STATS, DASHBOARD, PROFILE, FAQ)
   ========================================================================== */

/* Hero Badges & Rewards */
.trusted-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid var(--border-glow);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: 18px;
}

.hero-reward {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 14px;
    text-align: center;
}

.pulse-active {
    animation: gentlePulse 3s ease-in-out infinite;
}

@keyframes gentlePulse {
    0%, 100% { box-shadow: 0 0 25px var(--primary-glow); transform: scale(1); }
    50% { box-shadow: 0 0 45px rgba(251, 191, 36, 0.45); transform: scale(1.02); }
}

/* Infinite Marquee Ticker */
.marquee-container {
    overflow: hidden;
    width: 100%;
    margin: 0 0 18px;
    position: relative;
    padding: 10px 0;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.marquee-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: marqueeScroll 40s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.marquee-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 6px 14px;
    border-radius: 24px;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
    white-space: nowrap;
    transition: all 0.2s ease;
}

.marquee-pill:hover {
    border-color: rgba(251, 191, 36, 0.3);
    color: var(--text-main);
}

.marquee-pill img {
    width: 22px;
    height: 22px;
    border-radius: 50%;
}

/* About Section */
.about-section {
    margin: 0 0 40px;
}

.about-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 36px;
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 32px;
    align-items: center;
    transition: all 0.3s ease;
}

.about-card:hover {
    border-color: rgba(251, 191, 36, 0.18);
}

.about-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.about-desc {
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.65;
    margin-bottom: 0;
}

.stats-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.stat-mini {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 14px;
    text-align: center;
}

.stat-mini h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
}

.stat-mini p {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.about-img-box {
    text-align: center;
}

.about-img-box img {
    width: 160px;
    height: 160px;
    border-radius: 20px;
    border: 1.5px solid rgba(251, 191, 36, 0.25);
    box-shadow: 0 0 25px rgba(251, 191, 36, 0.12);
}

/* Section Headings */
.section-header {
    text-align: center;
    margin: 0 0 28px;
}

.section-title {
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.section-title .highlight {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
}

/* FAQ Accordion */
.faq-list {
    max-width: 780px;
    margin: 0 auto 40px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.25s ease;
}

.faq-item:hover {
    border-color: rgba(251, 191, 36, 0.18);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 22px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.98rem;
    color: var(--text-main);
    user-select: none;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question i {
    transition: transform 0.25s ease;
    color: var(--primary);
    font-size: 0.9rem;
}

.faq-item.open .faq-question i {
    transform: rotate(90deg);
}

.faq-answer {
    padding: 0 22px 18px;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    animation: fadeIn 0.25s ease forwards;
}

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

/* Footer */
.spa-footer {
    border-top: 1px solid var(--border-subtle);
    margin-top: 80px;
    padding: 60px 0 32px;
    background: rgba(7, 6, 10, 0.7);
    width: 100%;
    box-sizing: border-box;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
    box-sizing: border-box;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 36px;
    margin-bottom: 36px;
}

.footer-brand-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.footer-brand-title img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    margin-bottom: 0 !important;
    display: block;
    object-fit: cover;
}

.footer-brand-title h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 !important;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
    max-width: 340px;
}

.footer-col h5 {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-main);
    margin-bottom: 14px;
    font-weight: 700;
}

.footer-col a, .footer-col button {
    display: block;
    background: none;
    border: none;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    margin-bottom: 8px;
    padding: 0;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s ease;
}

.footer-col a:hover, .footer-col button:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-dim);
    font-size: 0.85rem;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.footer-socials a {
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: color 0.2s ease;
}

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

/* Charts Section */
.chart-box {
    background: var(--bg-card);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.chart-box:hover {
    border-color: var(--border-glow);
}

.chart-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.chart-header {
    margin-bottom: 24px;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chart-canvas-wrap {
    height: 380px;
    position: relative;
}

.station-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
    justify-content: center;
}

.station-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
}

.station-pill-color {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.refresh-spin-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.refresh-spin-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: rotate(45deg);
}

.refresh-spin-btn.spinning i {
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}

/* Dashboard Guild Cards & Controller */
.guilds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 24px;
}

.guild-card {
    background: var(--bg-card);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: all 0.25s ease;
}

.guild-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-2px);
}

.guild-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.guild-icon-fallback {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(251, 191, 36, 0.15);
    color: var(--primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.guild-info {
    flex: 1;
    min-width: 0;
}

.guild-name {
    font-weight: 700;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

.guild-status.active {
    color: #10b981;
}

.controller-box {
    background: var(--bg-card);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-top: 24px;
}

.controller-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-subtle);
}

.controller-player {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 24px;
    align-items: center;
    margin-bottom: 28px;
}

.controller-art {
    width: 140px;
    height: 140px;
    border-radius: var(--radius-md);
    object-fit: cover;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-subtle);
}

.controller-btns {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.control-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.control-btn:hover {
    background: var(--primary);
    color: #07060a;
    border-color: var(--primary);
    transform: scale(1.08);
}

.control-btn.btn-like:hover {
    background: rgba(239, 68, 68, 0.2) !important;
    border-color: #ef4444 !important;
    color: #ef4444 !important;
    transform: scale(1.08);
}

.control-btn:active {
    transform: scale(0.95);
}

.switch-wrap {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
    margin-top: 20px;
}

.switch-input {
    width: 44px;
    height: 24px;
    appearance: none;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    position: relative;
    outline: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.switch-input:checked {
    background: var(--primary);
}

.switch-input::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    background: #fff;
    transition: transform 0.2s ease;
}

.switch-input:checked::before {
    transform: translateX(20px);
}

/* Profile Page */
.profile-box {
    background: var(--bg-card);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.profile-header-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
}

.profile-avatar-block {
    flex-shrink: 0;
}

.profile-user-info-block {
    flex: 1;
    min-width: 240px;
}

.profile-avatar-xl {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    box-shadow: 0 0 24px var(--primary-glow);
}

.xp-progress-wrap {
    width: 100%;
    flex-basis: 100%;
    margin-top: 14px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.xp-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 6px;
}

.xp-level-title {
    color: var(--primary);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.xp-counter-text {
    color: var(--text-muted);
    font-family: monospace;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
}

.xp-bar-bg {
    height: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    overflow: hidden;
    margin-top: 6px;
    position: relative;
}

.xp-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b 0%, #fbbf24 100%);
    box-shadow: 0 0 12px rgba(251, 191, 36, 0.5);
    border-radius: 10px;
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.liked-tracks-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 40px 0 12px;
}

.liked-tracks-title-wrap {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.liked-tracks-title-wrap h3 {
    margin: 0;
    font-size: 1.3rem;
    white-space: nowrap;
}

.liked-tracks-counter {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 700;
    font-family: monospace;
    white-space: nowrap;
}

.btn-share-playlist {
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    color: var(--text-main);
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-share-playlist:hover {
    border-color: var(--primary);
    background: rgba(251, 191, 36, 0.1);
    color: var(--primary);
}

.liked-tracks-tip-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.2);
    border-radius: var(--radius-sm);
    font-size: 0.84rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.liked-tracks-tip-banner i {
    color: var(--primary);
    font-size: 1rem;
    flex-shrink: 0;
}

.tracks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
    margin-top: 14px;
}

.track-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
    position: relative;
}

[data-theme="light"] .track-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.track-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.track-thumb-wrap {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.track-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.track-icon-box {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: rgba(251, 191, 36, 0.12);
}

.track-meta {
    flex: 1;
    min-width: 0;
    padding-right: 22px;
}

.track-title {
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--text-main);
}

.track-author {
    color: var(--text-muted);
    font-size: 0.78rem;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-actions-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
}

.track-action-link,
.track-action-btn {
    font-size: 0.72rem;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    transition: opacity 0.2s;
}

.track-action-link:hover,
.track-action-btn:hover {
    text-decoration: underline;
    opacity: 0.85;
}

.track-remove-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0.5;
}

.track-card:hover .track-remove-btn {
    opacity: 1;
}

.track-remove-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
    color: #ef4444;
    transform: scale(1.15);
}

.track-card.removing {
    opacity: 0.4;
    pointer-events: none;
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
    .footer-brand p {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .footer-container {
        padding: 0 1.25rem;
    }
    .about-card {
        grid-template-columns: 1fr;
    }
    .about-img-box {
        display: none;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
    .controller-player {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .controller-art {
        margin: 0 auto;
    }
    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid var(--border-subtle);
        color: var(--text-main);
        cursor: pointer;
    }
    .mobile-drawer {
        position: fixed;
        top: 88px;
        left: 16px;
        right: 16px;
        background: var(--bg-card);
        backdrop-filter: blur(28px);
        -webkit-backdrop-filter: blur(28px);
        border: 1px solid var(--border-glow);
        border-radius: var(--radius-lg);
        padding: 20px;
        z-index: 999;
        display: flex;
        flex-direction: column;
        gap: 10px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
        animation: springEnter 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    .mobile-drawer-link {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 12px 16px;
        border-radius: var(--radius-md);
        color: var(--text-main);
        text-decoration: none;
        font-weight: 600;
        background: rgba(255, 255, 255, 0.04);
        border: none;
        width: 100%;
        text-align: left;
        font-size: 0.95rem;
    }
    .mobile-drawer-link.active {
        background: var(--primary);
        color: #07060a;
    }
}
@media (min-width: 769px) {
    .mobile-menu-btn {
        display: none !important;
    }
    .mobile-drawer {
        display: none !important;
    }
}

/* ==========================================================================
   NAZHA-INSPIRED RETRO-FUTURISTIC RADIO CONSOLE, TECHNICAL STATS & ATMOSPHERE
   ========================================================================== */

/* 1. Nazha Matrix Background & Floating Embers */
body {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(rgba(251, 191, 36, 0.08) 1px, transparent 1px),
        radial-gradient(rgba(251, 191, 36, 0.02) 1px, transparent 1px);
    background-size: 32px 32px, 96px 96px;
    background-position: 0 0, 16px 16px;
}

.ambient-particles {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.ember {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #fbbf24;
    box-shadow: 0 0 8px rgba(251, 191, 36, 0.8);
    opacity: 0;
    animation: floatEmber 12s linear infinite;
    will-change: transform, opacity;
}

.ember:nth-child(1) { left: 10%; animation-duration: 14s; animation-delay: 0s; }
.ember:nth-child(2) { left: 25%; animation-duration: 18s; animation-delay: 2s; width: 2px; height: 2px; }
.ember:nth-child(3) { left: 40%; animation-duration: 13s; animation-delay: 4s; }
.ember:nth-child(4) { left: 55%; animation-duration: 16s; animation-delay: 1s; width: 4px; height: 4px; }
.ember:nth-child(5) { left: 70%; animation-duration: 15s; animation-delay: 3s; }
.ember:nth-child(6) { left: 85%; animation-duration: 19s; animation-delay: 5s; width: 2px; height: 2px; }
.ember:nth-child(7) { left: 95%; animation-duration: 12s; animation-delay: 2.5s; }

@keyframes floatEmber {
    0% {
        transform: translateY(105vh) scale(0.6);
        opacity: 0;
    }
    15% {
        opacity: 0.65;
    }
    85% {
        opacity: 0.55;
    }
    100% {
        transform: translateY(-5vh) scale(1.1);
        opacity: 0;
    }
}

/* 2. Desktop Navbar Logout Button */
.navbar-user-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-logout {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    padding: 7px 12px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-logout:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: #ef4444;
    transform: translateY(-1px);
}

/* 3. Dedicated Nazha Lofi Radio Console (Home Featured Deck) */
.nazha-console-section {
    max-width: 860px;
    margin: 40px auto 60px;
    position: relative;
    z-index: 10;
}

.nazha-console {
    background: #0c0b13;
    border: 1px solid rgba(251, 191, 36, 0.22);
    border-radius: 28px;
    padding: 28px;
    box-shadow: 
        0 30px 80px -15px rgba(0, 0, 0, 0.9),
        0 0 50px rgba(251, 191, 36, 0.08);
    position: relative;
    background-image: 
        linear-gradient(rgba(251, 191, 36, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(251, 191, 36, 0.03) 1px, transparent 1px);
    background-size: 24px 24px;
}

.console-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    font-size: 0.78rem;
    font-family: monospace;
    letter-spacing: 0.05em;
}

.console-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #10b981;
    font-weight: 700;
    text-transform: uppercase;
}

.console-status-pill .pulse-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 10px #10b981;
}

.console-sound-tag {
    color: var(--primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
}

.console-main {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 28px;
    align-items: center;
    margin-bottom: 24px;
}

.console-art-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.console-art {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.console-art-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(7, 6, 10, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(251, 191, 36, 0.3);
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.05em;
    font-family: monospace;
}

.console-art-like {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(7, 6, 10, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ef4444;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.console-art-like:hover {
    transform: scale(1.1);
    background: rgba(7, 6, 10, 0.95);
}

.console-info-wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.console-ready-tag {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 6px;
    font-family: monospace;
}

.console-track-title {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 6px;
    color: var(--text-main);
}

.console-track-title span {
    color: var(--primary);
}

.console-track-sub {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.console-progress-box {
    margin-bottom: 20px;
}

.console-scrubber-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.console-scrubber-fill {
    height: 100%;
    background: linear-gradient(90deg, #FCD34D, #fbbf24);
    box-shadow: 0 0 12px rgba(251, 191, 36, 0.7);
    border-radius: 10px;
    transition: width 0.3s ease;
}

.console-time-row {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 0.75rem;
    color: var(--text-dim);
    font-family: monospace;
}

.console-station-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 10px;
    padding: 8px 14px;
    color: var(--text-main);
    font-size: 0.88rem;
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s ease;
    width: 100%;
}

.console-station-select:hover {
    border-color: var(--primary);
}

.console-controls-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.console-ctrl-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 6px;
}

.console-ctrl-btn:hover {
    color: var(--primary);
    transform: scale(1.1);
}

.console-play-btn {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: var(--primary);
    color: #07060a;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 0 25px rgba(251, 191, 36, 0.55);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.console-play-btn:hover {
    transform: scale(1.08);
    background: #f59e0b;
}

.console-play-btn:active {
    transform: scale(0.95);
}

.console-vol-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
}

.console-vol-slider {
    width: 80px;
    accent-color: var(--primary);
    cursor: pointer;
}

.console-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 14px;
    font-size: 0.72rem;
    color: var(--text-muted);
    font-family: monospace;
}

.console-avatar-sticker {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    box-shadow: 0 0 15px var(--primary-glow);
    display: block;
}

/* 4. Square Communities Caption Below Revolving Guilds */
.communities-caption-wrap {
    display: flex;
    justify-content: center;
    margin-top: 0;
    margin-bottom: 36px;
    padding: 0 20px;
}

.communities-caption-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 28px;
    padding: 10px 22px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.25s ease;
}

.communities-caption-card:hover {
    border-color: rgba(251, 191, 36, 0.2);
}

.communities-caption-card i {
    font-size: 1.3rem;
    color: var(--primary);
}

.caption-title {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-main);
}

.caption-sub {
    font-size: 0.75rem;
    color: var(--text-dim);
}

/* 5. Clickable Station Legend Chips (Cross/Uncross in Stats Doughnut Chart) */
.custom-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
    justify-content: center;
}

.station-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
}

.station-chip:hover {
    border-color: var(--primary);
    transform: translateY(-1px);
}

.station-chip.hidden {
    opacity: 0.35;
    text-decoration: line-through;
    filter: grayscale(1);
}

.station-chip .station-color {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.station-chip .station-remove {
    background: none;
    border: none;
    color: inherit;
    font-size: 0.75rem;
    margin-left: 2px;
    cursor: pointer;
    opacity: 0.7;
}

/* 6. Technical System Status (Nazha Inspired) */
.tech-hero-card {
    background: var(--bg-card);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 36px;
    margin-bottom: 28px;
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 28px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* ==========================================================================
   AUTHENTIC RADIO SONAR FREQUENCY SCOPE (Interactive Status Telemetry)
   ========================================================================== */
.radio-sonar-scope {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    position: relative;
    background: radial-gradient(circle, #081a14 0%, #040c09 70%, #020605 100%);
    border: 2px solid rgba(16, 185, 129, 0.45);
    box-shadow: 
        0 0 22px rgba(16, 185, 129, 0.25),
        inset 0 0 16px rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

[data-theme="light"] .radio-sonar-scope {
    background: radial-gradient(circle, #e6f9f0 0%, #d1f2e1 100%);
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.2);
}

.sonar-screen {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.sonar-reticle-h, .sonar-reticle-v {
    position: absolute;
    background: rgba(16, 185, 129, 0.2);
}

.sonar-reticle-h {
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    transform: translateY(-50%);
}

.sonar-reticle-v {
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    transform: translateX(-50%);
}

.sonar-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(16, 185, 129, 0.22);
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.sonar-ring-1 { width: 34px; height: 34px; border-style: solid; border-color: rgba(16, 185, 129, 0.25); }
.sonar-ring-2 { width: 62px; height: 62px; }
.sonar-ring-3 { width: 86px; height: 86px; border-color: rgba(16, 185, 129, 0.15); }

/* Rotating Sonar Phosphor Sweep Beam */
.sonar-sweep-beam {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(16, 185, 129, 0.5) 0deg, rgba(16, 185, 129, 0.12) 35deg, transparent 75deg);
    animation: sonarBeamSweep 3.2s linear infinite;
    pointer-events: none;
}

@keyframes sonarBeamSweep {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Pulsing Frequency Targets (Blips) */
.sonar-blip {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    opacity: 0.2;
    animation: sonarBlipFlash 3.2s ease-in-out infinite;
}

.sonar-blip.blip-1 { top: 22px; right: 28px; animation-delay: 0.7s; }
.sonar-blip.blip-2 { bottom: 26px; left: 24px; animation-delay: 2.1s; background: #fbbf24; box-shadow: 0 0 8px #fbbf24; }
.sonar-blip.blip-3 { top: 62px; right: 20px; animation-delay: 1.4s; }

@keyframes sonarBlipFlash {
    0%, 100% { opacity: 0.25; transform: scale(0.85); }
    15% { opacity: 1; transform: scale(1.4); }
    40% { opacity: 0.35; transform: scale(1); }
}

.sonar-core-hub {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #092117;
    border: 1.5px solid #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #10b981;
    font-size: 0.95rem;
    z-index: 2;
    box-shadow: 0 0 14px rgba(16, 185, 129, 0.55);
}

[data-theme="light"] .sonar-core-hub {
    background: #ffffff;
    border-color: #10b981;
    color: #059669;
}

.sonar-live-beacon {
    position: absolute;
    top: 7px;
    right: 7px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    z-index: 3;
    animation: livePulseBeacon 1.8s ease-in-out infinite;
}

@keyframes livePulseBeacon {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.35); opacity: 0.6; }
}

.tech-hero-title {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
    color: var(--text-main);
}

.tech-hero-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 540px;
    line-height: 1.5;
}

.tech-operational-tag {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}

.hardware-strip {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 12px 20px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.82rem;
    font-family: monospace;
    color: var(--text-muted);
}

.hardware-strip span strong {
    color: var(--primary);
}

/* Gateway & Shard Tree */
.gateways-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 36px;
}

.gateway-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: all 0.25s ease;
}

.gateway-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-2px);
}

.gateway-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    font-family: monospace;
}

.gateway-ping {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

/* Core Infrastructure Operational Cards */
.infra-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 36px;
}

@media (max-width: 1024px) {
    .infra-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 540px) {
    .infra-grid {
        grid-template-columns: 1fr;
    }
}

.infra-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 20px 22px;
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease;
}

.infra-card:hover {
    border-color: rgba(251, 191, 36, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .infra-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

[data-theme="light"] .infra-card:hover {
    border-color: rgba(217, 119, 6, 0.35);
    box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.08);
}

.infra-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

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

.infra-val {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    font-family: monospace;
}

.infra-wave-svg {
    display: none;
}

/* Responsive adjustment for console */
@media (max-width: 768px) {
    .console-main {
        grid-template-columns: 1fr;
    }
    .console-art {
        height: 200px;
    }
    .tech-hero-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .radio-sonar-scope, .broadcast-transmitter-wrap {
        margin: 0 auto;
    }
    .communities-caption-card {
        flex-direction: column;
        text-align: center;
    }
}

/* ==========================================================================
   GLOBAL SELECT & OPTIONS DARK FIX (Prevents white box/invisible options)
   ========================================================================== */
select, 
.console-station-select, 
.player-station-select, 
.dashboard-select,
.tuner-select {
    background-color: #12101b !important;
    color: #f9fafb !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    font-size: 0.9rem;
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

select option, 
.console-station-select option, 
.player-station-select option, 
.dashboard-select option,
.tuner-select option {
    background-color: #12101b !important;
    color: #f9fafb !important;
    padding: 12px 14px !important;
    font-size: 0.9rem;
}

select:focus, 
.console-station-select:focus, 
.dashboard-select:focus,
.tuner-select:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 2px var(--primary-glow) !important;
}

/* ==========================================================================
   ANIMATED BEATING HEART FOR COMMUNITIES BADGE
   ========================================================================== */
@keyframes heartBeat {
    0%, 100% {
        transform: scale(1);
    }
    14% {
        transform: scale(1.3);
    }
    28% {
        transform: scale(1);
    }
    42% {
        transform: scale(1.3);
    }
    70% {
        transform: scale(1);
    }
}

.beat-heart {
    animation: heartBeat 1.4s ease-in-out infinite;
    display: inline-block;
    filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.7));
}

/* ==========================================================================
   NAVBAR USER PROFILE DROPDOWN MENU
   ========================================================================== */
.user-dropdown-wrap {
    position: relative;
    display: inline-block;
}

.user-trigger-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: #07060a;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 6px 14px;
    border-radius: 20px;
    border: none;
    cursor: pointer;
    box-shadow: 0 0 16px var(--primary-glow);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.user-trigger-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.user-trigger-avatar {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
}

.user-trigger-name {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 1100px) {
    .launcher-shortcut-pill .kbd-key {
        display: none !important;
    }
    .user-trigger-name {
        max-width: 75px;
    }
}

@media (max-width: 950px) {
    .user-trigger-name {
        display: none !important;
    }
    .user-trigger-btn {
        padding: 6px 10px;
    }
}

.user-trigger-chevron {
    font-size: 0.72rem;
    transition: transform 0.2s ease;
}

.user-trigger-chevron.open {
    transform: rotate(180deg);
}

.user-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 230px;
    background: rgba(18, 16, 26, 0.96);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.05);
    padding: 8px;
    z-index: 1000;
    animation: fadeInDropdown 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInDropdown {
    from {
        opacity: 0;
        transform: translateY(-8px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.dropdown-user-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
}

.dropdown-user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid var(--primary);
    object-fit: cover;
}

.dropdown-user-name {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dropdown-user-tag {
    font-size: 0.75rem;
    color: var(--text-dim);
}

.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 6px 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 9px 12px;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    background: transparent;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: left;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-main);
}

.dropdown-item i {
    width: 16px;
    text-align: center;
    color: var(--primary);
    font-size: 0.9rem;
}

.dropdown-item.logout {
    color: #ef4444;
}

.dropdown-item.logout:hover {
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
}

.dropdown-item.logout i {
    color: #ef4444;
}

/* ==========================================================================
   COMPACT RADIO TUNER DECK (HOME PAGE RADIO THEMED CONSOLE)
   ========================================================================== */
.radio-tuner-section {
    margin: 28px auto 40px;
    max-width: 900px;
    width: 100%;
}

.radio-tuner-deck {
    background: rgba(18, 16, 26, 0.85);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.6), 0 0 24px -6px var(--primary-glow);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.radio-tuner-deck:hover {
    border-color: var(--border-glow);
}

.tuner-top-strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tuner-freq-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(251, 191, 36, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.3);
    padding: 4px 12px;
    border-radius: 20px;
}

.tuner-freq-text {
    font-family: monospace;
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    color: var(--primary);
}

.live-blink-dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: liveBlink 1.2s infinite;
}

@keyframes liveBlink {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.8); }
}

.tuner-specs-badges {
    display: flex;
    gap: 10px;
}

.tuner-spec-pill {
    font-family: monospace;
    font-size: 0.75rem;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.04);
    padding: 4px 10px;
    border-radius: 8px;
}

.tuner-main-bar {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.tuner-play-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--primary);
    color: #07060a;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.5);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.tuner-play-btn:hover {
    transform: scale(1.08);
    background: var(--primary-hover);
}

.tuner-play-btn.playing {
    animation: tunerPulse 2s infinite;
}

@keyframes tunerPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(251, 191, 36, 0.5); }
    50% { box-shadow: 0 0 35px rgba(251, 191, 36, 0.85); }
}

.tuner-info-box {
    flex: 1;
    min-width: 200px;
}

.tuner-station-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 3px;
}

.tuner-station-meta {
    font-size: 0.82rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.tuner-eq-wave {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    height: 16px;
    margin-top: 6px;
}

.tuner-eq-wave span {
    width: 3px;
    background: var(--primary);
    border-radius: 2px;
    animation: eqBounce 1.2s ease-in-out infinite alternate;
}

.tuner-eq-wave span:nth-child(1) { height: 40%; animation-delay: 0.1s; }
.tuner-eq-wave span:nth-child(2) { height: 80%; animation-delay: 0.3s; }
.tuner-eq-wave span:nth-child(3) { height: 100%; animation-delay: 0.2s; }
.tuner-eq-wave span:nth-child(4) { height: 60%; animation-delay: 0.4s; }
.tuner-eq-wave span:nth-child(5) { height: 90%; animation-delay: 0.15s; }
.tuner-eq-wave span:nth-child(6) { height: 50%; animation-delay: 0.35s; }
.tuner-eq-wave span:nth-child(7) { height: 75%; animation-delay: 0.25s; }
.tuner-eq-wave span:nth-child(8) { height: 35%; animation-delay: 0.05s; }

@keyframes eqBounce {
    0% { transform: scaleY(0.3); }
    100% { transform: scaleY(1); }
}

.tuner-actions-box {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.tuner-select {
    min-width: 210px;
}

.tuner-vol-box {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
}

/* ==========================================================================
   DASHBOARD SERVER SETTINGS & CONTROLS
   ========================================================================== */
.dashboard-settings-card {
    background: var(--bg-card);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-top: 24px;
    box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.5);
}

.setting-row {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.setting-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

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

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

.setting-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.save-settings-btn {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #07060a;
    font-weight: 700;
    font-size: 1rem;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    box-shadow: 0 0 24px var(--primary-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s ease;
    margin-top: 28px;
}

.save-settings-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(251, 191, 36, 0.6);
}

.save-settings-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.toast-alert {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: #10b981;
    color: #fff;
    padding: 14px 24px;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 9999;
    animation: toastPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-alert.toast-error {
    background: #ef4444;
}

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

@media (max-width: 768px) {
    .tuner-main-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .tuner-actions-box {
        width: 100%;
    }
    .tuner-select {
        flex: 1;
        min-width: 140px;
    }
}

/* ==========================================================================
   LOW-POWER / ANIMATIONS OFF MODE (Eliminates lag for slower devices)
   ========================================================================== */
body.animations-off *,
body.animations-off *::before,
body.animations-off *::after {
    animation: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
    transition-duration: 0.05s !important;
}

body.animations-off .ambient-particles,
body.animations-off .ember,
body.animations-off .cinematic-hero-particles,
body.animations-off .podium-sparkle {
    display: none !important;
}

/* ==========================================================================
   CYBERNETIC SCROLLBAR INDICATOR (Nazha Cyberpunk Ruler & Percentage)
   ========================================================================== */
.cyber-scroll-indicator {
    position: fixed;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 95;
    pointer-events: auto;
    user-select: none;
}

.scroll-vertical-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    font-family: 'JetBrains Mono', monospace, sans-serif;
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--primary);
    margin-bottom: 24px;
    opacity: 0.85;
    line-height: 1;
    pointer-events: none;
}

.scroll-track-wrapper {
    position: relative;
    width: 32px;
    height: min(68vh, 520px);
    min-height: 360px;
    display: flex;
    justify-content: center;
    cursor: pointer;
}

.scroll-track-wrapper::before {
    content: '';
    position: absolute;
    inset: -6px -12px;
    cursor: pointer;
}

.scroll-track-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1.5px;
    background: linear-gradient(to bottom, rgba(251, 191, 36, 0.45), rgba(251, 191, 36, 0.16) 50%, rgba(251, 191, 36, 0.45));
    transform: translateX(-50%);
    border-radius: 1.5px;
    box-shadow: 0 0 6px rgba(251, 191, 36, 0.25);
}

.scroll-track-ticks {
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(50% + 5px);
    width: 4px;
    background-image: repeating-linear-gradient(to bottom, rgba(251, 191, 36, 0.35) 0px, rgba(251, 191, 36, 0.35) 1px, transparent 1px, transparent 16px);
    pointer-events: none;
    opacity: 0.5;
}

.scroll-diamond-node {
    position: absolute;
    left: 50%;
    width: 7px;
    height: 7px;
    border: 1.2px solid var(--primary);
    background: #07060a;
    transform: translateX(-50%) rotate(45deg);
    z-index: 2;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.scroll-diamond-node:hover {
    transform: translateX(-50%) rotate(45deg) scale(1.4);
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary);
}

.scroll-diamond-node.node-top { top: 0; }
.scroll-diamond-node.node-mid { top: 50%; }
.scroll-diamond-node.node-bottom { bottom: 0; }

.scroll-thumb-cartridge {
    position: absolute;
    left: 50%;
    width: 12px;
    height: 22px;
    background: linear-gradient(135deg, #fef08a, #fbbf24, #d97706);
    clip-path: polygon(50% 0%, 100% 28%, 100% 72%, 50% 100%, 0% 72%, 0% 28%);
    transform: translate(-50%, -50%);
    box-shadow: 0 0 14px rgba(251, 191, 36, 0.85), inset 0 0 3px rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    cursor: grab;
    transition: top 0.08s linear, transform 0.15s ease, box-shadow 0.15s ease;
}

.scroll-thumb-cartridge:hover {
    transform: translate(-50%, -50%) scale(1.2);
    box-shadow: 0 0 20px rgba(251, 191, 36, 1), 0 0 6px #ffffff;
}

.cyber-scroll-indicator.dragging .scroll-thumb-cartridge {
    cursor: grabbing;
    transform: translate(-50%, -50%) scale(1.25);
    box-shadow: 0 0 26px rgba(251, 191, 36, 1), 0 0 8px #ffffff;
    transition: none !important;
}

.thumb-core-dot {
    width: 3.5px;
    height: 3.5px;
    border-radius: 50%;
    background: #07060a;
}

.scroll-percent-display {
    font-family: 'JetBrains Mono', monospace, sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--primary);
    margin-top: 24px;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
    letter-spacing: 0.05em;
    pointer-events: none;
    transition: transform 0.2s ease, text-shadow 0.2s ease;
}

.cyber-scroll-indicator.dragging .scroll-percent-display {
    transform: scale(1.08);
    text-shadow: 0 0 14px rgba(251, 191, 36, 0.95);
}

/* Light mode cyber scrollbar */
[data-theme="light"] .scroll-track-line {
    background: linear-gradient(to bottom, rgba(217, 119, 6, 0.45), rgba(203, 213, 225, 0.5) 50%, rgba(217, 119, 6, 0.45));
    box-shadow: none;
}

[data-theme="light"] .scroll-track-ticks {
    background-image: repeating-linear-gradient(to bottom, rgba(217, 119, 6, 0.4) 0px, rgba(217, 119, 6, 0.4) 1px, transparent 1px, transparent 16px);
}

[data-theme="light"] .scroll-diamond-node {
    background: #ffffff;
    border-color: #d97706;
}

[data-theme="light"] .scroll-diamond-node:hover {
    background: #d97706;
    box-shadow: 0 0 8px rgba(217, 119, 6, 0.5);
}

[data-theme="light"] .scroll-percent-display {
    color: #b45309;
    text-shadow: none;
}

[data-theme="light"] .scroll-vertical-label {
    color: #b45309;
}

/* ==========================================================================
   PAGE VIEW TRANSITION ANIMATION (Smooth, Lightweight, GPU-Accelerated)
   ========================================================================== */
@keyframes pageEnter {
    0% {
        opacity: 0;
        transform: translateY(10px) scale(0.996);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.spa-page-view.page-enter {
    animation: pageEnter 0.26s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    will-change: opacity, transform;
}

body.animations-off .spa-page-view.page-enter {
    animation: none !important;
    transform: none !important;
}

@media (max-width: 900px) {
    .cyber-scroll-indicator {
        display: none !important;
    }
}

/* ==========================================================================
   FUTURISTIC LOADING SCREEN (Nazha Style)
   ========================================================================== */
.futuristic-loader {
    position: fixed;
    inset: 0;
    background-color: #07060a;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.futuristic-loader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader-grid-bg {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(251, 191, 36, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(251, 191, 36, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.loader-dial-left {
    position: absolute;
    left: -120px;
    top: 50%;
    transform: translateY(-50%);
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, #1a1726 0%, #0d0b14 70%);
    box-shadow: 0 0 80px rgba(0, 0, 0, 0.9), inset 0 0 30px rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.05);
}

.dial-outer-ring {
    width: 250px;
    height: 250px;
    position: relative;
    border-radius: 50%;
    animation: spinSlow 30s linear infinite;
}

@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.dial-pin {
    position: absolute;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #12101b;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.8), 0 2px 4px rgba(255,255,255,0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.dial-pin:nth-child(1) { top: 0; left: 50%; transform: translateX(-50%); }
.dial-pin:nth-child(2) { top: 15%; right: 15%; }
.dial-pin:nth-child(3) { top: 50%; right: 0; transform: translateY(-50%); }
.dial-pin:nth-child(4) { bottom: 15%; right: 15%; }
.dial-pin:nth-child(5) { bottom: 0; left: 50%; transform: translateX(-50%); }
.dial-pin:nth-child(6) { bottom: 15%; left: 15%; }
.dial-pin:nth-child(7) { top: 50%; left: 0; transform: translateY(-50%); }
.dial-pin:nth-child(8) { top: 15%; left: 15%; }

.loader-center-core {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 10;
}

.loader-avatar-wrap {
    position: relative;
    margin-bottom: 20px;
}

.loader-avatar {
    width: 74px;
    height: 74px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    box-shadow: 0 0 35px var(--primary-glow);
    position: relative;
    z-index: 2;
}

.loader-avatar-aura {
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.4) 0%, transparent 70%);
    animation: auraPulse 2s ease-in-out infinite;
}

@keyframes auraPulse {
    0%, 100% { transform: scale(1); opacity: 0.6; }
    50% { transform: scale(1.3); opacity: 1; }
}

.loader-brand-title {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--primary);
    letter-spacing: 0.18em;
    margin-bottom: 6px;
    text-shadow: 0 0 25px rgba(251, 191, 36, 0.4);
}

.loader-brand-subtitle {
    font-family: monospace;
    font-size: 0.72rem;
    color: var(--text-dim);
    letter-spacing: 0.2em;
    margin-bottom: 28px;
}

.loader-loading-text {
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.25em;
    color: var(--primary);
    margin-bottom: 14px;
    text-shadow: 0 0 12px var(--primary-glow);
}

.loader-progress-track {
    width: 220px;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 16px;
}

.loader-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #fde047, #fbbf24);
    box-shadow: 0 0 14px var(--primary);
    border-radius: 10px;
    transition: width 0.3s ease;
}

.loader-status-sub {
    font-family: monospace;
    font-size: 0.7rem;
    color: var(--text-dim);
    letter-spacing: 0.15em;
}

.loader-quick-tip {
    position: absolute;
    bottom: 24px;
    right: 28px;
    font-size: 0.75rem;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: monospace;
}

.loader-quick-tip .tip-label {
    color: var(--primary);
    font-weight: 800;
}

.kbd-key {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 0.7rem;
    color: var(--text-main);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .kbd-key {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #334155;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   QUICK LAUNCHER / COMMAND PALETTE MODAL (Ctrl + K)
   ========================================================================== */
.launcher-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.68);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 10001;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 12vh;
    animation: fadeInModal 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] .launcher-backdrop {
    background: rgba(15, 23, 42, 0.35);
}

@keyframes fadeInModal {
    from { opacity: 0; }
    to { opacity: 1; }
}

.launcher-modal {
    width: 100%;
    max-width: 620px;
    background: #12101b;
    border: 1px solid rgba(251, 191, 36, 0.35);
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 60px -15px rgba(0, 0, 0, 0.9), 0 0 35px -8px var(--primary-glow);
    overflow: hidden;
    animation: scaleModal 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] .launcher-modal {
    background: #ffffff;
    border: 1px solid rgba(217, 119, 6, 0.35);
    box-shadow: 0 24px 60px -15px rgba(0, 0, 0, 0.15), 0 0 25px -5px rgba(217, 119, 6, 0.2);
}

@keyframes scaleModal {
    from { transform: scale(0.96) translateY(-10px); }
    to { transform: scale(1) translateY(0); }
}

.launcher-search-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-subtle);
}

.launcher-search-row i {
    color: var(--primary);
    font-size: 1.15rem;
}

.launcher-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-main);
    font-size: 1.05rem;
    font-weight: 500;
}

.launcher-input::placeholder {
    color: var(--text-dim);
}

.launcher-close-esc {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: var(--text-dim);
    transition: color 0.15s ease;
}

.launcher-close-esc:hover {
    color: var(--text-main);
}

.launcher-items-list {
    max-height: 380px;
    overflow-y: auto;
    padding: 10px;
}

.launcher-items-list::-webkit-scrollbar {
    width: 6px;
}

.launcher-items-list::-webkit-scrollbar-track {
    background: transparent;
}

.launcher-items-list::-webkit-scrollbar-thumb {
    background: var(--border-subtle);
    border-radius: 4px;
}

.launcher-items-list::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

.launcher-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.15s ease;
    border: 1px solid transparent;
}

.launcher-item:hover,
.launcher-item.active {
    background: rgba(251, 191, 36, 0.12);
    border-color: rgba(251, 191, 36, 0.3);
}

[data-theme="light"] .launcher-item:hover,
[data-theme="light"] .launcher-item.active {
    background: rgba(217, 119, 6, 0.08);
    border-color: rgba(217, 119, 6, 0.25);
}

.launcher-item-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    flex-shrink: 0;
}

[data-theme="light"] .launcher-item-icon {
    background: rgba(0, 0, 0, 0.04);
}

.launcher-item.active .launcher-item-icon {
    background: var(--primary);
    color: #07060a;
}

.launcher-item-content {
    flex: 1;
    min-width: 0;
}

.launcher-item-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
}

.launcher-item-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.launcher-item-key {
    font-size: 0.8rem;
    color: var(--text-dim);
    font-family: monospace;
    display: flex;
    align-items: center;
}

.launcher-toggle-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 14px;
    font-size: 0.72rem;
    font-weight: 800;
    font-family: monospace;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
}

.launcher-toggle-pill.on {
    background: rgba(16, 185, 129, 0.16);
    border: 1px solid rgba(16, 185, 129, 0.5);
    color: #10b981;
}

.launcher-toggle-pill.off {
    background: rgba(239, 68, 68, 0.14);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #ef4444;
}

.launcher-toggle-pill.theme-pill {
    background: rgba(251, 191, 36, 0.14);
    border: 1px solid rgba(251, 191, 36, 0.45);
    color: var(--primary);
}

.launcher-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    border-top: 1px solid var(--border-subtle);
    background: rgba(0, 0, 0, 0.2);
    font-size: 0.75rem;
    color: var(--text-dim);
    font-family: monospace;
}

[data-theme="light"] .launcher-footer {
    background: rgba(0, 0, 0, 0.03);
}

.launcher-shortcut-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    padding: 6px 12px;
    border-radius: 20px;
    color: var(--text-muted);
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

@media (max-width: 900px) {
    .launcher-shortcut-pill {
        display: none !important;
    }
}

.launcher-shortcut-pill:hover {
    border-color: var(--primary);
    color: var(--text-main);
}

/* Floating Lag Detection Warning */
.lag-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    background: rgba(18, 16, 26, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(251, 191, 36, 0.4);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
    border-radius: 50px;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9998;
    animation: toastPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    font-size: 0.85rem;
    color: var(--text-main);
}

.lag-banner-btn-disable {
    background: var(--primary);
    color: #07060a;
    font-weight: 700;
    border: none;
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.lag-banner-btn-disable:hover {
    background: var(--primary-hover);
}

.lag-banner-btn-dismiss {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
}

/* ==========================================================================
   ANIMATED INFRASTRUCTURE WAVEFORMS (Real Telemetry Oscilloscope Effect)
   ========================================================================== */
@keyframes waveFlow {
    0% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: -200;
    }
}

.infra-wave-svg path {
    stroke-dasharray: 8 4;
    animation: waveFlow 4s linear infinite;
    filter: drop-shadow(0 0 6px rgba(251, 191, 36, 0.7));
}

/* ==========================================================================
   AUDIO SERVER CLUSTER & TELEMETRY SECTION (STATS PAGE)
   ========================================================================== */
.audio-server-card {
    background: var(--bg-card);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    transition: all 0.2s ease;
}

.audio-server-card:hover {
    border-color: var(--border-glow);
}

.audio-server-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.audio-server-title {
    font-size: 1.15rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.audio-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 860px) {
    .audio-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 520px) {
    .audio-metrics-grid {
        grid-template-columns: 1fr;
    }
}

.audio-metric-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    transition: all 0.2s ease;
}

.audio-metric-box:hover {
    border-color: rgba(251, 191, 36, 0.35);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px -8px rgba(0, 0, 0, 0.4);
}

[data-theme="light"] .audio-metric-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

[data-theme="light"] .audio-metric-box:hover {
    border-color: rgba(217, 119, 6, 0.4);
    box-shadow: 0 6px 20px -8px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .audio-server-header {
    border-bottom: 1px solid #e2e8f0;
}

.audio-metric-val {
    font-size: 1.45rem;
    font-weight: 800;
    font-family: monospace;
    color: var(--primary);
}

.audio-metric-label {
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-top: 6px;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ==========================================================================
   USER PROFILE ROLE BADGES & ACTIVITY VISUALIZER (PROFILE PAGE)
   ========================================================================== */
.profile-badges-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.profile-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    border: 1px solid currentColor;
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.profile-activity-card {
    background: var(--bg-card);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-top: 24px;
}

.activity-bars-wrap {
    height: 130px;
    display: flex;
    align-items: flex-end;
    gap: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.activity-bars-wrap::-webkit-scrollbar {
    height: 4px;
}

.activity-bars-wrap::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

.activity-bar-col {
    flex: 1 0 44px;
    min-width: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: flex-end;
}

.activity-bar-fill {
    width: 100%;
    max-width: 44px;
    border-radius: 6px 6px 2px 2px;
    transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 12px rgba(251, 191, 36, 0.3);
}

.activity-bar-label {
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-top: 8px;
    text-transform: capitalize;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 70px;
}

.activity-chips-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.activity-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.8rem;
}

.chip-color-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.chip-name {
    color: var(--text-muted);
    text-transform: capitalize;
}

.chip-pct {
    color: var(--primary);
    font-weight: 700;
    font-family: monospace;
}

/* ==========================================================================
   LEGAL PAGES & TABS (TOS, PRIVACY, COPYRIGHT / DMCA)
   ========================================================================== */
.legal-nav-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.legal-tab-btn {
    padding: 10px 20px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.legal-tab-btn:hover {
    color: var(--text-main);
    border-color: rgba(251, 191, 36, 0.4);
    background: rgba(251, 191, 36, 0.06);
}

.legal-tab-btn.active {
    background: var(--primary);
    color: #07060a;
    border-color: var(--primary);
    font-weight: 700;
}

[data-theme="light"] .legal-tab-btn {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #475569;
}

[data-theme="light"] .legal-tab-btn.active {
    background: var(--primary);
    color: #07060a;
    border-color: var(--primary);
}

.legal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    margin-bottom: 20px;
    transition: all 0.2s ease;
}

.legal-card:hover {
    border-color: rgba(251, 191, 36, 0.3);
}

[data-theme="light"] .legal-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.legal-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-list {
    margin: 12px 0 12px 20px;
    padding: 0;
}

.legal-list li {
    margin-bottom: 8px;
    line-height: 1.6;
}
.profile-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 20px 0 28px;
}

@media (max-width: 860px) {
    .profile-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* ==========================================================================
   COMPREHENSIVE LIGHT THEME AUDIT & CONTRAST FIXES
   ========================================================================== */
[data-theme="light"] {
    --bg-dark: #faf9f6;
    --bg-card: rgba(255, 255, 255, 0.95);
    --bg-card-hover: #ffffff;
    --border-subtle: rgba(0, 0, 0, 0.08);
    --border-glow: rgba(217, 119, 6, 0.4);
    --primary: #d97706;
    --primary-hover: #b45309;
    --primary-glow: rgba(217, 119, 6, 0.2);
    --text-main: #0f172a;
    --text-muted: #475569;
    --text-dim: #64748b;
}

/* Titles & Headings in Light Mode */
[data-theme="light"] .hero-title {
    background: linear-gradient(180deg, #0f172a 35%, #334155 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] .section-title,
[data-theme="light"] .tech-hero-title,
[data-theme="light"] .console-track-title,
[data-theme="light"] .about-title,
[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4 {
    color: #0f172a;
}

[data-theme="light"] .hero-desc,
[data-theme="light"] .about-desc,
[data-theme="light"] .section-subtitle,
[data-theme="light"] .tech-hero-desc {
    color: #475569;
}

/* Navbar & Nav Pills in Light Mode */
[data-theme="light"] .spa-navbar {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .spa-nav-links {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}

[data-theme="light"] .spa-nav-item {
    color: #475569;
}

[data-theme="light"] .spa-nav-item:hover {
    color: #0f172a;
}

[data-theme="light"] .spa-nav-item.active {
    background: #ffffff;
    color: var(--primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .launcher-shortcut-pill {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #475569;
}

[data-theme="light"] .launcher-shortcut-pill:hover {
    border-color: var(--primary);
    color: #0f172a;
}

[data-theme="light"] .btn-theme-toggle {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #334155;
}

[data-theme="light"] .btn-theme-toggle:hover {
    background: #e2e8f0;
    color: var(--primary);
}

[data-theme="light"] .btn-secondary {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #1e293b;
}

[data-theme="light"] .btn-secondary:hover {
    background: #f8fafc;
    border-color: #94a3b8;
}

/* User Trigger & Profile Dropdown in Light Mode */
[data-theme="light"] .user-dropdown-menu {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .dropdown-user-name {
    color: #0f172a;
}

[data-theme="light"] .dropdown-user-tag {
    color: #64748b;
}

[data-theme="light"] .dropdown-divider {
    background: #e2e8f0;
}

[data-theme="light"] .dropdown-item {
    color: #334155;
}

[data-theme="light"] .dropdown-item:hover {
    background: #f1f5f9;
    color: #0f172a;
}

[data-theme="light"] .dropdown-item.logout {
    color: #dc2626;
}

[data-theme="light"] .dropdown-item.logout:hover {
    background: #fef2f2;
    color: #b91c1c;
}

/* Radio Tuner Deck on Home in Light Mode */
[data-theme="light"] .radio-tuner-deck {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.08), 0 0 20px -6px rgba(217, 119, 6, 0.15);
}

[data-theme="light"] .tuner-top-strip {
    border-bottom: 1px solid #f1f5f9;
}

[data-theme="light"] .tuner-freq-badge {
    background: rgba(217, 119, 6, 0.1);
    border-color: rgba(217, 119, 6, 0.3);
}

[data-theme="light"] .tuner-spec-pill {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    color: #64748b;
}

[data-theme="light"] .tuner-station-title {
    color: #0f172a;
}

[data-theme="light"] .tuner-station-meta {
    color: #64748b;
}

/* Nazha Featured Console Deck in Light Mode */
[data-theme="light"] .nazha-console {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 24px 60px -15px rgba(0, 0, 0, 0.1);
    background-image: 
        linear-gradient(rgba(217, 119, 6, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(217, 119, 6, 0.04) 1px, transparent 1px);
}

[data-theme="light"] .console-art-badge {
    background: #ffffff;
    border: 1px solid rgba(217, 119, 6, 0.3);
    color: var(--primary);
}

[data-theme="light"] .console-art-like {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

[data-theme="light"] .console-art-like:hover {
    background: #f1f5f9;
}

[data-theme="light"] .console-scrubber-bar {
    background: #e2e8f0;
}

[data-theme="light"] .console-controls-bar {
    border-top: 1px solid #e2e8f0;
}

/* Global Select & Option Light Theme Overrides */
[data-theme="light"] select, 
[data-theme="light"] .console-station-select, 
[data-theme="light"] .player-station-select, 
[data-theme="light"] .dashboard-select,
[data-theme="light"] .tuner-select {
    background-color: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
}

[data-theme="light"] select option, 
[data-theme="light"] .console-station-select option, 
[data-theme="light"] .player-station-select option, 
[data-theme="light"] .dashboard-select option,
[data-theme="light"] .tuner-select option {
    background-color: #ffffff !important;
    color: #0f172a !important;
}

/* Global Cards in Light Mode */
[data-theme="light"] .stat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

[data-theme="light"] .stat-value {
    color: #0f172a;
}

[data-theme="light"] .stat-label {
    color: #64748b;
}

[data-theme="light"] .about-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

[data-theme="light"] .stat-mini {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

[data-theme="light"] .stat-mini h4 {
    color: #0f172a;
}

[data-theme="light"] .stat-mini p {
    color: #64748b;
}

[data-theme="light"] .feature-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

[data-theme="light"] .faq-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

[data-theme="light"] .faq-question {
    color: #0f172a;
}

[data-theme="light"] .faq-answer {
    color: #475569;
    border-top: 1px solid #f1f5f9;
}

[data-theme="light"] .marquee-pill {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #0f172a;
}

[data-theme="light"] .communities-caption-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

[data-theme="light"] .caption-title {
    color: #0f172a;
}

[data-theme="light"] .caption-sub {
    color: #64748b;
}

/* Commands Page in Light Mode */
[data-theme="light"] .command-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

[data-theme="light"] .cmd-name {
    color: #0f172a;
}

[data-theme="light"] .cmd-desc {
    color: #475569;
}

[data-theme="light"] .cmd-cat-badge {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

[data-theme="light"] .cmd-badge {
    background: #f1f5f9;
    color: #64748b;
}

[data-theme="light"] .search-bar-wrap {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

[data-theme="light"] .search-input {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #0f172a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

[data-theme="light"] .search-input::placeholder {
    color: #94a3b8;
}

[data-theme="light"] .cat-pill {
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #475569;
}

[data-theme="light"] .cat-pill.active {
    background: var(--primary);
    color: #07060a;
    border-color: var(--primary);
}

/* Profile & Dashboard in Light Mode */
[data-theme="light"] .profile-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

[data-theme="light"] .xp-bar-bg {
    background: #e2e8f0;
}

[data-theme="light"] .dashboard-settings-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

[data-theme="light"] .setting-row {
    border-bottom: 1px solid #f1f5f9;
}

[data-theme="light"] .setting-title {
    color: #0f172a;
}

[data-theme="light"] .setting-desc {
    color: #64748b;
}

[data-theme="light"] .track-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

[data-theme="light"] .track-title {
    color: #0f172a;
}

[data-theme="light"] .track-author {
    color: #64748b;
}

[data-theme="light"] .mobile-drawer {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid #e2e8f0;
}

[data-theme="light"] .mobile-drawer-link {
    color: #475569;
}

[data-theme="light"] .mobile-drawer-link:hover,
[data-theme="light"] .mobile-drawer-link.active {
    background: #f1f5f9;
    color: #0f172a;
}

/* Footer in Light Mode */
[data-theme="light"] .spa-footer {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

[data-theme="light"] .footer-brand p {
    color: #475569;
}

[data-theme="light"] .footer-col h5 {
    color: #0f172a;
}

[data-theme="light"] .footer-col a,
[data-theme="light"] .footer-col button {
    color: #475569;
}

[data-theme="light"] .footer-col a:hover,
[data-theme="light"] .footer-col button:hover {
    color: var(--primary);
}

[data-theme="light"] .footer-bottom {
    border-top: 1px solid #e2e8f0;
    color: #64748b;
}

[data-theme="light"] .footer-socials a {
    color: #64748b;
}

[data-theme="light"] .footer-socials a:hover {
    color: var(--primary);
}

[data-theme="light"] .scroll-diamond-node {
    background: #ffffff;
}

[data-theme="light"] .lag-banner {
    background: #ffffff;
    border-color: rgba(217, 119, 6, 0.4);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ==========================================================================
   UNIFIED COZY STUDIO RADIO TUNER DECK (COMBINED BANNER + TUNER)
   ========================================================================== */
.unified-radio-deck-section {
    margin: 0 0 48px;
    position: relative;
    width: 100%;
}

.unified-radio-deck {
    background: var(--bg-card);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.7), 0 0 35px -10px var(--primary-glow);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.unified-radio-deck:hover {
    border-color: var(--border-glow);
    box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.85), 0 0 45px -8px var(--primary-glow);
}

[data-theme="light"] .unified-radio-deck {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.1), 0 0 25px -5px rgba(217, 119, 6, 0.15);
}

.deck-banner-wrap {
    position: relative;
    width: 100%;
    height: clamp(260px, 26vw, 320px);
    overflow: hidden;
    background: #07060a;
}

@media (max-width: 768px) {
    .deck-banner-wrap {
        height: 210px;
    }
}

@media (max-width: 480px) {
    .deck-banner-wrap {
        height: 180px;
    }
    .footer-container {
        padding: 0 1rem;
    }
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 24px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 14px;
        text-align: center;
        align-items: center;
    }
}

.deck-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.unified-radio-deck:hover .deck-banner-img {
    transform: scale(1.02);
}

.deck-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 6, 10, 0.6) 0%, transparent 40%, rgba(7, 6, 10, 0.88) 100%);
    pointer-events: none;
}

[data-theme="light"] .deck-banner-overlay {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.45) 0%, transparent 40%, rgba(15, 23, 42, 0.78) 100%);
}

.deck-top-badges {
    position: absolute;
    top: 16px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 2;
    flex-wrap: wrap;
    gap: 10px;
}

.deck-top-badges .tuner-freq-badge {
    background: rgba(7, 6, 10, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(251, 191, 36, 0.4);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.deck-top-badges .tuner-spec-pill {
    background: rgba(7, 6, 10, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #f1f5f9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.deck-banner-caption {
    position: absolute;
    bottom: 16px;
    left: 20px;
    right: 20px;
    z-index: 2;
    pointer-events: none;
}

.deck-caption-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: monospace;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 4px;
    text-transform: uppercase;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.deck-caption-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
}

@media (max-width: 640px) {
    .deck-caption-title {
        font-size: 1.15rem;
    }
}

.deck-controls-bar {
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    background: rgba(18, 16, 26, 0.75);
    border-top: 1px solid var(--border-subtle);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

[data-theme="light"] .deck-controls-bar {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
}

/* ==========================================================================
   SUBTLE RADIO & MUSIC THEMED ANIMATIONS
   ========================================================================== */
.vinyl-disc {
    width: 42px;
    height: 42px;
    background-image: url('https://i.postimg.cc/8CJhB6xS/Rotating-Gold-Vinyl-Disc-Animation.gif');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border: none;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.7)) drop-shadow(0 0 6px rgba(251, 191, 36, 0.45));
    display: inline-block;
    flex-shrink: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.vinyl-disc:not(.spinning) {
    filter: grayscale(0.6) opacity(0.55);
}

.radio-wave-bars {
    display: inline-flex;
    align-items: flex-end;
    gap: 2.5px;
    height: 14px;
    vertical-align: middle;
}

.radio-wave-bars span {
    width: 2.5px;
    background: var(--primary);
    border-radius: 2px;
    animation: waveBarBounce 1s ease-in-out infinite alternate;
}

.radio-wave-bars span:nth-child(1) { height: 40%; animation-delay: 0.05s; }
.radio-wave-bars span:nth-child(2) { height: 90%; animation-delay: 0.25s; }
.radio-wave-bars span:nth-child(3) { height: 60%; animation-delay: 0.15s; }
.radio-wave-bars span:nth-child(4) { height: 100%; animation-delay: 0.35s; }

@keyframes waveBarBounce {
    0% { transform: scaleY(0.25); }
    100% { transform: scaleY(1); }
}

body.animations-off .vinyl-disc.spinning,
body.animations-off .radio-wave-bars span {
    animation: none !important;
}

/* Dashboard Audio Presets & Filters Panel */
.audio-filters-panel {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--border-subtle);
}

.filters-header-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.filter-pills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-pill {
    padding: 7px 14px;
    border-radius: 20px;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 6px;
    user-select: none;
}

[data-theme="light"] .filter-pill {
    background: rgba(0, 0, 0, 0.04);
}

.filter-pill:hover {
    background: var(--bg-card-hover);
    color: var(--text-main);
    border-color: var(--primary);
    transform: translateY(-1px);
}

.filter-pill.active {
    background: var(--primary-glow);
    border-color: var(--primary);
    color: var(--primary);
    font-weight: 700;
    box-shadow: 0 0 12px var(--primary-glow);
}

.filter-pill:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* ==========================================================================
   CINEMATIC HERO SECTION (Full-Bleed Top & Accurate Reference 5 Typography)
   ========================================================================== */
.cinematic-hero-section {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-top: -110px;
    padding-top: 124px;
    min-height: 470px;
    border-radius: 0;
    border: none;
    overflow: hidden;
    margin-bottom: 0; /* Seamless flow into communities strip - no dark void */
    background: #07060a;
    box-shadow: none;
}

.cinematic-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.cinematic-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 74% 28%;
}

/* Atmospheric Multi-layer Gradient: crisp text contrast on left, vibrant art & clearly visible cat on right */
.cinematic-hero-overlay {
    position: absolute;
    inset: 0;
    background: 
        /* Left dark vignette focused under the text column */
        linear-gradient(90deg, 
            rgba(7, 6, 10, 0.94) 0%, 
            rgba(7, 6, 10, 0.84) 34%, 
            rgba(7, 6, 10, 0.45) 54%, 
            rgba(7, 6, 10, 0.08) 72%,
            transparent 100%
        ),
        /* Ultra-soft low bottom edge melt so the cat on the windowsill remains clearly visible */
        linear-gradient(0deg, #07060a 0%, rgba(7, 6, 10, 0.4) 3%, transparent 10%),
        /* Top edge subtle shade behind navbar */
        linear-gradient(180deg, rgba(7, 6, 10, 0.65) 0%, transparent 22%);
    pointer-events: none;
    z-index: 1;
}

[data-theme="light"] .cinematic-hero-section {
    background: #faf9f6;
}

[data-theme="light"] .cinematic-hero-overlay {
    background: 
        linear-gradient(90deg, 
            rgba(250, 249, 246, 0.94) 0%, 
            rgba(250, 249, 246, 0.84) 34%, 
            rgba(250, 249, 246, 0.45) 54%, 
            rgba(250, 249, 246, 0.08) 72%,
            transparent 100%
        ),
        /* Ultra-soft low bottom edge melt so the cat on the windowsill remains clearly visible in light mode */
        linear-gradient(0deg, #faf9f6 0%, rgba(250, 249, 246, 0.4) 3%, transparent 10%),
        linear-gradient(180deg, rgba(250, 249, 246, 0.65) 0%, transparent 22%);
}

.cinematic-hero-glow {
    position: absolute;
    top: 15%;
    left: 4%;
    width: 440px;
    height: 440px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.2) 0%, rgba(245, 158, 11, 0.06) 50%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    filter: blur(55px);
}

[data-theme="light"] .cinematic-hero-glow {
    background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
}

/* Subtle Golden Ambient Particles */
.cinematic-hero-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.c-particle {
    position: absolute;
    color: #fbbf24;
    font-size: 0.9rem;
    opacity: 0.6;
    animation: particleTwinkle 4s ease-in-out infinite;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.8);
}

.c-particle.p-1 { top: 18%; left: 22%; animation-delay: 0s; font-size: 1.1rem; }
.c-particle.p-2 { top: 38%; left: 42%; animation-delay: 1.2s; font-size: 0.8rem; }
.c-particle.p-3 { top: 68%; left: 16%; animation-delay: 2.4s; font-size: 0.95rem; }
.c-particle.p-4 { top: 22%; left: 48%; animation-delay: 1.8s; font-size: 0.75rem; }

@keyframes particleTwinkle {
    0%, 100% { opacity: 0.3; transform: scale(0.85); }
    50% { opacity: 0.9; transform: scale(1.15); }
}

.cinematic-hero-content {
    position: relative;
    z-index: 2;
    padding: 14px 36px 36px;
    max-width: 1140px;
    margin: 0 auto;
}

/* ---- 2-STAGE BRAND HERO: Top Header Row (Mascot + Title) & Bottom Stack (Desc + Buttons below logo) ---- */
.hero-brand-lockup {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.hero-brand-header-row {
    display: flex;
    align-items: center;
    gap: 26px;
}

.hero-header-titles {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.hero-bottom-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

/* Mascot Orbit Wrapper (compact to match reference) */
.mascot-orbit-wrap {
    position: relative;
    width: 170px;
    height: 170px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
}

.mascot-glow-aura {
    position: absolute;
    inset: -14px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.38) 0%, rgba(245, 158, 11, 0.1) 50%, transparent 75%);
    pointer-events: none;
    z-index: 0;
    animation: mascotGlowPulse 4s ease-in-out infinite;
}

@keyframes mascotGlowPulse {
    0%, 100% { opacity: 0.75; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.06); }
}

[data-theme="light"] .mascot-glow-aura {
    background: radial-gradient(circle, rgba(245, 158, 11, 0.2) 0%, transparent 70%);
}

.mascot-avatar-circle {
    width: 148px;
    height: 148px;
    border-radius: 50%;
    border: 3.5px solid rgba(251, 191, 36, 0.95);
    box-shadow:
        0 0 28px rgba(251, 191, 36, 0.55),
        0 0 60px rgba(245, 158, 11, 0.22);
    object-fit: cover;
    z-index: 2;
    background: #181424;
    position: relative;
}

[data-theme="light"] .mascot-avatar-circle {
    border-color: rgba(217, 119, 6, 0.9);
    box-shadow: 0 0 22px rgba(217, 119, 6, 0.35);
}

.mascot-orbit-ring {
    position: absolute;
    width: 172px;
    height: 70px;
    border: 1.5px solid rgba(251, 191, 36, 0.6);
    border-radius: 50%;
    transform: rotate(-22deg);
    pointer-events: none;
    z-index: 3;
    box-shadow: 0 0 14px rgba(251, 191, 36, 0.35);
    animation: orbitRingSpin 24s linear infinite;
}

@keyframes orbitRingSpin {
    0% { transform: rotate(-22deg); }
    100% { transform: rotate(338deg); }
}

[data-theme="light"] .mascot-orbit-ring {
    border-color: rgba(217, 119, 6, 0.45);
    box-shadow: 0 0 8px rgba(217, 119, 6, 0.2);
}

/* Orbit Music Notes */
.orbit-note {
    position: absolute;
    color: #fbbf24;
    font-size: 1.25rem;
    text-shadow: 0 0 14px rgba(251, 191, 36, 0.9);
    pointer-events: none;
    z-index: 4;
}

[data-theme="light"] .orbit-note {
    color: #d97706;
    text-shadow: 0 0 8px rgba(217, 119, 6, 0.5);
}

.orbit-note-1 {
    top: 4px;
    left: 8px;
    animation: floatNote 3.5s ease-in-out infinite;
}

.orbit-note-2 {
    top: 14px;
    right: 2px;
    animation: floatNote 4s ease-in-out infinite 0.8s;
}

.orbit-note-3 {
    bottom: 8px;
    left: 14px;
    animation: floatNote 4.2s ease-in-out infinite 1.5s;
}

.orbit-note-4 {
    bottom: 4px;
    right: 12px;
    animation: floatNote 3.8s ease-in-out infinite 2.2s;
}

@keyframes floatNote {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.85;
    }
    50% {
        transform: translateY(-8px) scale(1.18);
        opacity: 1;
    }
}

/* ---- Right Column: One Coherent Left-Aligned Stack ---- */
.hero-text-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    flex: 1;
    min-width: 0;
}

/* ---- Main Heading: Editorial & Bold (Straight per User Request) ---- */
.hero-brand-title {
    font-size: clamp(3.4rem, 5vw, 4.6rem);
    font-weight: 850;
    letter-spacing: -0.015em;
    line-height: 1.06;
    margin: 0 0 6px;
    filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.7));
    white-space: nowrap;
    overflow: visible;
}

.brand-word-mofi {
    color: #ffffff;
    font-style: normal;
    font-weight: 850;
}

[data-theme="light"] .brand-word-mofi {
    color: #1f2937;
}

.brand-word-radio {
    font-style: normal;
    font-weight: 900;
    background: linear-gradient(135deg, #ffe066 0%, #fbbf24 35%, #f59e0b 70%, #ea580c 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-left: 0.2em;
    display: inline-block;
    padding-right: 14px; /* Completely eliminates gradient clip cut-off of the letter 'o' */
}

[data-theme="light"] .brand-word-radio {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ---- Tagline: Left-Aligned Underneath Heading (Straight per User Request) ---- */
.hero-brand-tagline {
    font-size: 1.28rem;
    font-style: normal;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px;
    letter-spacing: -0.01em;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 7px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}

[data-theme="light"] .hero-brand-tagline {
    color: #1f2937;
    text-shadow: none;
}

.tagline-note-accent {
    color: #fbbf24;
    text-shadow: 0 0 14px rgba(251, 191, 36, 0.7);
    font-size: 1.35rem;
    font-style: normal;
}

[data-theme="light"] .tagline-note-accent {
    color: #d97706;
}

/* ---- Description: Left-Aligned Underneath Tagline ---- */
.hero-brand-description {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.78);
    max-width: 520px;
    line-height: 1.55;
    margin: 0 0 22px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .hero-brand-description {
    color: rgba(31, 41, 55, 0.88);
    text-shadow: none;
}

.desk-break {
    display: block;
}


/* ---- Flanked Description with Gold Hairlines (Matching Screenshot 4) ---- */
.hero-desc-flanked-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin: 4px 0 16px;
    width: 100%;
    max-width: 490px;
}

.hero-desc-topline {
    font-size: 0.96rem;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
    margin-bottom: 2px;
}

[data-theme="light"] .hero-desc-topline {
    color: #1f2937;
    text-shadow: none;
}

.hero-desc-line-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

.hero-hairline {
    height: 1px;
    flex: 1;
    max-width: 70px;
    background: linear-gradient(90deg, rgba(251, 191, 36, 0.6), transparent);
}

.hero-hairline:first-child {
    background: linear-gradient(270deg, rgba(251, 191, 36, 0.6), transparent);
}

.hero-desc-subline {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.78);
    white-space: nowrap;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

[data-theme="light"] .hero-desc-subline {
    color: #4b5563;
    text-shadow: none;
}

/* ---- Action Buttons: ALL THREE ON ONE HORIZONTAL ROW ON DESKTOP ---- */
.hero-brand-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap; /* Desktop guarantee: NO WRAPPING */
}

.btn-brand-primary {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: #111827 !important;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 11px 22px;
    border-radius: 28px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-brand-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 34px rgba(245, 158, 11, 0.65);
    color: #000000 !important;
}

.brand-arrow {
    font-size: 0.82rem;
    margin-left: 2px;
    transition: transform 0.2s ease;
}

.btn-brand-primary:hover .brand-arrow {
    transform: translateX(3px);
}

.btn-brand-secondary {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 11px 20px;
    border-radius: 28px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    text-decoration: none;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
    flex-shrink: 0;
}

[data-theme="light"] .btn-brand-secondary {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 0, 0, 0.12);
    color: #1f2937;
}

.btn-brand-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(251, 191, 36, 0.65);
    transform: translateY(-2px);
    color: #ffffff;
}

[data-theme="light"] .btn-brand-secondary:hover {
    border-color: rgba(217, 119, 6, 0.6);
    color: #111827;
}

.topgg-pink-icon {
    vertical-align: -2px;
    flex-shrink: 0;
}

.brand-ext-icon {
    font-size: 0.72rem;
    opacity: 0.65;
    margin-left: 3px;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn-brand-secondary:hover .brand-ext-icon {
    opacity: 1;
    transform: translate(1px, -1px);
}

/* ---- Responsive: Tablet & Small Desktop ---- */
@media (max-width: 1040px) {
    .cinematic-hero-section {
        margin-top: -90px;
        padding-top: 105px;
    }
    .hero-brand-actions {
        gap: 10px;
    }
    .btn-brand-primary {
        padding: 10px 18px;
        font-size: 0.85rem;
    }
    .btn-brand-secondary {
        padding: 10px 16px;
        font-size: 0.82rem;
    }
    .hero-brand-title {
        font-size: 3.2rem;
    }
    .mascot-orbit-wrap {
        width: 156px;
        height: 156px;
    }
    .mascot-avatar-circle {
        width: 126px;
        height: 126px;
    }
    .mascot-orbit-ring {
        width: 148px;
        height: 60px;
    }
}

/* ---- Responsive: Mobile (Stack Vertically, Center Content) ---- */
@media (max-width: 820px) {
    .cinematic-hero-section {
        min-height: auto;
        margin-top: -85px;
        padding-top: 95px;
    }
    .cinematic-hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(7, 6, 10, 0.96) 0%,
            rgba(7, 6, 10, 0.85) 50%,
            rgba(7, 6, 10, 0.6) 100%
        );
    }
    .cinematic-hero-content {
        padding: 24px 18px 48px;
    }
    [data-theme="light"] .cinematic-hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(250, 249, 246, 0.96) 0%,
            rgba(250, 249, 246, 0.85) 50%,
            rgba(250, 249, 246, 0.6) 100%
        );
    }
    .hero-brand-lockup,
    .hero-brand-header-row,
    .hero-header-titles,
    .hero-bottom-group {
        align-items: center;
        text-align: center;
    }
    .hero-brand-header-row {
        flex-direction: column;
        gap: 16px;
    }
    .hero-brand-title {
        font-size: 3.2rem;
        white-space: normal;
    }
    .hero-brand-tagline {
        font-size: 1.25rem;
        justify-content: center;
    }
    .hero-brand-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
    .btn-brand-primary, .btn-brand-secondary {
        width: 100%;
        justify-content: center;
    }
    .desk-break {
        display: inline;
    }
}
/* ==========================================================================
   SPOTIFY & YOUTUBE ONE-CLICK OUTLINKS (Live Sync Player)
   ========================================================================== */
.track-outlinks-row {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    margin-top: 6px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.track-outlink-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 14px;
    font-size: 0.78rem;
    font-weight: 650;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
}

.track-outlink-pill.spotify {
    background: rgba(30, 215, 96, 0.12);
    color: #1ed760;
    border-color: rgba(30, 215, 96, 0.3);
}

.track-outlink-pill.spotify:hover {
    background: rgba(30, 215, 96, 0.22);
    border-color: #1ed760;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 215, 96, 0.25);
}

.track-outlink-pill.youtube {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.3);
}

.track-outlink-pill.youtube:hover {
    background: rgba(239, 68, 68, 0.22);
    border-color: #ef4444;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

/* ==========================================================================
   CANVAS AUDIO EQUALIZER VISUALIZER (Live Player Under Art)
   ========================================================================== */
.player-audio-visualizer-canvas {
    width: 100px;
    height: 26px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.28);
    border: 1px solid var(--border-subtle);
    display: block;
    margin-top: 8px;
}

[data-theme="light"] .player-audio-visualizer-canvas {
    background: rgba(0, 0, 0, 0.06);
}

/* ==========================================================================
   LEADERBOARDS (Privacy-First, Podium, Top 25, Sticky Rank Bar)
   ========================================================================== */
.leaderboard-container {
    max-width: 980px;
    margin: 0 auto;
}

.leaderboard-type-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 28px;
    justify-content: center;
    flex-wrap: wrap;
}

.leaderboard-type-btn {
    padding: 10px 22px;
    border-radius: 24px;
    font-size: 0.92rem;
    font-weight: 650;
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
    color: var(--text-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.leaderboard-type-btn:hover {
    background: var(--bg-card-hover);
    color: var(--text-main);
    border-color: var(--primary);
}

.leaderboard-type-btn.active {
    background: var(--primary-glow);
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 16px var(--primary-glow);
}

/* ==========================================================================
   MAJESTIC PODIUM & LEADERBOARD STYLING (CONCEPT ART MATCH)
   ========================================================================== */
.leaderboard-container {
    position: relative;
}

.leaderboard-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 520px;
    background: 
        radial-gradient(circle at 50% 160px, rgba(251, 191, 36, 0.16) 0%, rgba(245, 158, 11, 0.05) 45%, transparent 75%),
        radial-gradient(ellipse at 25% 120px, rgba(251, 191, 36, 0.08) 0%, transparent 55%),
        radial-gradient(ellipse at 75% 120px, rgba(251, 191, 36, 0.08) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
}

/* Podium Grid (Desktop: Olympic 2 - 1 - 3 alignment) */
.leaderboard-podium {
    display: grid;
    grid-template-columns: 1fr 1.18fr 1fr;
    gap: 20px;
    margin-bottom: 36px;
    align-items: end;
    position: relative;
    z-index: 1;
}

.podium-card {
    background: var(--bg-card);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 24px 16px 20px;
    text-align: center;
    position: relative;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Rank 1: Majestic Grand Champion */
.podium-card.rank-1 {
    border: 2px solid #fbbf24;
    background: linear-gradient(180deg, rgba(251, 191, 36, 0.2) 0%, rgba(18, 16, 26, 0.9) 45%, rgba(18, 16, 26, 0.98) 100%);
    box-shadow: 0 0 45px rgba(251, 191, 36, 0.35), 0 20px 50px rgba(0, 0, 0, 0.85);
    transform: translateY(-12px);
    padding-top: 32px;
}

[data-theme="light"] .podium-card.rank-1 {
    background: linear-gradient(180deg, rgba(251, 191, 36, 0.25) 0%, #ffffff 50%);
    box-shadow: 0 0 35px rgba(251, 191, 36, 0.25), 0 16px 40px rgba(0, 0, 0, 0.08);
}

/* Rank 2: Silver Runner-Up */
.podium-card.rank-2 {
    border: 1.5px solid rgba(203, 213, 225, 0.55);
    background: linear-gradient(180deg, rgba(203, 213, 225, 0.12) 0%, rgba(18, 16, 26, 0.85) 50%, rgba(18, 16, 26, 0.95) 100%);
    box-shadow: 0 0 30px rgba(203, 213, 225, 0.2), 0 16px 40px rgba(0, 0, 0, 0.7);
}

[data-theme="light"] .podium-card.rank-2 {
    background: linear-gradient(180deg, rgba(203, 213, 225, 0.2) 0%, #ffffff 50%);
}

/* Rank 3: Bronze Podium */
.podium-card.rank-3 {
    border: 1.5px solid rgba(217, 119, 6, 0.55);
    background: linear-gradient(180deg, rgba(217, 119, 6, 0.12) 0%, rgba(18, 16, 26, 0.85) 50%, rgba(18, 16, 26, 0.95) 100%);
    box-shadow: 0 0 30px rgba(217, 119, 6, 0.2), 0 16px 40px rgba(0, 0, 0, 0.7);
}

[data-theme="light"] .podium-card.rank-3 {
    background: linear-gradient(180deg, rgba(217, 119, 6, 0.2) 0%, #ffffff 50%);
}

/* Ribbon Medal Badges on Card Top-Left */
.podium-ribbon-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 850;
    font-family: monospace;
    letter-spacing: 0.02em;
    z-index: 4;
}

.ribbon-gold {
    background: linear-gradient(135deg, #ffe066 0%, #fbbf24 60%, #d97706 100%);
    color: #111827;
    box-shadow: 0 0 16px rgba(251, 191, 36, 0.65);
}

.ribbon-silver {
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 60%, #94a3b8 100%);
    color: #0f172a;
    box-shadow: 0 0 14px rgba(203, 213, 225, 0.55);
}

.ribbon-bronze {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 60%, #78350f 100%);
    color: #ffffff;
    box-shadow: 0 0 14px rgba(217, 119, 6, 0.5);
}

/* Floating Grand Crown on #1 Champion */
.podium-grand-crown {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2.2rem;
    color: #fbbf24;
    z-index: 5;
    filter: drop-shadow(0 0 18px rgba(251, 191, 36, 0.9)) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.8));
    animation: grandCrownFloat 3.5s ease-in-out infinite alternate;
}

@keyframes grandCrownFloat {
    0% { transform: translateX(-50%) translateY(0) scale(1); }
    100% { transform: translateX(-50%) translateY(-6px) scale(1.05); }
}

/* Golden Laurel Wreaths Flanking #1 */
.podium-laurel-wrap {
    position: absolute;
    top: 48%;
    transform: translateY(-50%);
    width: 44px;
    height: 94px;
    pointer-events: none;
    z-index: 2;
    opacity: 0.85;
    filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.6));
}

.laurel-left {
    left: 12px;
}

.laurel-right {
    right: 12px;
}

.laurel-svg {
    width: 100%;
    height: 100%;
}

/* ---- Podium Avatar Animated Orbit Decorations (Top 3) ---- */
.podium-avatar-wrap {
    position: relative;
    width: 82px;
    height: 82px;
    margin: 8px auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.podium-card.rank-1 .podium-avatar-wrap {
    width: 98px;
    height: 98px;
    margin-top: 4px;
    margin-bottom: 18px;
}

.podium-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.podium-card:hover .podium-avatar {
    transform: scale(1.05);
}

/* Pulsing Ambient Auras */
.podium-glow-aura {
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
    filter: blur(10px);
    opacity: 0.75;
    animation: podiumAuraPulse 3s ease-in-out infinite alternate;
}

.aura-gold {
    background: radial-gradient(circle, rgba(251, 191, 36, 0.85) 0%, rgba(245, 158, 11, 0.35) 60%, transparent 100%);
}

.aura-silver {
    background: radial-gradient(circle, rgba(203, 213, 225, 0.8) 0%, rgba(148, 163, 184, 0.3) 60%, transparent 100%);
}

.aura-bronze {
    background: radial-gradient(circle, rgba(245, 158, 11, 0.7) 0%, rgba(180, 83, 9, 0.25) 60%, transparent 100%);
}

@keyframes podiumAuraPulse {
    0% { transform: scale(0.92); opacity: 0.55; }
    100% { transform: scale(1.1); opacity: 0.95; }
}

/* Avatar Border and Outer Ring */
.deco-rank-1 .podium-avatar {
    border: 3px solid #fbbf24;
    box-shadow: 0 0 24px rgba(251, 191, 36, 0.55);
}

.deco-rank-2 .podium-avatar {
    border: 2.5px solid #cbd5e1;
    box-shadow: 0 0 18px rgba(203, 213, 225, 0.45);
}

.deco-rank-3 .podium-avatar {
    border: 2.5px solid #d97706;
    box-shadow: 0 0 16px rgba(217, 119, 6, 0.45);
}

/* Spinning 3D Orbit Rings */
.podium-orbit-ring {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 3;
    animation: podiumOrbitSpin 14s linear infinite;
}

.ring-gold {
    width: 126px;
    height: 50px;
    border: 2px solid rgba(251, 191, 36, 0.75);
    box-shadow: 0 0 14px rgba(251, 191, 36, 0.55);
    transform: rotate(-20deg);
}

.ring-silver {
    width: 106px;
    height: 44px;
    border: 1.8px solid rgba(203, 213, 225, 0.75);
    box-shadow: 0 0 12px rgba(203, 213, 225, 0.45);
    transform: rotate(22deg);
    animation-duration: 16s;
    animation-direction: reverse;
}

.ring-bronze {
    width: 106px;
    height: 44px;
    border: 1.8px solid rgba(217, 119, 6, 0.75);
    box-shadow: 0 0 12px rgba(217, 119, 6, 0.4);
    transform: rotate(-18deg);
    animation-duration: 18s;
}

@keyframes podiumOrbitSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Floating Astral Sparkles and Musical Notes */
.podium-sparkle {
    position: absolute;
    pointer-events: none;
    z-index: 4;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1;
    animation: podiumSparkleFloat 3.2s ease-in-out infinite;
}

.sparkle-gold {
    color: #fef08a;
    text-shadow: 0 0 10px #fbbf24, 0 0 18px rgba(251, 191, 36, 0.8);
}

.sparkle-silver {
    color: #f1f5f9;
    text-shadow: 0 0 10px #cbd5e1, 0 0 16px rgba(203, 213, 225, 0.8);
}

.sparkle-bronze {
    color: #fde68a;
    text-shadow: 0 0 10px #d97706, 0 0 16px rgba(217, 119, 6, 0.8);
}

.deco-rank-1 .s-1 { top: -6px; left: 4px; font-size: 1.15rem; animation-delay: 0s; }
.deco-rank-1 .s-2 { bottom: 4px; left: -8px; font-size: 1rem; animation-delay: 1.1s; }
.deco-rank-1 .s-3 { top: 2px; right: -8px; font-size: 0.95rem; animation-delay: 2.2s; }

.deco-rank-2 .s-1 { top: -4px; left: 2px; font-size: 1rem; animation-delay: 0.4s; }
.deco-rank-2 .s-2 { bottom: 2px; right: -6px; font-size: 0.95rem; animation-delay: 1.6s; }

.deco-rank-3 .s-1 { top: -4px; right: 2px; font-size: 1rem; animation-delay: 0.8s; }

@keyframes podiumSparkleFloat {
    0%, 100% { transform: translateY(0) scale(0.92); opacity: 0.75; }
    50% { transform: translateY(-6px) scale(1.15); opacity: 1; }
}

/* Name Group & Handle Typography */
.podium-name-group {
    margin-bottom: 6px;
    min-width: 0;
}

.podium-name {
    font-size: 1.08rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.01em;
}

.podium-card.rank-1 .podium-name {
    font-size: 1.18rem;
    color: #fbbf24;
    text-shadow: 0 0 16px rgba(251, 191, 36, 0.35);
}

.podium-handle {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-dim);
    font-family: monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.podium-stats-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.podium-time {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary);
    font-family: monospace;
    display: inline-flex;
    align-items: center;
}

.podium-streak {
    font-size: 0.78rem;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ==========================================================================
   MOBILE LEADERBOARD PODIUM: CLEAN, STREAMLINED & CORRECT ORDER (1, 2, 3)
   ========================================================================== */
@media (max-width: 680px) {
    .leaderboard-podium {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 10px;
        margin-bottom: 24px;
    }

    /* Strict sequential ordering so Rank 1 is top, Rank 2 is second, Rank 3 is third */
    .podium-card.rank-1 {
        order: 1;
        transform: none;
        padding: 12px 14px;
    }

    .podium-card.rank-2 {
        order: 2;
        padding: 12px 14px;
    }

    .podium-card.rank-3 {
        order: 3;
        padding: 12px 14px;
    }

    /* Transform cards into sleek horizontal rows on mobile with consistent 100% width */
    .podium-card {
        display: flex;
        align-items: center;
        text-align: left;
        gap: 12px;
        border-radius: var(--radius-sm);
        width: 100%;
        box-sizing: border-box;
    }

    .podium-card .podium-avatar-wrap {
        width: 44px;
        height: 44px;
        margin: 0;
        flex-shrink: 0;
    }

    .podium-card.rank-1 .podium-avatar-wrap {
        width: 48px;
        height: 48px;
        margin: 0;
    }

    /* Hide heavy desktop-only decorative layers on mobile */
    .podium-card .podium-orbit-ring,
    .podium-card .podium-sparkle,
    .podium-card .podium-laurel-wrap {
        display: none !important;
    }

    /* Hide floating crown on mobile so the ribbon badge stands cleanly without duplicate icons */
    .podium-grand-crown {
        display: none !important;
    }

    .podium-ribbon-badge {
        position: static;
        padding: 3px 8px;
        font-size: 0.76rem;
        flex-shrink: 0;
    }

    .podium-name-group {
        flex: 1;
        min-width: 0;
        margin: 0;
    }

    .podium-name {
        font-size: 0.95rem;
        margin-bottom: 1px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .podium-card.rank-1 .podium-name {
        font-size: 0.98rem;
    }

    .podium-handle {
        font-size: 0.74rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .podium-stats-group {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 2px;
        text-align: right;
        flex-shrink: 0;
    }

    .podium-time {
        font-size: 0.88rem;
        white-space: nowrap;
    }

    .podium-streak {
        font-size: 0.72rem;
        white-space: nowrap;
    }

    /* Ranks 4-25 Table Mobile Responsive Overrides */
    .leaderboard-table-wrap {
        border-radius: var(--radius-sm);
        margin-bottom: 20px;
    }

    .leaderboard-row-header {
        grid-template-columns: 28px 1fr auto auto;
        padding: 10px 12px;
        gap: 10px;
        font-size: 0.72rem;
        letter-spacing: 0.04em;
    }

    .leaderboard-row-header > :nth-child(3),
    .leaderboard-row-header > :nth-child(4) {
        text-align: right;
    }

    .leaderboard-row {
        grid-template-columns: 28px 1fr auto auto;
        padding: 10px 12px;
        gap: 10px;
    }

    .rank-badge {
        font-size: 0.82rem;
    }

    .rank-user-info {
        gap: 8px;
        min-width: 0;
    }

    .rank-user-avatar {
        width: 32px;
        height: 32px;
        flex-shrink: 0;
    }

    .rank-user-name-stack {
        min-width: 0;
        flex: 1;
    }

    .rank-user-name {
        font-size: 0.88rem;
    }

    .rank-user-handle {
        font-size: 0.72rem;
    }

    .rank-listen-time {
        font-size: 0.82rem;
        white-space: nowrap;
        text-align: right;
    }

    .rank-streak-badge {
        font-size: 0.76rem;
        white-space: nowrap;
        text-align: right;
    }

    .col-lbl-full {
        display: none;
    }
    .col-lbl-short {
        display: inline;
    }

    /* Sticky Your Rank Bar on Mobile */
    .your-rank-bar {
        padding: 12px 14px;
        gap: 10px;
    }
    .your-rank-pill {
        font-size: 0.82rem;
        padding: 3px 8px;
    }
    .your-rank-stats {
        gap: 12px;
        font-size: 0.8rem;
    }

    /* Profile Header & XP Bar on Mobile */
    .profile-box {
        padding: 22px 16px;
    }
    .profile-header-strip {
        gap: 16px;
        margin-bottom: 24px;
    }
    .profile-avatar-xl {
        width: 76px;
        height: 76px;
    }
    .profile-user-info-block {
        min-width: 0;
        flex: 1;
    }
    .xp-progress-wrap {
        margin-top: 10px;
        padding-top: 12px;
    }
    .xp-level-title {
        font-size: 0.82rem;
    }
    .xp-counter-text {
        font-size: 0.76rem;
    }

    /* Liked Tracks Header on Mobile */
    .liked-tracks-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin: 30px 0 12px;
    }
    .liked-tracks-title-wrap {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        gap: 8px;
    }
    .liked-tracks-title-wrap h3 {
        font-size: 1.15rem;
    }
    .liked-tracks-counter {
        font-size: 0.78rem;
    }
}

.col-lbl-full {
    display: inline;
}
.col-lbl-short {
    display: none;
}

/* Ranks 4-25 Table */
.leaderboard-table-wrap {
    background: var(--bg-card);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 28px;
}

.leaderboard-row-header {
    display: grid;
    grid-template-columns: 50px 1fr 140px 110px;
    padding: 12px 20px;
    font-size: 0.78rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.02);
}

.leaderboard-row {
    display: grid;
    grid-template-columns: 50px 1fr 140px 110px;
    align-items: center;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border-subtle);
    transition: background 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.leaderboard-row:last-child {
    border-bottom: none;
}

.leaderboard-row:hover {
    background: var(--bg-card-hover);
}

.rank-badge {
    font-family: monospace;
    font-weight: 750;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.rank-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.rank-user-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-subtle);
    flex-shrink: 0;
}

.rank-user-name-stack {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.25;
}

.rank-user-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rank-user-handle {
    font-size: 0.76rem;
    font-weight: 500;
    color: var(--text-dim);
    font-family: monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rank-listen-time {
    font-family: monospace;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--primary);
}

.rank-streak-badge {
    font-size: 0.82rem;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Sticky "Your Rank" Banner */
.your-rank-bar {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.16) 0%, rgba(245, 158, 11, 0.06) 100%);
    border: 1.5px solid rgba(251, 191, 36, 0.45);
    border-radius: var(--radius-md);
    padding: 16px 22px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.12);
}

.your-rank-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.your-rank-user-stack {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.2;
}

.your-rank-name {
    font-weight: 800;
    color: var(--text-main);
    font-size: 0.98rem;
}

.your-rank-handle {
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--text-dim);
    font-family: monospace;
}

.your-rank-pill {
    background: var(--primary);
    color: #111827;
    font-weight: 800;
    font-family: monospace;
    font-size: 0.95rem;
    padding: 4px 12px;
    border-radius: 12px;
}

.your-rank-stats {
    display: flex;
    gap: 20px;
    align-items: center;
}

.your-rank-stat-item {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.your-rank-stat-item strong {
    color: var(--text-main);
    font-family: monospace;
}

.leaderboard-privacy-note {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.84rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 12px 18px;
    margin-top: 24px;
}

.leaderboard-privacy-note code {
    color: var(--primary);
    background: rgba(251, 191, 36, 0.1);
    padding: 1px 5px;
    border-radius: 4px;
}







/* ==========================================================================
   REDESIGNED HOME SECTIONS (Cohesive Cozy Anime Aesthetic & Seamless Transitions)
   ========================================================================== */

/* 1. Live Communities Strip (Fused Social Proof & Marquee) */
.live-communities-strip {
    margin: 0 0 42px;
    position: relative;
    padding-top: 8px;
}

.communities-header-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.communities-pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(18, 16, 26, 0.85);
    border: 1px solid rgba(251, 191, 36, 0.22);
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #fbbf24;
    box-shadow: 0 0 16px rgba(251, 191, 36, 0.1);
}

[data-theme="light"] .communities-pill-badge {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(217, 119, 6, 0.3);
    color: #d97706;
}

.communities-subtitle {
    font-size: 0.82rem;
    color: var(--text-dim);
}

/* 2. Redesigned About Mofi Radio Showcase */
.about-showcase-section {
    margin: 0 0 48px;
    position: relative;
}

.about-showcase-card {
    position: relative;
    background: rgba(18, 16, 26, 0.68);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(251, 191, 36, 0.16);
    border-radius: 24px;
    padding: 42px 48px;
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 40px;
    align-items: center;
    box-shadow: 0 16px 50px -10px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    transition: all 0.3s ease;
}

[data-theme="light"] .about-showcase-card {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(217, 119, 6, 0.2);
    box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.08);
}

.about-showcase-card:hover {
    border-color: rgba(251, 191, 36, 0.3);
    box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.7), 0 0 30px rgba(251, 191, 36, 0.08);
}

.about-showcase-glow {
    position: absolute;
    top: -50px;
    left: -50px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.12) 0%, transparent 70%);
    pointer-events: none;
    filter: blur(40px);
}

[data-theme="light"] .about-showcase-glow {
    background: radial-gradient(circle, rgba(217, 119, 6, 0.08) 0%, transparent 70%);
}

.about-tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fbbf24;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
}

[data-theme="light"] .about-tag-badge {
    color: #d97706;
}

.about-showcase-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin-bottom: 14px;
    color: #ffffff;
}

[data-theme="light"] .about-showcase-title {
    color: #111827;
}

.about-showcase-title .highlight {
    background: linear-gradient(135deg, #ffe066 0%, #fbbf24 60%, #f59e0b 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

[data-theme="light"] .about-showcase-title .highlight {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-showcase-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.65;
    margin-bottom: 22px;
    max-width: 620px;
}

[data-theme="light"] .about-showcase-desc {
    color: #4b5563;
}

.about-feature-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.about-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    transition: all 0.2s ease;
}

[data-theme="light"] .about-chip {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.08);
    color: #374151;
}

.about-chip i {
    color: #fbbf24;
    font-size: 0.78rem;
}

[data-theme="light"] .about-chip i {
    color: #d97706;
}

.about-chip:hover {
    background: rgba(251, 191, 36, 0.08);
    border-color: rgba(251, 191, 36, 0.3);
    color: #ffffff;
    transform: translateY(-1px);
}

[data-theme="light"] .about-chip:hover {
    background: rgba(217, 119, 6, 0.08);
    border-color: rgba(217, 119, 6, 0.3);
    color: #111827;
}

.about-mascot-showcase {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.about-mascot-glow-aura {
    position: absolute;
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.3) 0%, rgba(245, 158, 11, 0.08) 50%, transparent 75%);
    pointer-events: none;
    animation: mascotGlowPulse 4s ease-in-out infinite;
}

.about-mascot-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 3px solid rgba(251, 191, 36, 0.85);
    box-shadow: 0 0 25px rgba(251, 191, 36, 0.35);
    object-fit: cover;
    position: relative;
    z-index: 2;
}

[data-theme="light"] .about-mascot-img {
    border-color: rgba(217, 119, 6, 0.85);
    box-shadow: 0 0 20px rgba(217, 119, 6, 0.25);
}

.about-mascot-status-pill {
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 4px 12px;
    border-radius: 14px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #10b981;
    z-index: 2;
}

/* 3. FAQ Showcase Section */
.faq-showcase-section {
    margin: 0 0 60px;
}

.faq-tag-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #fbbf24;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

[data-theme="light"] .faq-tag-badge {
    color: #d97706;
}

@media (max-width: 820px) {
    .about-showcase-card {
        grid-template-columns: 1fr;
        padding: 30px 24px;
        text-align: center;
    }
    .about-showcase-title {
        font-size: 1.65rem;
    }
    .about-feature-chips {
        justify-content: center;
    }
    .hero-desc-flanked-wrap {
        align-items: center;
        text-align: center;
    }
    .hero-desc-line-row {
        justify-content: center;
    }
    .hero-desc-topline {
        white-space: normal;
    }
}

/* Dedicated Back to Radio Action Pill Button */
.btn-back-radio {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    padding: 6px 14px !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    color: #fbbf24 !important;
    background: rgba(251, 191, 36, 0.12) !important;
    border: 1px solid rgba(251, 191, 36, 0.45) !important;
    border-radius: var(--radius-sm, 8px) !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    text-decoration: none !important;
    line-height: 1.4 !important;
}

.btn-back-radio:hover {
    background: #fbbf24 !important;
    color: #07060a !important;
    border-color: #fbbf24 !important;
    box-shadow: 0 4px 14px rgba(251, 191, 36, 0.35) !important;
    transform: translateY(-1px) !important;
}

.btn-back-radio:active {
    transform: scale(0.97) !important;
}

.btn-back-radio i {
    font-size: 0.88rem !important;
    color: inherit !important;
}

/* ==========================================================================
   SERVER BOT PROFILE CUSTOMIZATION STYLES
   ========================================================================== */
.bot-profile-container {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 28px;
    align-items: flex-start;
    margin-top: 18px;
}

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

.discord-preview-card {
    background: #111214;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.discord-preview-banner {
    height: 105px;
    background-size: cover;
    background-position: center;
    background-color: #2b2d31;
    position: relative;
}

.discord-preview-avatar-wrap {
    position: relative;
    margin-top: -44px;
    margin-left: 18px;
    width: 80px;
    height: 80px;
}

.discord-preview-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 6px solid #111214;
    object-fit: cover;
    background: #2b2d31;
}

.discord-preview-status {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #23a55a;
    border: 4px solid #111214;
}

.discord-preview-body {
    padding: 12px 18px 20px 18px;
}

.discord-preview-name-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 2px;
}

.discord-preview-nick {
    font-size: 1.15rem;
    font-weight: 700;
    color: #f2f3f5;
    margin: 0;
}

.discord-bot-badge {
    background: #5865f2;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    letter-spacing: 0.04em;
}

.discord-preview-tag {
    font-size: 0.8rem;
    color: #949ba4;
    margin-bottom: 12px;
}

.discord-preview-bio-box {
    background: #1e1f22;
    border-radius: 8px;
    padding: 12px;
    font-size: 0.85rem;
    color: #dbdee1;
    line-height: 1.45;
    white-space: pre-wrap;
    word-break: break-word;
    min-height: 50px;
}

/* ==========================================================================
   BOT OWNER ADMIN CONTROL CENTER STYLES
   ========================================================================== */
.admin-badge-owner {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2) 0%, rgba(245, 158, 11, 0.3) 100%);
    border: 1px solid rgba(251, 191, 36, 0.5);
    color: #fbbf24;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.admin-tabs {
    display: flex;
    gap: 10px;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 12px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.admin-tab-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    padding: 9px 18px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.admin-tab-btn:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.08);
}

.admin-tab-btn.active {
    background: rgba(251, 191, 36, 0.15);
    border-color: rgba(251, 191, 36, 0.5);
    color: #fbbf24;
    box-shadow: 0 4px 16px rgba(251, 191, 36, 0.2);
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
    margin-bottom: 28px;
}

.admin-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.admin-stat-val {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 6px 0 2px 0;
}

.admin-stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.admin-table-wrap {
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    background: var(--bg-card);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    text-align: left;
}

.admin-table th {
    background: rgba(255, 255, 255, 0.03);
    padding: 12px 16px;
    font-weight: 700;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-subtle);
}

.admin-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--text-main);
    vertical-align: middle;
}

.admin-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.admin-action-btn {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.admin-action-btn.btn-invite {
    background: rgba(88, 101, 242, 0.15);
    border-color: rgba(88, 101, 242, 0.4);
    color: #5865f2;
}

.admin-action-btn.btn-invite:hover {
    background: #5865f2;
    color: #fff;
}

.admin-action-btn.btn-danger {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
    color: #ef4444;
}

.admin-action-btn.btn-danger:hover {
    background: #ef4444;
    color: #fff;
}
/* ==========================================================================
   OWNER CONSOLE DIRECT MESSAGE (DM) DISPATCHER STYLES
   ========================================================================== */
.dm-dispatcher-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 24px;
    max-width: 720px;
}

.dm-type-selector {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.dm-type-pill {
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-muted);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.dm-type-pill:hover {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.08);
}

.dm-type-pill.active-alert {
    background: rgba(251, 191, 36, 0.15);
    border-color: rgba(251, 191, 36, 0.6);
    color: #fbbf24;
}

.dm-type-pill.active-warning {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.6);
    color: #ef4444;
}

.dm-type-pill.active-info {
    background: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.6);
    color: #3b82f6;
}

.dm-delivery-box {
    margin-top: 18px;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    line-height: 1.5;
    animation: fadeIn 0.2s ease;
}

.dm-delivery-box.success {
    background: rgba(35, 165, 90, 0.12);
    border: 1px solid rgba(35, 165, 90, 0.4);
    color: #4ade80;
}

.dm-delivery-box.error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #f87171;
}

.dm-user-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.35);
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 700;
    margin-top: 6px;
}

.dm-user-badge img {
    width: 22px;
    height: 22px;
    border-radius: 50%;
}
