/* MODERN UI - VALORANT STYLE */

:root {
    --valorant-red: #FF4655;
    --valorant-dark: #0F1923;
    --valorant-darker: #0A0E14;
    --valorant-accent: #ECE8E1;
    --valorant-blue: #00F0FF;
    --valorant-gold: #FFD700;
}

/* Menu Principal Moderno */
#startScreen {
    background: linear-gradient(135deg, var(--valorant-darker) 0%, var(--valorant-dark) 100%);
    position: relative;
    overflow: hidden;
}

#startScreen::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 70, 85, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

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

/* Logo/Título */
#startScreen h1 {
    font-size: 72px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--valorant-red) 0%, #FF7A85 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(255, 70, 85, 0.5);
    letter-spacing: 4px;
    margin-bottom: 20px;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(255, 70, 85, 0.5)); }
    50% { filter: drop-shadow(0 0 40px rgba(255, 70, 85, 0.8)); }
}

/* Botões Modernos */
.btn {
    position: relative;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: none;
    border-radius: 0;
    background: transparent;
    color: white;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
    clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--valorant-red) 0%, #FF7A85 100%);
    z-index: -1;
    transition: all 0.3s ease;
}

.btn::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: var(--valorant-dark);
    z-index: -1;
    clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 70, 85, 0.4);
}

.btn:hover::after {
    background: rgba(255, 70, 85, 0.1);
}

.btn:active {
    transform: translateY(-1px);
}

/* Botão START especial */
.start-btn {
    font-size: 20px;
    padding: 20px 60px;
    margin: 30px 0 20px;
}

.start-btn::before {
    background: linear-gradient(135deg, var(--valorant-red) 0%, #FF2A6D 100%);
}

.start-btn:hover {
    box-shadow: 0 15px 40px rgba(255, 70, 85, 0.6);
}

/* Botão Leaderboard - Removido (usando design do leaderboard.css) */

/* HUD Moderno */
.hud {
    font-family: 'Montserrat', sans-serif;
}

.hud-left, .hud-right {
    background: linear-gradient(135deg, rgba(15, 25, 35, 0.9) 0%, rgba(10, 14, 20, 0.9) 100%);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 70, 85, 0.3);
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.hud-item {
    position: relative;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255, 70, 85, 0.2);
}

.hud-item:last-child {
    border-bottom: none;
}

.hud-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 4px;
}

.hud-value {
    font-size: 24px;
    font-weight: 900;
    color: var(--valorant-red);
    text-shadow: 0 0 10px rgba(255, 70, 85, 0.5);
}

/* HP Bar Moderno */
.hp-bar-container {
    position: relative;
    width: 200px;
    height: 8px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 70, 85, 0.3);
    overflow: hidden;
}

.hp-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--valorant-red) 0%, #FF7A85 100%);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 70, 85, 0.8);
}

/* Combo Display */
#combo {
    font-size: 48px;
    font-weight: 900;
    color: var(--valorant-gold);
    text-shadow: 
        0 0 20px rgba(255, 215, 0, 0.8),
        0 0 40px rgba(255, 215, 0, 0.4);
    animation: comboGlow 0.5s ease-in-out infinite;
}

@keyframes comboGlow {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Game Over Screen Moderno */
#gameOver {
    background: linear-gradient(135deg, rgba(15, 25, 35, 0.98) 0%, rgba(10, 14, 20, 0.98) 100%);
    backdrop-filter: blur(20px);
}

#gameOver h1 {
    font-size: 64px;
    background: linear-gradient(135deg, var(--valorant-red) 0%, #FF7A85 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Settings Screen Moderno */
#settingsScreen {
    background: linear-gradient(135deg, var(--valorant-darker) 0%, var(--valorant-dark) 100%);
}

.settings-tabs {
    background: rgba(255, 70, 85, 0.1);
    border: 2px solid rgba(255, 70, 85, 0.3);
    border-radius: 0;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.settings-tab-btn {
    position: relative;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    padding: 15px 30px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.settings-tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--valorant-red);
    transition: width 0.3s ease;
}

.settings-tab-btn:hover {
    color: white;
}

.settings-tab-btn.active {
    color: var(--valorant-red);
}

.settings-tab-btn.active::after {
    width: 80%;
}

/* Sliders Modernos */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 70, 85, 0.3);
    outline: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 18px;
    height: 18px;
    background: var(--valorant-red);
    cursor: pointer;
    border-radius: 0;
    box-shadow: 0 0 10px rgba(255, 70, 85, 0.8);
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}

input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: var(--valorant-red);
    cursor: pointer;
    border-radius: 0;
    border: none;
    box-shadow: 0 0 10px rgba(255, 70, 85, 0.8);
}

/* Animações de Entrada */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

.slide-in {
    animation: slideIn 0.5s ease-out forwards;
}

/* Rank Display Moderno */
.rank-display {
    background: linear-gradient(135deg, rgba(255, 70, 85, 0.2) 0%, rgba(255, 70, 85, 0.1) 100%);
    border: 2px solid var(--valorant-red);
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    padding: 20px;
    text-align: center;
}

.rank-display h3 {
    font-size: 32px;
    color: var(--valorant-red);
    text-shadow: 0 0 20px rgba(255, 70, 85, 0.6);
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    #startScreen h1 {
        font-size: 48px;
    }
    
    .btn {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    .start-btn {
        font-size: 16px;
        padding: 16px 40px;
    }
}
