/* ========== MENU VALORANT ULTRA LUXURY - DESIGN PREMIUM ========== */

/* ========== BACKGROUND E CONTAINER ========== */
#startScreen {
    background: 
        radial-gradient(ellipse at top, rgba(255, 70, 85, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, rgba(15, 25, 35, 0.98) 0%, rgba(25, 35, 45, 0.96) 100%) !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 60px 40px !important;
    z-index: 1000 !important;
    transition: opacity 0.3s ease, visibility 0.3s ease !important;
}

#startScreen.hidden {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* Overlay com gradiente vermelho Valorant + Vinheta */
#startScreen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 50% 50%, transparent 0%, rgba(0, 0, 0, 0.4) 100%),
        radial-gradient(ellipse at top right, rgba(255, 70, 85, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(255, 70, 85, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
    animation: overlay-pulse 8s ease-in-out infinite;
}

@keyframes overlay-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.95; }
}

/* Linhas diagonais animadas */
#startScreen::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 80px,
        rgba(255, 70, 85, 0.02) 80px,
        rgba(255, 70, 85, 0.02) 82px
    );
    pointer-events: none;
    z-index: 1;
    animation: diagonal-slide 30s linear infinite;
}

@keyframes diagonal-slide {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-100px, 100px); }
}

/* ========== TÍTULO PRINCIPAL ========== */
#startScreen h1 {
    font-size: 64px !important;
    font-weight: 900 !important;
    background: linear-gradient(135deg, #ff4655 0%, #ff6b7a 30%, #fff 50%, #ff6b7a 70%, #ff4655 100%) !important;
    background-size: 200% 200% !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    letter-spacing: 8px !important;
    margin-bottom: 20px !important;
    text-transform: uppercase !important;
    position: relative !important;
    z-index: 10 !important;
    animation: gradient-shift 4s ease infinite, title-float 3s ease-in-out infinite !important;
    filter: drop-shadow(0 0 40px rgba(255, 70, 85, 0.6)) drop-shadow(0 0 80px rgba(255, 70, 85, 0.3)) !important;
}

#startScreen h1::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #ff4655 0%, #ff6b7a 50%, #ff4655 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    filter: blur(8px);
    z-index: -1;
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

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

/* ========== USER INFO ========== */
.user-info-container {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    margin-bottom: 25px !important;
    padding: 10px 20px !important;
    background: rgba(0, 0, 0, 0.4) !important;
    border: 1px solid rgba(255, 70, 85, 0.3) !important;
    border-radius: 50px !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4) !important;
    position: relative !important;
    z-index: 10 !important;
    transition: all 0.3s ease !important;
}

.user-info-container:hover {
    border-color: rgba(255, 70, 85, 0.6) !important;
    box-shadow: 0 8px 32px rgba(255, 70, 85, 0.3) !important;
    transform: translateY(-2px) !important;
}

.user-welcome {
    display: block !important;
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

#userDisplayName {
    color: #ff4655 !important;
    font-weight: 800 !important;
    text-shadow: 0 0 20px rgba(255, 70, 85, 0.5) !important;
}

.logout-btn,
.login-btn,
.register-btn {
    background: linear-gradient(135deg, rgba(255, 70, 85, 0.2), rgba(255, 70, 85, 0.3)) !important;
    border: 2px solid rgba(255, 70, 85, 0.5) !important;
    padding: 8px 20px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    border-radius: 25px !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.logout-btn:hover,
.login-btn:hover,
.register-btn:hover {
    background: linear-gradient(135deg, rgba(255, 70, 85, 0.4), rgba(255, 70, 85, 0.5)) !important;
    border-color: #ff4655 !important;
    transform: scale(1.05) !important;
    box-shadow: 0 0 20px rgba(255, 70, 85, 0.4) !important;
}

/* Login button - verde */
.login-btn {
    background: linear-gradient(135deg, rgba(0, 255, 100, 0.2), rgba(0, 200, 80, 0.3)) !important;
    border: 2px solid rgba(0, 255, 100, 0.5) !important;
}

.login-btn:hover {
    background: linear-gradient(135deg, rgba(0, 255, 100, 0.4), rgba(0, 200, 80, 0.5)) !important;
    border-color: #00ff64 !important;
    box-shadow: 0 0 20px rgba(0, 255, 100, 0.4) !important;
}

/* Register button - azul */
.register-btn {
    background: linear-gradient(135deg, rgba(0, 150, 255, 0.2), rgba(0, 120, 200, 0.3)) !important;
    border: 2px solid rgba(0, 150, 255, 0.5) !important;
}

.register-btn:hover {
    background: linear-gradient(135deg, rgba(0, 150, 255, 0.4), rgba(0, 120, 200, 0.5)) !important;
    border-color: #0096ff !important;
    box-shadow: 0 0 20px rgba(0, 150, 255, 0.4) !important;
}

/* ========== BOTÃO START GAME - ULTRA PREMIUM ========== */
.start-btn,
#startButton {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%),
        linear-gradient(135deg, #ff4655 0%, #ff1744 100%) !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    font-size: 28px !important;
    font-weight: 900 !important;
    padding: 22px 60px !important;
    letter-spacing: 5px !important;
    text-transform: uppercase !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    position: relative !important;
    overflow: hidden !important;
    box-shadow: 
        0 0 40px rgba(255, 70, 85, 0.6),
        0 10px 40px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3) !important;
    margin: 20px 0 15px 0 !important;
    z-index: 10 !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
}

/* Efeito de brilho animado */
.start-btn::before,
#startButton::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 70%
    );
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.start-btn:hover,
#startButton:hover {
    transform: translateY(-8px) scale(1.05) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    box-shadow: 
        0 0 60px rgba(255, 70, 85, 0.9),
        0 20px 60px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.4),
        0 0 100px rgba(255, 70, 85, 0.5) !important;
}

.start-btn:active,
#startButton:active {
    transform: translateY(-4px) scale(1.02) !important;
}

/* ========== SEÇÕES DO MENU ========== */
#startScreen > div {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 450px !important;
    margin: 8px auto !important;
    position: relative !important;
    z-index: 10 !important;
}

/* Esconder separadores e labels das seções */
#startScreen div[style*="border-top"] {
    border-top: none !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
}

#startScreen div[style*="border-top"]::before {
    display: none !important;
}

/* Esconder labels das seções */
#startScreen div[style*="border-top"] p {
    display: none !important;
}

/* ========== BOTÕES DO MENU - ULTRA PREMIUM ========== */
.btn,
#leaderboardButton,
#shopButton,
#settingsButton,
#progressionButton {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%),
        linear-gradient(135deg, rgba(255, 70, 85, 0.03), rgba(255, 70, 85, 0.01)) !important;
    border: 2px solid rgba(255, 255, 255, 0.15) !important;
    color: white !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    padding: 16px 35px !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    position: relative !important;
    overflow: hidden !important;
    backdrop-filter: blur(15px) !important;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

/* Linha de brilho no hover */
.btn::before,
#leaderboardButton::before,
#shopButton::before,
#settingsButton::before {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 70, 85, 0.3), transparent);
    transition: left 0.5s ease;
}

.btn:hover,
#leaderboardButton:hover,
#shopButton:hover,
#settingsButton:hover {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.05) 100%),
        linear-gradient(135deg, rgba(255, 70, 85, 0.2), rgba(255, 70, 85, 0.15)) !important;
    border-color: rgba(255, 70, 85, 0.6) !important;
    transform: translateX(15px) !important;
    box-shadow: 
        -8px 0 30px rgba(255, 70, 85, 0.4),
        0 4px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    color: #ff6b7a !important;
    text-shadow: 0 0 10px rgba(255, 70, 85, 0.5) !important;
}

.btn:hover::before,
#leaderboardButton:hover::before,
#shopButton:hover::before,
#settingsButton:hover::before {
    left: 100%;
}

.btn:active,
#leaderboardButton:active,
#shopButton:active,
#settingsButton:active {
    transform: translateX(12px) scale(0.98) !important;
}

/* ========== BADGE CHEATYMOUZ - COMPACTO ========== */
.cheatymouz-badge {
    display: flex !important;
    position: absolute !important;
    bottom: 20px !important;
    left: 20px !important;
    background: linear-gradient(135deg, rgba(0, 255, 100, 0.15), rgba(0, 200, 80, 0.1)) !important;
    border: 2px solid rgba(0, 255, 100, 0.4) !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    backdrop-filter: blur(20px) !important;
    box-shadow: 
        0 4px 16px rgba(0, 255, 100, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    animation: badge-pulse 3s ease-in-out infinite !important;
    z-index: 100 !important;
    transition: all 0.3s ease !important;
    gap: 8px !important;
    align-items: center !important;
}

.cheatymouz-badge > div:first-child {
    font-size: 18px !important;
    animation: cheatymouz-shield-rotate 4s linear infinite !important;
}

.cheatymouz-badge > div:last-child {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}

.cheatymouz-badge > div:last-child span:first-child {
    color: rgba(255, 255, 255, 0.5) !important;
    font-size: 8px !important;
    font-weight: 600 !important;
    letter-spacing: 0.3px !important;
    text-transform: uppercase !important;
}

.cheatymouz-badge > div:last-child span:last-child {
    color: rgba(0, 255, 100, 0.9) !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: 0.8px !important;
    text-shadow: 0 0 10px rgba(0, 255, 100, 0.5) !important;
}

@keyframes cheatymouz-shield-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cheatymouz-badge:hover {
    transform: scale(1.05) !important;
    box-shadow: 
        0 6px 24px rgba(0, 255, 100, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

@keyframes badge-pulse {
    0%, 100% {
        box-shadow: 
            0 8px 32px rgba(0, 255, 100, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    50% {
        box-shadow: 
            0 8px 40px rgba(0, 255, 100, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
}

/* ========== ESCONDER ELEMENTOS ========== */
.donation-container {
    display: none !important;
}

#startScreen .controls {
    display: none !important;
}

/* ========== VERSÃO E CRÉDITOS - CANTO INFERIOR DIREITO ========== */
#versionLink {
    position: absolute !important;
    bottom: 20px !important;
    right: 20px !important;
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    z-index: 100 !important;
    padding: 6px 12px !important;
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 6px !important;
    backdrop-filter: blur(10px) !important;
}

#versionLink:hover {
    color: rgba(255, 255, 255, 0.8) !important;
    border-color: rgba(255, 70, 85, 0.4) !important;
    background: rgba(255, 70, 85, 0.1) !important;
    transform: translateY(-2px) !important;
}

/* ========== PARTÍCULAS FLUTUANTES ========== */
@keyframes particle-float {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

/* ========== RESPONSIVO ========== */
@media (max-width: 768px) {
    #startScreen h1 {
        font-size: 48px !important;
        letter-spacing: 6px !important;
    }
    
    .start-btn,
    #startButton {
        font-size: 22px !important;
        padding: 20px 50px !important;
    }
    
    .btn,
    #leaderboardButton,
    #shopButton,
    #settingsButton {
        font-size: 16px !important;
        padding: 16px 30px !important;
    }
    
    #startScreen > div {
        max-width: 90% !important;
    }
    
    .cheatymouz-badge {
        bottom: 15px !important;
        left: 15px !important;
        padding: 8px 15px !important;
    }
}

/* ========== ANIMAÇÃO DE ENTRADA ========== */
@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#startScreen {
    animation: fade-in-up 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

/* ========== GLOW EFFECT ========== */
@keyframes glow-pulse {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(255, 70, 85, 0.4));
    }
    50% {
        filter: drop-shadow(0 0 40px rgba(255, 70, 85, 0.8));
    }
}
