:root {
    --dashboard-bg: #0a0a0b;
    --dashboard-card-bg: rgba(20, 20, 25, 0.95);
    --dashboard-accent: #8b0000;
    --dashboard-accent-hover: #b30000;
    --dashboard-text: #e0e0e0;
    --dashboard-text-muted: #888;
    --dashboard-border: #2a2a2a;
    --dashboard-input-bg: #121214;
}
body {
    background-color: var(--dashboard-bg);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(139, 0, 0, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 139, 0, 0.02) 0%, transparent 40%);
    color: var(--dashboard-text);
    font-family: 'Inter', sans-serif;
    margin: 0;
    min-height: 100vh;
    font-size: 16px;
    overflow-x: hidden;
}
* {
    box-sizing: border-box;
}

/* Navbar */
.navbar {
    width: 100%;
    background-color: rgb(10 10 25 / 14%);
    border-bottom: 1px solid #cccccc36;
    padding: 0.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    position: fixed;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(6px);
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.Logo {
    font-size: 26px;
    font-weight: 700;
    margin: 0;
    -webkit-background-clip: unset;
    background: none;
}

.brand {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: #ff9191;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    text-shadow: 
        0 0 5px #0011fd,
        0 0 10px #ff0000,
        0 0 20px #1100ff;
    animation: neonPulseLogo 2s infinite alternate;
}

@keyframes neonPulseLogo {
    from {
        text-shadow: 
            0 0 5px #ff9393,
            0 0 10px #d43d3d,
            0 0 20px #aa0000;
    }
    to {
        text-shadow: 
            0 0 2px #6973ff,
            0 0 5px #0c41f0,
            0 0 10px #0044ff,
            0 0 15px #00258b;
        color: #98b3ff;
    }
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.mobile-only {
    display: none;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 110;
    padding: 10px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--dashboard-text);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile */
@media (max-width: 1024px) {
    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    .nav-right {
        gap: 0.5rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -320px; /* Mais que os 280px de largura para garantir que suma */
        width: 280px;
        height: 100vh; /* Ajustado para 100vh para cobrir a altura toda se necessário */
        background-color: #0f0f12;
        flex-direction: column;
        padding: 80px 20px 20px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
        gap: 1rem;
        border-left: 1px solid var(--dashboard-border);
        visibility: hidden;
        opacity: 0;
    }

    .nav-links.mobile-open {
        right: 0;
        visibility: visible;
        opacity: 1;
    }

    .nav-item {
        width: 100%;
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        border-radius: 0;
    }

    .nav-item.active {
        background: rgba(139, 0, 0, 0.15);
        border: none;
        border-left: 3px solid var(--dashboard-accent);
    }

    .navbar-container {
        padding: 0.5rem 1rem;
    }

    .brand {
        font-size: 1.5rem;
    }

    .user-menu {
        gap: 0.8rem;
    }

    .user-name span {
        display: none;
    }
}

.nav-item {
    color: var(--dashboard-text-muted);
    text-decoration: none;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 0.8rem;
    border-radius: 6px;
    display: inline-block;
}

.nav-item:hover, .nav-item.active {
    color: var(--dashboard-text);
    background: rgba(255, 255, 255, 0.05);
}
.btn-login {
    padding: 0.5rem 1.2rem !important;
}

.btn-play-glow {
    color: #ffd700 !important;
    background: rgba(255, 217, 0, 0.445) !important;
    border: 1px solid rgba(255, 215, 0, 0.3);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.4);
    animation: playBtnPulse 2s infinite alternate;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.2rem !important;
}
.btn-play-glow:hover {
    transform: scale(0.8);
    background-color: rgb(214, 214, 177);
    -webkit-transform: scale(0.8);
    -moz-transform: scale(0.8);
    -ms-transform: scale(0.8);
    -o-transform: scale(0.8);
}

@keyframes playBtnPulse {
    from { box-shadow: 0 0 5px rgba(255, 215, 0, 0.2); }
    to { box-shadow: 0 0 15px rgba(255, 215, 0, 0.5); }
}

.nav-item.active {
    border: 1px solid var(--dashboard-accent);
    box-shadow: 0 0 10px rgba(139, 0, 0, 0.2);
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.user-name {
    color: var(--dashboard-text);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    transition: color 0.3s;
}

.user-name:hover {
    color: var(--dashboard-accent);
}

.user-avatar-small {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--dashboard-border);
    background-size: cover;
    background-position: center;
    border: none;
    z-index: 2;
    overflow: visible;
}

.user-avatar-small .frame-border {
    /* Uses global .frame-border styles */
}

.btn-logout {
    margin: 0 auto;
    background: #680202;
    border: 1px solid var(--dashboard-border);
    color: #dcdcdc;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-logout:hover {
    border-color: #ef4444;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
}

.btn-primary {
    text-decoration: none;
    background: var(--dashboard-accent);
    color: white;
    border: none;
    /* padding: 0.5rem 1.5rem; */
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(139, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}
