* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --neon-orange: #ff6b35;
    --neon-gold: #fbbf24;
    --neon-red: #dc2626;
    --neon-purple: #9333ea;
    --neon-green: #39ff14;
    --dark-bg: #0a0a0a;        /* Preto neutro (muito escuro) */
    --darker-bg: #050505;      /* Preto ainda mais escuro */
    --panel-bg: rgba(10, 10, 10, 0.8);

    /* Versões suavizadas do laranja */
    --orange-subtle: rgba(255, 107, 53, 0.4);
    --orange-glow: rgba(255, 107, 53, 0.15);
    --orange-border: rgba(255, 107, 53, 0.5);
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--dark-bg);
    color: #fff;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow-x: hidden;
    position: relative;
}

/* Animated Background */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.grid {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image:
        linear-gradient(var(--neon-orange) 1px, transparent 1px),
        linear-gradient(90deg, var(--neon-orange) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.06;
    animation: gridMove 20s linear infinite;
    transform: perspective(500px) rotateX(60deg);
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--neon-orange);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(255, 107, 53, 0.4);
    opacity: 0.5;
    animation: float 15s infinite;
}

.particle:nth-child(2) {
    left: 30%;
    animation-delay: 2s;
    animation-duration: 12s;
}

.particle:nth-child(3) {
    left: 60%;
    animation-delay: 4s;
    animation-duration: 18s;
}

.particle:nth-child(4) {
    left: 80%;
    animation-delay: 1s;
    animation-duration: 14s;
}

/* Music Control */
.music-control {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
}

.music-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-orange), var(--neon-red));
    border: 2px solid var(--neon-gold);
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s ease-in-out infinite;
}

.music-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
}

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

.music-btn.playing {
    animation: musicPulse 0.8s ease-in-out infinite;
}

.music-btn.muted {
    background: rgba(100, 100, 100, 0.5);
    border-color: rgba(150, 150, 150, 0.5);
    box-shadow: 0 0 10px rgba(100, 100, 100, 0.3);
    animation: none;
}

.music-icon {
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.8));
}

.container {
    max-width: 700px;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Header */
.header {
    background: var(--panel-bg);
    border: 2px solid var(--orange-border);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow:
        0 0 15px rgba(255, 107, 53, 0.15),
        inset 0 0 15px rgba(255, 107, 53, 0.05);
    backdrop-filter: blur(10px);
    animation: slideDown 0.8s ease-out;
}

.terminal-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--neon-orange);
    box-shadow: 0 0 8px rgba(255, 107, 53, 0.5);
    opacity: 0.8;
    animation: pulse 2s ease-in-out infinite;
}

.terminal-dot:nth-child(2) {
    background: var(--neon-gold);
    box-shadow: 0 0 10px var(--neon-gold);
    animation-delay: 0.3s;
}

.terminal-dot:nth-child(3) {
    background: var(--neon-red);
    box-shadow: 0 0 10px var(--neon-red);
    animation-delay: 0.6s;
}

.logo {
    text-align: center;
    margin-bottom: 20px;
}

.logo-image {
    width: 180px;
    height: auto;
    margin: 0 auto 16px;
    display: block;
    filter: drop-shadow(0 0 12px rgba(255, 107, 53, 0.4))
            drop-shadow(0 0 24px rgba(251, 191, 36, 0.2));
    animation: logoGlow 3s ease-in-out infinite;
}

.brand {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 4px;
    margin-top: 8px;
    background: linear-gradient(90deg, var(--neon-orange), var(--neon-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 16px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green);
}

.stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 2px;
    height: 30px;
    background: linear-gradient(180deg, transparent, var(--neon-orange), transparent);
}

/* Menu - Mobile First (Lista Vertical) */
.menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

/* Menu - Desktop (Grid 2 Colunas) */
@media (min-width: 768px) {
    .menu {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

.menu-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--panel-bg);
    border: 2px solid var(--orange-border);
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    overflow: hidden;
    animation: slideIn 0.6s ease-out backwards;
}

.menu-item:nth-child(1) { animation-delay: 0.1s; }
.menu-item:nth-child(2) { animation-delay: 0.2s; }
.menu-item:nth-child(3) { animation-delay: 0.3s; }
.menu-item:nth-child(4) { animation-delay: 0.4s; }
.menu-item:nth-child(5) { animation-delay: 0.5s; }
.menu-item:nth-child(6) { animation-delay: 0.6s; }

.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.08), transparent);
    transition: left 0.5s ease;
}

.menu-item:hover::before {
    left: 100%;
}

.menu-item:hover {
    border-color: var(--neon-orange);
    box-shadow:
        0 0 15px rgba(255, 107, 53, 0.25),
        inset 0 0 15px rgba(255, 107, 53, 0.05);
    transform: translateX(8px);
}

/* Desktop: hover para cima em vez de lado */
@media (min-width: 768px) {
    .menu-item:hover {
        transform: translateY(-4px);
    }
}

.menu-icon {
    font-size: 32px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 5px rgba(255, 107, 53, 0.4));
}

.menu-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.menu-title {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.menu-subtitle {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.menu-key {
    padding: 6px 12px;
    background: rgba(255, 107, 53, 0.08);
    border: 1px solid var(--orange-border);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--neon-orange);
    box-shadow: 0 0 8px rgba(255, 107, 53, 0.15);
    font-family: 'Orbitron', sans-serif;
}

.menu-badge {
    padding: 6px 12px;
    background: linear-gradient(135deg, var(--neon-purple), #d946ef);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(147, 51, 234, 0.5);
    animation: glow 2s ease-in-out infinite;
}

/* VIP Item */
.menu-item.vip {
    border-color: var(--neon-purple);
}

.menu-item.vip:hover {
    border-color: var(--neon-purple);
    box-shadow:
        0 0 25px rgba(147, 51, 234, 0.5),
        inset 0 0 25px rgba(147, 51, 234, 0.1);
}

/* Hot Item */
.menu-item.hot {
    border-color: var(--neon-red);
}

.menu-item.hot:hover {
    border-color: var(--neon-red);
    box-shadow:
        0 0 25px rgba(220, 38, 38, 0.5),
        inset 0 0 25px rgba(220, 38, 38, 0.1);
}

/* Power Up */
.powerup {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.06), rgba(255, 107, 53, 0.06));
    border: 2px solid var(--neon-gold);
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow:
        0 0 20px rgba(251, 191, 36, 0.3),
        inset 0 0 20px rgba(251, 191, 36, 0.1);
    backdrop-filter: blur(10px);
    animation: slideUp 0.6s ease-out 0.7s backwards;
}

.powerup-icon {
    font-size: 40px;
    filter: drop-shadow(0 0 10px var(--neon-gold));
    animation: bounce 2s ease-in-out infinite;
}

.powerup-content {
    flex: 1;
}

.powerup-title {
    font-size: 14px;
    color: var(--neon-gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
    text-shadow: 0 0 10px var(--neon-gold);
}

.powerup-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}

.powerup-feature {
    margin-top: 8px;
    color: var(--neon-orange);
    font-weight: 600;
    font-size: 13px;
    text-shadow: 0 0 8px var(--neon-orange);
}

/* Footer */
.footer {
    text-align: center;
    padding: 20px 0;
    animation: fadeIn 1s ease-out 0.8s backwards;
}

.footer-text {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 2px;
    margin-bottom: 8px;
    font-family: 'Orbitron', sans-serif;
}

.footer-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--neon-green);
    text-shadow: 0 0 10px var(--neon-green);
}

.status-indicator {
    width: 8px;
    height: 8px;
    background: var(--neon-green);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--neon-green);
    animation: pulse 2s ease-in-out infinite;
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

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

@keyframes musicPulse {
    0%, 100% {
        box-shadow: 0 0 15px rgba(255, 107, 53, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 25px rgba(255, 107, 53, 0.5);
        transform: scale(1.05);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 15px rgba(147, 51, 234, 0.5);
    }
    50% {
        box-shadow: 0 0 25px rgba(147, 51, 234, 0.8);
    }
}

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

@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 0 12px rgba(255, 107, 53, 0.4))
                drop-shadow(0 0 24px rgba(251, 191, 36, 0.2));
    }
    50% {
        filter: drop-shadow(0 0 16px rgba(255, 107, 53, 0.5))
                drop-shadow(0 0 32px rgba(251, 191, 36, 0.3));
    }
}

@keyframes gridMove {
    from {
        transform: perspective(500px) rotateX(60deg) translateY(0);
    }
    to {
        transform: perspective(500px) rotateX(60deg) translateY(50px);
    }
}

@keyframes float {
    0% {
        transform: translateY(100vh) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) translateX(100px);
        opacity: 0;
    }
}

/* Responsive */
@media (max-width: 640px) {
    .logo-image {
        width: 150px;
    }

    .brand {
        font-size: 14px;
        letter-spacing: 2px;
    }

    .stats {
        gap: 12px;
    }

    .stat-value {
        font-size: 20px;
    }

    .menu-item {
        padding: 16px 20px;
    }

    .menu-icon {
        font-size: 28px;
    }

    .menu-title {
        font-size: 16px;
    }

    .menu-subtitle {
        font-size: 12px;
    }

    .powerup {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .powerup-content {
        width: 100%;
    }

    .powerup-subtitle {
        font-size: 13px;
    }

    .powerup-feature {
        font-size: 12px;
    }

    .music-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .music-control {
        bottom: 16px;
        right: 16px;
    }
}

@media (max-width: 400px) {
    body {
        padding: 12px;
    }

    .header {
        padding: 20px;
    }

    .logo-image {
        width: 120px;
    }

    .menu {
        gap: 10px;
    }

    .menu-item {
        padding: 14px 16px;
        gap: 12px;
    }

    .menu-key {
        font-size: 10px;
        padding: 4px 8px;
    }

    .powerup {
        padding: 16px 20px;
    }

    .powerup-icon {
        font-size: 32px;
    }

    .powerup-subtitle {
        font-size: 12px;
    }

    .powerup-feature {
        font-size: 11px;
    }
}

/* Desktop grande */
@media (min-width: 1200px) {
    .menu {
        gap: 20px;
    }

    .container {
        max-width: 800px;
    }
}
