.level-up-animation.show {
    animation: levelUpShow 3s ease-in-out;
}

@keyframes levelUpShow {
    0% { opacity: 0; visibility: visible; transform: translate(-50%, -50%) scale(0.5); }
    20% { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1.2); }
    80% { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0; visibility: hidden; transform: translate(-50%, -50%) scale(1); }
}

.max-level-animation.show {
    animation: maxLevelShow 4s ease-in-out;
}

@keyframes maxLevelShow {
    0% { opacity: 0; visibility: visible; transform: translate(-50%, -50%) scale(0.3) rotate(-10deg); }
    25% { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1.3) rotate(5deg); }
    75% { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1) rotate(0deg); }
    100% { opacity: 0; visibility: hidden; transform: translate(-50%, -50%) scale(1) rotate(0deg); }
}/* =============================================================================
   TELA DE INÍCIO DO GAME
   ============================================================================= */

.game-start-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, 
        #0a0e1a 0%, 
        #1a0a1a 25%, 
        #0d1117 50%, 
        #1a1a0a 75%, 
        #0a0e1a 100%);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: all 1s ease-in-out;
    overflow: hidden;
}

.game-start-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.start-screen-content {
    max-width: 800px;
    width: 90%;
    text-align: center;
    z-index: 10001;
    position: relative;
}

.start-screen-header {
    margin-bottom: 40px;
}

.game-title {
    font-family: 'Orbitron', monospace;
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(45deg, #78ff78, #00ffff, #ff00ff, #ffff00);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite;
    margin: 0 0 16px 0;
    text-transform: uppercase;
    letter-spacing: 3px;
    line-height: 1.1;
    text-shadow: 0 0 30px rgba(120, 255, 120, 0.5);
}

.game-subtitle {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #00ffff;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
}

.subtitle-line {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2rem;
    font-weight: 500;
    color: #ffffff;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes titleGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.presenter-card {
    background: linear-gradient(135deg, 
        rgba(22, 27, 34, 0.9), 
        rgba(13, 17, 23, 0.8));
    border: 2px solid rgba(120, 255, 120, 0.4);
    border-radius: 16px;
    padding: 30px;
    margin: 40px 0;
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    gap: 24px;
    text-align: left;
}

.presenter-avatar {
    font-size: 4rem;
    background: linear-gradient(135deg, #78ff78, #00ffff);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(120, 255, 120, 0.4);
}

.presenter-info h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.8rem;
    font-weight: 700;
    color: #78ff78;
    margin: 0 0 8px 0;
    text-shadow: 0 0 10px rgba(120, 255, 120, 0.6);
}

.presenter-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #00ffff;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.presenter-experience {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    color: #ffffff;
    margin: 0;
    line-height: 1.4;
    opacity: 0.9;
}

.start-mission-brief {
    background: linear-gradient(135deg, 
        rgba(255, 193, 7, 0.15), 
        rgba(255, 140, 0, 0.1));
    border: 1px solid rgba(255, 193, 7, 0.5);
    border-radius: 12px;
    padding: 24px;
    margin: 32px 0;
    backdrop-filter: blur(12px);
}

.start-mission-brief h4 {
    font-family: 'Orbitron', monospace;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffff00;
    margin: 0 0 12px 0;
    text-shadow: 0 0 10px rgba(255, 255, 0, 0.6);
}

.start-mission-brief p {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.2rem;
    color: #ffffff;
    margin: 0;
    line-height: 1.5;
}

.start-screen-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 32px 0;
}

.start-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.start-stat-icon {
    font-size: 2rem;
}

.start-stat-text {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.start-game-btn {
    background: linear-gradient(135deg, #ffaa00, #ff8800);
    border: 3px solid #ffcc00;
    border-radius: 12px;
    padding: 20px 50px;
    font-family: 'Orbitron', monospace;
    font-size: 1.4rem;
    font-weight: 900;
    color: #000000;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    margin: 40px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(255, 170, 0, 0.4);
}

.start-game-btn:hover {
    background: linear-gradient(135deg, #ffcc00, #ffaa00);
    border-color: #ffff00;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 170, 0, 0.6);
}

.start-game-btn:active {
    transform: translateY(-1px);
}

.btn-text {
    display: block;
    margin-bottom: 4px;
}

.btn-subtitle {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.8rem;
    opacity: 0.8;
    font-weight: 500;
}

.start-screen-footer {
    margin-top: 32px;
    opacity: 0.7;
}

.start-screen-footer p {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    color: #ffffff;
    margin: 0;
}

.start-screen-bg-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10000;
}

.floating-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #78ff78;
    border-radius: 50%;
    animation: floatParticle 8s linear infinite;
    box-shadow: 0 0 6px rgba(120, 255, 120, 0.8);
}

.floating-particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 8s;
}

.floating-particle:nth-child(2) {
    left: 25%;
    animation-delay: 2s;
    animation-duration: 10s;
}

.floating-particle:nth-child(3) {
    left: 50%;
    animation-delay: 4s;
    animation-duration: 12s;
}

.floating-particle:nth-child(4) {
    left: 75%;
    animation-delay: 6s;
    animation-duration: 9s;
}

.floating-particle:nth-child(5) {
    left: 90%;
    animation-delay: 1s;
    animation-duration: 11s;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: scale(1);
    }
    90% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        transform: translateY(-100px) scale(0);
        opacity: 0;
    }
}

/* =============================================================================
   HUD MOBILE - APENAS NO MOBILE
   ============================================================================= */

.mobile-hud {
    display: none; /* Por padrão oculto */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9998;
    background: linear-gradient(180deg, 
        rgba(13, 17, 23, 0.98) 0%, 
        rgba(22, 27, 34, 0.95) 100%);
    border-bottom: 2px solid rgba(120, 255, 120, 0.4);
    backdrop-filter: blur(20px);
    padding: 8px 16px;
    font-family: 'Orbitron', monospace;
    font-size: 0.7rem;
}

.mobile-hud-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 400px;
    margin: 0 auto;
}

.mobile-stats {
    display: flex;
    gap: 12px;
    flex: 1;
}

.mobile-stat-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
}

.mobile-stat-label {
    color: rgba(120, 255, 120, 0.9);
    font-weight: bold;
    font-size: 0.7rem;
    min-width: 20px;
}

.mobile-stat-fill {
    flex: 1;
    height: 6px;
    background: rgba(22, 27, 34, 0.8);
    border-radius: 3px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.mobile-stat-fill-inner {
    height: 100%;
    transition: width 0.5s ease;
    border-radius: 2px;
}

.mobile-hp-bar .mobile-stat-fill-inner {
    background: linear-gradient(90deg, #ff4444, #ff6666);
}

.mobile-mp-bar .mobile-stat-fill-inner {
    background: linear-gradient(90deg, #4444ff, #6666ff);
}

.mobile-hp-bar.critical .mobile-stat-fill-inner {
    background: linear-gradient(90deg, #ff0000, #ff4444);
    animation: criticalPulse 1.5s ease-in-out infinite;
}

.mobile-mp-bar.critical .mobile-stat-fill-inner {
    background: linear-gradient(90deg, #ff6600, #ff8844);
    animation: criticalPulse 1.5s ease-in-out infinite;
}

.mobile-stat-percentage {
    color: rgba(120, 255, 120, 0.9);
    font-size: 0.6rem;
    min-width: 25px;
    text-align: right;
}

.mobile-level-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-left: 12px;
}

.mobile-level-display {
    color: #78ff78;
    font-weight: 900;
    font-size: 0.8rem;
    text-shadow: 0 0 8px rgba(120, 255, 120, 0.6);
}

.mobile-xp-container {
    width: 60px;
}

.mobile-xp-bar {
    width: 100%;
    height: 4px;
    background: rgba(22, 27, 34, 0.8);
    border-radius: 2px;
    overflow: hidden;
    border: 1px solid rgba(120, 255, 120, 0.3);
}

.mobile-xp-fill {
    height: 100%;
    background: linear-gradient(90deg, #78ff78, #00ffff);
    transition: width 1s ease-out;
}

.mobile-xp-text {
    font-size: 0.55rem;
    color: rgba(120, 255, 120, 0.8);
    text-align: center;
    margin-top: 2px;
}

/* =============================================================================
   EFEITOS E ANIMAÇÕES
   ============================================================================= */

.xp-gain-effect {
    position: fixed;
    bottom: 100px; /* Posicionado acima dos botões de navegação */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10001;
    pointer-events: none;
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    font-weight: 900;
    color: #78ff78;
    text-shadow: 0 0 15px rgba(120, 255, 120, 0.8);
    opacity: 0;
    visibility: hidden;
}

.xp-gain-effect.show {
    animation: xpGainFloat 2s ease-out;
}

@keyframes xpGainFloat {
    0% { 
        opacity: 1; 
        visibility: visible; 
        transform: translateX(-50%) scale(0.8); 
    }
    20% { 
        opacity: 1; 
        transform: translateX(-50%) scale(1.2); 
    }
    100% { 
        opacity: 0; 
        visibility: hidden; 
        transform: translateX(-50%) translateY(-30px) scale(1); 
    }
}

.level-up-animation {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, rgba(120, 255, 120, 0.95), rgba(0, 255, 255, 0.95));
    color: #000000;
    padding: 30px 50px;
    border-radius: 20px;
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 0 50px rgba(120, 255, 120, 0.8);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.max-level-animation {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.95), rgba(255, 140, 0, 0.95));
    color: #000000;
    padding: 40px 60px;
    border-radius: 25px;
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 3px;
    box-shadow: 0 0 80px rgba(255, 215, 0, 0.8);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Animação de contador para números */
.stat-number {
    display: inline-block;
    font-weight: 900;
    color: #78ff78;
    position: relative;
}

.stat-number.counting {
    animation: numberPulse 0.1s ease-in-out;
}

@keyframes numberPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* =============================================================================
   MENU MOBILE
   ============================================================================= */

.hamburger-menu {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 9999;
    background: linear-gradient(135deg, rgba(22, 27, 34, 0.95), rgba(13, 17, 23, 0.9));
    border: 2px solid rgba(120, 255, 120, 0.6);
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}

.hamburger-menu:hover {
    border-color: #78ff78;
    box-shadow: 0 0 15px rgba(120, 255, 120, 0.4);
}

.hamburger-icon {
    width: 24px;
    height: 18px;
    position: relative;
}

.hamburger-icon span {
    display: block;
    width: 100%;
    height: 2px;
    background: #78ff78;
    border-radius: 2px;
    transition: all 0.3s ease;
    position: absolute;
}

.hamburger-icon span:nth-child(1) {
    top: 0;
}

.hamburger-icon span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-icon span:nth-child(3) {
    bottom: 0;
}

.hamburger-menu.active .hamburger-icon span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-menu.active .hamburger-icon span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .hamburger-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, 
        rgba(13, 17, 23, 0.98) 0%, 
        rgba(22, 27, 34, 0.95) 50%, 
        rgba(13, 17, 23, 0.98) 100%);
    border-right: 2px solid rgba(120, 255, 120, 0.4);
    backdrop-filter: blur(20px);
    z-index: 9999;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.active {
    left: 0;
}

.mobile-menu-header {
    padding: 20px;
    border-bottom: 1px solid rgba(120, 255, 120, 0.3);
}

.mobile-menu-header h1 {
    font-family: 'Orbitron', monospace;
    font-size: 1.4rem;
    font-weight: 900;
    margin: 0 0 8px 0;
    color: #ffffff;
    text-shadow: 0 0 15px rgba(120, 255, 120, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

.mobile-menu-header p {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    color: #00ffff;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
}

.mobile-menu-stats {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(48, 54, 61, 0.5);
    font-family: 'Orbitron', monospace;
    font-size: 0.75rem;
    color: rgba(120, 255, 120, 0.9);
    line-height: 1.8;
    background: rgba(0, 0, 0, 0.3);
}

.mobile-menu-navigation {
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-menu-navigation::before {
    content: 'MISSION SELECT';
    font-family: 'Orbitron', monospace;
    font-size: 0.75rem;
    color: rgba(0, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.3);
}

.mobile-nav-btn {
    background: linear-gradient(135deg, rgba(22, 27, 34, 0.9), rgba(13, 17, 23, 0.7));
    color: #ffffff;
    border: 1px solid rgba(120, 255, 120, 0.3);
    padding: 14px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.mobile-nav-btn::before {
    content: '▸';
    color: rgba(120, 255, 120, 0.7);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.mobile-nav-btn:hover, .mobile-nav-btn.active {
    background: linear-gradient(135deg, rgba(120, 255, 120, 0.25), rgba(0, 255, 255, 0.15));
    border-color: #78ff78;
    color: #78ff78;
    text-shadow: 0 0 10px rgba(120, 255, 120, 0.8);
}

.mobile-nav-btn:hover::before, .mobile-nav-btn.active::before {
    color: #78ff78;
    transform: translateX(4px);
}

/* =============================================================================
   BOTÕES DE NAVEGAÇÃO - APENAS NO BOTTOM PARA TODOS
   ============================================================================= */

/* REMOVER completamente os botões da direita no desktop */
.desktop-nav-controls {
    display: none !important;
}

/* Botões unificados no bottom para desktop e mobile */
.mobile-nav-controls {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex;
    gap: 12px;
    pointer-events: auto;
    visibility: visible;
    opacity: 1;
}

.nav-control-btn {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(22, 27, 34, 0.95), rgba(13, 17, 23, 0.9));
    border: 2px solid rgba(120, 255, 120, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    color: #78ff78;
    text-shadow: 0 0 10px rgba(120, 255, 120, 0.6);
    user-select: none;
    pointer-events: auto;
    visibility: visible !important;
    opacity: 1 !important;
}

.nav-control-btn:hover {
    border-color: #78ff78;
    box-shadow: 0 0 25px rgba(120, 255, 120, 0.4);
    transform: scale(1.1);
}

.nav-control-btn:active {
    transform: scale(0.95);
}

.nav-control-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.nav-control-btn:disabled:hover {
    border-color: rgba(120, 255, 120, 0.6);
    box-shadow: none;
    transform: none;
}

.slide-indicator {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    background: linear-gradient(135deg, rgba(22, 27, 34, 0.95), rgba(13, 17, 23, 0.9));
    border: 2px solid rgba(120, 255, 120, 0.6);
    border-radius: 20px;
    padding: 8px 16px;
    font-family: 'Orbitron', monospace;
    font-size: 0.8rem;
    color: #78ff78;
    backdrop-filter: blur(12px);
    text-shadow: 0 0 10px rgba(120, 255, 120, 0.6);
}

/* =============================================================================
   SLIDES E CONTEÚDO
   ============================================================================= */

.slide {
    display: none;
    animation: slideIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding-bottom: 40px;
    /* Garantir scroll em mobile */
    touch-action: pan-y;
    -webkit-overflow-scrolling: touch;
}

.slide.active {
    display: block;
}

@keyframes slideIn {
    from { 
        opacity: 0; 
        transform: translateX(30px);
    }
    to { 
        opacity: 1; 
        transform: translateX(0);
    }
}

.slide h3 {
    font-family: 'Rajdhani', sans-serif;
    color: #78ff78;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 24px 0;
    padding: 20px 24px;
    background: linear-gradient(135deg, 
        rgba(22, 27, 34, 0.9), 
        rgba(30, 35, 42, 0.8));
    border-radius: 12px;
    border-left: 4px solid #78ff78;
    border-right: 1px solid rgba(120, 255, 120, 0.3);
    position: relative;
    backdrop-filter: blur(12px);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px rgba(120, 255, 120, 0.5);
}

.slide p {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.4rem;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 24px;
    font-weight: 500;
}

.slide li {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.3rem;
    line-height: 1.6;
    color: #e6edf3;
    margin-bottom: 16px;
    padding-left: 24px;
    position: relative;
    font-weight: 500;
}

.slide li::before {
    content: '▸';
    color: #78ff78;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 0;
    text-shadow: 0 0 10px rgba(120, 255, 120, 0.6);
    font-size: 1.2rem;
}

.slide ul {
    margin-left: 0;
    margin-bottom: 28px;
    list-style: none;
}

.slide li strong {
    color: #78ff78;
    font-weight: 700;
    text-shadow: 0 0 5px rgba(120, 255, 120, 0.4);
}

.highlight {
    background: linear-gradient(135deg, 
        rgba(120, 255, 120, 0.12), 
        rgba(0, 255, 255, 0.08));
    padding: 28px;
    border-radius: 12px;
    margin: 32px 0;
    border: 1px solid rgba(120, 255, 120, 0.4);
    position: relative;
    backdrop-filter: blur(12px);
}

.tips-box {
    background: linear-gradient(135deg, 
        rgba(0, 255, 255, 0.12), 
        rgba(120, 255, 120, 0.08));
    padding: 32px;
    border-radius: 12px;
    margin: 32px 0;
    border: 1px solid rgba(0, 255, 255, 0.4);
    backdrop-filter: blur(12px);
}

.tips-box h4 {
    font-family: 'Rajdhani', sans-serif;
    color: #00ffff;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.warning-box {
    background: linear-gradient(135deg, 
        rgba(255, 193, 7, 0.15), 
        rgba(255, 106, 106, 0.1));
    padding: 28px;
    border-radius: 12px;
    margin: 32px 0;
    border: 1px solid rgba(255, 193, 7, 0.5);
    backdrop-filter: blur(12px);
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
    margin: 36px 0;
}

.stat-item {
    background: linear-gradient(135deg, 
        rgba(22, 27, 34, 0.9), 
        rgba(13, 17, 23, 0.8));
    padding: 32px 28px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(120, 255, 120, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
    position: relative;
}

.stat-item:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(120, 255, 120, 0.7);
    box-shadow: 
        0 12px 28px rgba(120, 255, 120, 0.2),
        0 0 40px rgba(120, 255, 120, 0.1);
}

.stat-number {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 900;
    color: #78ff78;
    display: block;
    margin-bottom: 16px;
    line-height: 1;
    text-shadow: 
        0 0 15px rgba(120, 255, 120, 0.6),
        0 0 25px rgba(120, 255, 120, 0.4);
}

.stat-item p {
    font-family: 'Rajdhani', sans-serif;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 1.2rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quote {
    font-family: 'Rajdhani', sans-serif;
    font-style: italic;
    font-size: 1.6rem;
    color: #ffffff;
    text-align: center;
    padding: 36px;
    background: linear-gradient(135deg, 
        rgba(22, 27, 34, 0.8), 
        rgba(13, 17, 23, 0.9));
    border-radius: 16px;
    margin: 40px 0;
    position: relative;
    border: 1px solid rgba(120, 255, 120, 0.3);
    backdrop-filter: blur(12px);
    font-weight: 500;
    line-height: 1.5;
}

.quote::before {
    content: '"';
    font-family: 'Orbitron', monospace;
    font-size: 5rem;
    color: rgba(120, 255, 120, 0.5);
    position: absolute;
    top: 10px;
    left: 24px;
    line-height: 1;
    text-shadow: 0 0 15px rgba(120, 255, 120, 0.6);
}

.quote::after {
    content: '"';
    font-family: 'Orbitron', monospace;
    font-size: 5rem;
    color: rgba(0, 255, 255, 0.5);
    position: absolute;
    bottom: 10px;
    right: 24px;
    line-height: 1;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.6);
}

.emoji {
    font-size: 1.8rem;
    margin-right: 8px;
}

/* =============================================================================
   RESPONSIVIDADE PARA COMPONENTES
   ============================================================================= */

@media (max-width: 768px) {
    /* Mostrar elementos mobile */
    .hamburger-menu {
        display: block !important;
    }
    
    .mobile-menu-overlay {
        display: block !important;
    }
    
    .slide-indicator {
        display: block !important;
    }
    
    /* FORÇAR exibição do HUD mobile */
    .mobile-hud {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 9998 !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }

    /* IMPORTANTE: Forçar exibição dos botões mobile */
    .mobile-nav-controls {
        display: flex !important;
        position: fixed !important;
        bottom: 20px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        z-index: 9999 !important;
        gap: 12px !important;
        pointer-events: auto !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* Menu mobile deve estar OCULTO por padrão */
    .mobile-menu {
        display: block;
        left: -300px; /* Oculto por padrão */
    }

    /* Ajustar tamanho dos botões para mobile */
    .nav-control-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    /* GARANTIR fundo escuro nos slides mobile */
    .slide {
        background: transparent !important;
    }
    
    .slide h3 {
        background: linear-gradient(135deg, 
            rgba(22, 27, 34, 0.9), 
            rgba(30, 35, 42, 0.8)) !important;
    }

    /* Ajustes de conteúdo mobile */
    .slide h3 {
        font-size: 1.4rem;
        padding: 16px 20px;
        margin-bottom: 20px;
    }

    .slide p {
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .slide li {
        font-size: 1.1rem;
        margin-bottom: 12px;
        padding-left: 20px;
    }

    .stats {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 24px 0;
    }

    .stat-item {
        padding: 24px 20px;
    }

    .stat-number {
        font-size: 2.2rem;
        margin-bottom: 12px;
    }

    .stat-item p {
        font-size: 1rem !important;
    }

    .stat-item ul {
        font-size: 1rem;
        margin-top: 12px;
    }

    .stat-item ul li {
        font-size: 1rem;
        margin-bottom: 8px;
        padding-left: 16px;
    }

    .highlight, .tips-box, .warning-box {
        padding: 20px;
        margin: 24px 0;
    }

    .tips-box h4 {
        font-size: 1.3rem;
        margin-bottom: 16px;
    }

    .quote {
        font-size: 1.3rem;
        padding: 24px;
        margin: 32px 0;
    }

    .quote::before {
        font-size: 3.5rem;
        top: 5px;
        left: 16px;
    }

    .quote::after {
        font-size: 3.5rem;
        bottom: 5px;
        right: 16px;
    }

    .emoji {
        font-size: 1.4rem;
        margin-right: 6px;
    }

    .level-up-animation {
        font-size: 1.1rem; /* Diminuído de 1.4rem */
        padding: 16px 24px;
        border-radius: 12px;
        letter-spacing: 0.5px;
        line-height: 1.2;
        max-width: 90vw; /* Limitar largura */
        text-align: center;
        word-break: break-word;
    }

    .max-level-animation {
        font-size: 1rem; /* Diminuído de 1.4rem */
        padding: 18px 26px;
        border-radius: 14px;
        letter-spacing: 0.8px;
        line-height: 1.3;
        max-width: 95vw; /* Limitar largura */
        text-align: center;
        word-break: break-word;
    }

    /* Versão mobile do efeito XP - ajustado para ficar acima dos botões */
    .xp-gain-effect {
        bottom: 110px; /* Mais espaço dos botões no mobile */
        left: 50%;
        transform: translateX(-50%);
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .slide h3 {
        font-size: 1.2rem;
        padding: 12px 16px;
        margin-bottom: 16px;
    }

    .slide p {
        font-size: 1.1rem;
        margin-bottom: 16px;
    }

    .slide li {
        font-size: 1rem;
        margin-bottom: 10px;
        padding-left: 18px;
    }

    .stats {
        gap: 16px;
        margin: 20px 0;
    }

    .stat-item {
        padding: 20px 16px;
    }

    .stat-number {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .stat-item p {
        font-size: 0.9rem !important;
    }

    .stat-item ul li {
        font-size: 0.9rem;
        margin-bottom: 6px;
        padding-left: 14px;
    }

    .highlight, .tips-box, .warning-box {
        padding: 16px;
        margin: 20px 0;
    }

    .tips-box h4 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }

    .quote {
        font-size: 1.1rem;
        padding: 20px;
        margin: 24px 0;
    }

    .quote::before {
        font-size: 2.8rem;
        top: 2px;
        left: 12px;
    }

    .quote::after {
        font-size: 2.8rem;
        bottom: 2px;
        right: 12px;
    }

    .emoji {
        font-size: 1.2rem;
        margin-right: 4px;
    }

    .level-up-animation {
        font-size: 0.9rem; /* Ainda menor para telas muito pequenas */
        padding: 12px 20px;
        border-radius: 10px;
        letter-spacing: 0.3px;
        line-height: 1.1;
        max-width: 85vw;
    }

    .max-level-animation {
        font-size: 0.85rem; /* Ainda menor para telas muito pequenas */
        padding: 14px 22px;
        border-radius: 12px;
        letter-spacing: 0.5px;
        line-height: 1.2;
        max-width: 90vw;
    }

    .nav-control-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .hamburger-menu {
        top: 65px; /* Ajustado para não sobrepor o HUD */
        left: 16px;
        padding: 10px;
    }

    .slide-indicator {
        top: 65px; /* Ajustado para não sobrepor o HUD */
        right: 16px;
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    /* HUD mobile ajustado */
    .mobile-hud {
        padding: 6px 12px;
        font-size: 0.65rem;
    }
    
    .mobile-hud-content {
        max-width: 350px;
    }
    
    .mobile-stat-label {
        font-size: 0.65rem;
        min-width: 18px;
    }
    
    .mobile-level-display {
        font-size: 0.7rem;
    }
    
    .mobile-xp-text {
        font-size: 0.5rem;
    }
}

/* =============================================================================
   RESPONSIVIDADE PARA TELA DE INÍCIO
   ============================================================================= */

@media (max-width: 768px) {
    .game-title {
        font-size: 2rem;
        letter-spacing: 1px;
        margin-bottom: 12px;
    }
    
    .game-subtitle {
        font-size: 1.2rem;
        margin-bottom: 6px;
    }
    
    .subtitle-line {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .start-screen-content {
        width: 95%;
        padding: 0 10px;
        max-height: 90vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .presenter-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 16px;
        margin: 20px 0;
    }
    
    .presenter-avatar {
        width: 60px;
        height: 60px;
        font-size: 2.5rem;
        margin: 0 auto;
    }
    
    .presenter-info h3 {
        font-size: 1.3rem;
    }
    
    .presenter-title {
        font-size: 1rem;
    }
    
    .presenter-experience {
        font-size: 0.95rem;
    }
    
    .start-mission-brief {
        padding: 16px;
        margin: 16px 0;
    }
    
    .start-mission-brief h4 {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }
    
    .start-mission-brief p {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .start-screen-stats {
        gap: 20px;
        margin: 20px 0;
        flex-wrap: wrap;
    }
    
    .start-stat-item {
        flex: 1;
        min-width: 80px;
    }
    
    .start-stat-icon {
        font-size: 1.5rem;
    }
    
    .start-stat-text {
        font-size: 0.8rem;
    }
    
    .start-game-btn {
        padding: 16px 32px;
        font-size: 1.1rem;
        margin: 20px 0;
        width: 100%;
        max-width: 280px;
    }
    
    .btn-text {
        font-size: 1.1rem;
    }
    
    .btn-subtitle {
        font-size: 0.75rem;
    }
    
    .start-screen-footer {
        margin-top: 16px;
    }
    
    .start-screen-footer p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
}

@media (max-width: 480px) {
    .game-title {
        font-size: 1.6rem;
        letter-spacing: 0.5px;
    }
    
    .start-screen-content {
        width: 98%;
        padding: 0 5px;
        max-height: 85vh;
    }
    
    .presenter-card {
        padding: 16px;
        margin: 16px 0;
    }
    
    .presenter-info h3 {
        font-size: 1.1rem;
    }
    
    .start-mission-brief {
        padding: 12px;
        margin: 12px 0;
    }
    
    .start-screen-stats {
        flex-direction: column;
        gap: 12px;
        margin: 16px 0;
    }
    
    .start-game-btn {
        padding: 14px 24px;
        font-size: 1rem;
        margin: 16px 0;
    }
    
    .btn-text {
        font-size: 1rem;
    }
}