/**
 * Ultragaz 24 Horas - Login Page Modern Theme
 * Design elegante com gradientes azuis, relogio digital, jogos e chat IA
 */

/* Reset e Base */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-family: 'Segoe UI', 'Open Sans', system-ui, sans-serif;
    background: linear-gradient(135deg, #0a1628 0%, #0d1f36 50%, #0a1628 100%);
    overflow-x: hidden;
}

/* Overlay de fundo animado */
.login-bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at 20% 80%, rgba(0, 85, 255, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(0, 204, 204, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(0, 204, 102, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

/* Particulas flutuantes */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(0, 204, 204, 0.6);
    border-radius: 50%;
    animation: float-particle 15s infinite;
    box-shadow: 0 0 10px rgba(0, 204, 204, 0.5);
}

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

/* Container principal */
.login-container {
    display: flex;
    min-height: 100vh;
    position: relative;
    z-index: 10;
}

/* Painel esquerdo - Features */
.login-features-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    position: relative;
}

/* Relogio Digital */
.digital-clock-widget {
    position: absolute;
    top: 30px;
    left: 30px;
    background: rgba(0, 85, 255, 0.1);
    border: 1px solid rgba(0, 204, 204, 0.3);
    border-radius: 16px;
    padding: 20px 30px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.clock-time {
    font-size: 48px;
    font-weight: 700;
    color: #00cccc;
    text-shadow: 0 0 20px rgba(0, 204, 204, 0.5);
    font-family: 'JetBrains Mono', 'Consolas', monospace;
    letter-spacing: 3px;
}

.clock-date {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.clock-seconds {
    font-size: 24px;
    color: rgba(0, 204, 204, 0.6);
    vertical-align: super;
}

/* Logo e Mensagem */
.brand-section {
    text-align: center;
    margin-bottom: 40px;
}

.brand-logo {
    max-width: 250px;
    height: auto;
    filter: drop-shadow(0 4px 20px rgba(0, 204, 204, 0.3));
    animation: logo-pulse 3s ease-in-out infinite;
}

.brand-logo .flame-icon path {
    animation: flame-flicker 2s ease-in-out infinite;
    transform-origin: center bottom;
}

@keyframes logo-pulse {
    0%, 100% { filter: drop-shadow(0 4px 20px rgba(0, 204, 204, 0.3)); }
    50% { filter: drop-shadow(0 4px 30px rgba(0, 204, 204, 0.5)); }
}

@keyframes flame-flicker {
    0%, 100% { 
        opacity: 1;
        transform: scaleY(1) scaleX(1);
    }
    10% { 
        opacity: 0.9;
        transform: scaleY(1.02) scaleX(0.98);
    }
    20% { 
        opacity: 1;
        transform: scaleY(0.98) scaleX(1.02);
    }
    30% { 
        opacity: 0.95;
        transform: scaleY(1.01) scaleX(0.99);
    }
    40% { 
        opacity: 1;
        transform: scaleY(0.99) scaleX(1.01);
    }
    50% { 
        opacity: 0.92;
        transform: scaleY(1.03) scaleX(0.97);
    }
    60% { 
        opacity: 1;
        transform: scaleY(0.97) scaleX(1.03);
    }
    70% { 
        opacity: 0.96;
        transform: scaleY(1.02) scaleX(0.98);
    }
    80% { 
        opacity: 1;
        transform: scaleY(0.98) scaleX(1.02);
    }
    90% { 
        opacity: 0.94;
        transform: scaleY(1.01) scaleX(0.99);
    }
}

.brand-tagline {
    color: #ffffff;
    font-size: 28px;
    font-weight: 600;
    margin-top: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.brand-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    margin-top: 10px;
}

/* Area de Mini Jogos */
.games-section {
    background: rgba(0, 85, 255, 0.08);
    border: 1px solid rgba(0, 204, 204, 0.2);
    border-radius: 20px;
    padding: 25px;
    margin-top: 30px;
    backdrop-filter: blur(10px);
}

.games-title {
    color: #00cccc;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.games-title i {
    font-size: 20px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.game-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 204, 204, 0.2);
    border-radius: 12px;
    padding: 20px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.game-card:hover {
    background: rgba(0, 204, 204, 0.15);
    border-color: rgba(0, 204, 204, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 204, 204, 0.2);
}

.game-card i {
    font-size: 32px;
    color: #00cccc;
    margin-bottom: 10px;
    display: block;
}

.game-card span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    font-weight: 500;
}

/* Chat IA Widget */
.ai-chat-widget {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 1000;
}

.ai-chat-toggle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0055ff, #00cccc);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 85, 255, 0.4);
    transition: all 0.3s ease;
}

.ai-chat-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(0, 204, 204, 0.5);
}

.ai-chat-toggle i {
    font-size: 28px;
    color: white;
}

.ai-chat-box {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 350px;
    height: 450px;
    background: rgba(10, 22, 40, 0.95);
    border: 1px solid rgba(0, 204, 204, 0.3);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.ai-chat-box.open {
    display: flex;
    animation: chat-open 0.3s ease;
}

@keyframes chat-open {
    from { opacity: 0; transform: translateY(20px) scale(0.9); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.ai-chat-header {
    background: linear-gradient(135deg, rgba(0, 85, 255, 0.3), rgba(0, 204, 204, 0.2));
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0, 204, 204, 0.2);
}

.ai-chat-header h4 {
    color: #ffffff;
    margin: 0;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ai-chat-header h4 i {
    color: #00cccc;
}

.ai-chat-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-size: 20px;
    transition: color 0.2s;
}

.ai-chat-close:hover {
    color: #ffffff;
}

.ai-chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ai-message {
    display: flex;
    gap: 10px;
    animation: message-in 0.3s ease;
}

@keyframes message-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.ai-message.user {
    flex-direction: row-reverse;
}

.ai-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0055ff, #00cccc);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ai-avatar i {
    color: white;
    font-size: 16px;
}

.user .ai-avatar {
    background: linear-gradient(135deg, #00cc66, #00cccc);
}

.message-bubble {
    background: rgba(0, 85, 255, 0.15);
    border: 1px solid rgba(0, 204, 204, 0.2);
    border-radius: 16px;
    padding: 12px 16px;
    max-width: 80%;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.5;
}

.user .message-bubble {
    background: rgba(0, 204, 102, 0.15);
    border-color: rgba(0, 204, 102, 0.3);
}

.ai-chat-input {
    padding: 15px 20px;
    border-top: 1px solid rgba(0, 204, 204, 0.2);
    display: flex;
    gap: 10px;
}

.ai-chat-input input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 204, 204, 0.2);
    border-radius: 25px;
    padding: 12px 20px;
    color: white;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.ai-chat-input input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.ai-chat-input input:focus {
    border-color: rgba(0, 204, 204, 0.5);
}

.ai-chat-input button {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0055ff, #00cccc);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.ai-chat-input button:hover {
    transform: scale(1.05);
}

.ai-chat-input button i {
    color: white;
    font-size: 18px;
}

/* Painel direito - Login Form */
.login-form-panel {
    width: 480px;
    background: rgba(10, 22, 40, 0.8);
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    border-left: 1px solid rgba(0, 204, 204, 0.15);
}

.login-form-container {
    width: 100%;
    max-width: 380px;
}

.login-form-header {
    text-align: center;
    margin-bottom: 40px;
}

.login-form-header h2 {
    color: #ffffff;
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.login-form-header p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

/* Form Styles */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group .input-wrapper {
    position: relative;
}

.form-group .input-wrapper i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(0, 204, 204, 0.6);
    font-size: 18px;
}

.form-group input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 204, 204, 0.2);
    border-radius: 12px;
    padding: 14px 16px 14px 50px;
    color: white;
    font-size: 15px;
    outline: none;
    transition: all 0.3s ease;
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus {
    border-color: #00cccc;
    background: rgba(0, 204, 204, 0.08);
    box-shadow: 0 0 20px rgba(0, 204, 204, 0.15);
}

/* Estados de validação */
.form-group input.valid {
    border-color: #00cc66;
    background: rgba(0, 204, 102, 0.08);
}

.form-group input.invalid {
    border-color: #ff4444;
    background: rgba(255, 68, 68, 0.08);
}

.form-group .input-wrapper {
    position: relative;
}

/* Toggle de senha */
.toggle-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: rgba(0, 204, 204, 0.6);
    font-size: 16px;
    cursor: pointer;
    padding: 8px;
    transition: all 0.2s ease;
    z-index: 2;
}

.toggle-password:hover {
    color: #00cccc;
    transform: translateY(-50%) scale(1.1);
}

.toggle-password:focus {
    outline: none;
    color: #00cccc;
}

/* Ajuste no input quando tem toggle */
.form-group input.has-toggle {
    padding-right: 45px;
}

/* Login Button */
.btn-login {
    width: 100%;
    background: linear-gradient(135deg, #0055ff, #00cccc);
    border: none;
    border-radius: 12px;
    padding: 16px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
}

.btn-login:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.btn-login .btn-text,
.btn-login .btn-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Mensagem de validação em tempo real */
.validation-message {
    font-size: 12px;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.validation-message.show {
    opacity: 1;
    transform: translateY(0);
}

.validation-message.error {
    color: #ff8888;
}

.validation-message.success {
    color: #66dd99;
}

.validation-message i {
    font-size: 12px;
}

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

.btn-login:hover::before {
    left: 100%;
}

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

.btn-login:active {
    transform: translateY(0);
}

/* Links */
.form-links {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.form-links a {
    color: rgba(0, 204, 204, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.form-links a:hover {
    color: #00cccc;
}

/* Divider */
.login-divider {
    display: flex;
    align-items: center;
    margin: 30px 0;
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.login-divider span {
    padding: 0 15px;
}

/* Alert Messages */
.alert {
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    display: none;
}

.alert-danger {
    background: rgba(220, 38, 38, 0.15);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: #fca5a5;
}

.alert-success {
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #86efac;
}

.alert-info {
    background: rgba(0, 204, 204, 0.15);
    border: 1px solid rgba(0, 204, 204, 0.3);
    color: #67e8f9;
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #00cccc;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Modal de Jogo */
.game-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.game-modal.open {
    display: flex;
    animation: modal-in 0.3s ease;
}

@keyframes modal-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.game-modal-content {
    background: rgba(10, 22, 40, 0.95);
    border: 1px solid rgba(0, 204, 204, 0.3);
    border-radius: 24px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    backdrop-filter: blur(20px);
    overflow: hidden;
}

.game-modal-header {
    background: linear-gradient(135deg, rgba(0, 85, 255, 0.2), rgba(0, 204, 204, 0.15));
    padding: 20px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(0, 204, 204, 0.2);
}

.game-modal-header h3 {
    color: #ffffff;
    margin: 0;
    font-size: 20px;
}

.game-modal-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-size: 24px;
    transition: color 0.2s;
}

.game-modal-close:hover {
    color: #ffffff;
}

.game-modal-body {
    padding: 30px;
}

/* Jogo da Memoria */
.memory-game {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.memory-card {
    aspect-ratio: 1;
    background: rgba(0, 85, 255, 0.15);
    border: 1px solid rgba(0, 204, 204, 0.3);
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    transition: all 0.3s ease;
    color: transparent;
}

.memory-card:hover {
    background: rgba(0, 204, 204, 0.2);
    transform: scale(1.05);
}

.memory-card.flipped,
.memory-card.matched {
    background: rgba(0, 204, 204, 0.3);
    color: white;
}

.memory-card.matched {
    background: rgba(0, 204, 102, 0.3);
    border-color: rgba(0, 204, 102, 0.5);
}

/* Responsive */
@media (max-width: 992px) {
    .login-container {
        flex-direction: column;
    }

    .login-features-panel {
        padding: 20px;
        order: 2;
    }

    .login-form-panel {
        width: 100%;
        order: 1;
        border-left: none;
        border-bottom: 1px solid rgba(0, 204, 204, 0.15);
    }

    .digital-clock-widget {
        position: relative;
        top: 0;
        left: 0;
        margin-bottom: 20px;
        text-align: center;
    }

    .games-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .ai-chat-box {
        width: calc(100vw - 60px);
        max-width: 350px;
    }
}

@media (max-width: 576px) {
    .clock-time {
        font-size: 36px;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .game-card {
        padding: 15px 10px;
    }

    .game-card i {
        font-size: 24px;
    }
}

/* ============================================
   FRASE MOTIVACIONAL
   ============================================ */
.motivational-quote {
    background: rgba(0, 85, 255, 0.1);
    border: 1px solid rgba(0, 204, 204, 0.2);
    border-radius: 16px;
    padding: 25px 30px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease;
}

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

.quote-icon {
    font-size: 24px;
    color: rgba(0, 204, 204, 0.4);
    margin-bottom: 10px;
}

.quote-text {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 12px 0;
    font-style: italic;
}

.quote-author {
    color: rgba(0, 204, 204, 0.8);
    font-size: 14px;
    margin: 0;
}

.quote-author::before {
    content: '— ';
}

/* ============================================
   RANKING DOS JOGOS
   ============================================ */
.games-title {
    color: #00cccc;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.games-subtitle {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    font-weight: 400;
    margin-left: auto;
}

.game-desc {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    margin-top: 5px;
    font-weight: 400;
}

.leaderboard-preview {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 204, 204, 0.15);
}

.leaderboard-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.leaderboard-title i {
    color: #ffd700;
    margin-right: 8px;
}

.btn-view-full {
    background: transparent;
    border: 1px solid rgba(0, 204, 204, 0.3);
    color: rgba(0, 204, 204, 0.8);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-view-full:hover {
    background: rgba(0, 204, 204, 0.15);
    border-color: rgba(0, 204, 204, 0.5);
    color: #00cccc;
}

.leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.leaderboard-item:hover {
    background: rgba(0, 204, 204, 0.08);
}

.leaderboard-rank {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    margin-right: 12px;
}

.leaderboard-rank.gold {
    background: linear-gradient(135deg, #ffd700, #ffaa00);
    color: #000;
}

.leaderboard-rank.silver {
    background: linear-gradient(135deg, #c0c0c0, #808080);
    color: #000;
}

.leaderboard-rank.bronze {
    background: linear-gradient(135deg, #cd7f32, #8b4513);
    color: #fff;
}

.leaderboard-rank.other {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
}

.leaderboard-info {
    flex: 1;
}

.leaderboard-name {
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
}

.leaderboard-game {
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
}

.leaderboard-score {
    color: #00cccc;
    font-weight: 700;
    font-size: 14px;
}

.leaderboard-loading,
.leaderboard-empty {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    padding: 20px;
}

/* ============================================
   MODAL DO RANKING COMPLETO
   ============================================ */
.leaderboard-modal .game-modal-body {
    max-height: 60vh;
    overflow-y: auto;
}

.leaderboard-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0, 204, 204, 0.2);
    padding-bottom: 10px;
}

.leaderboard-tab {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    padding: 8px 16px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.leaderboard-tab:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.05);
}

.leaderboard-tab.active {
    color: #00cccc;
    background: rgba(0, 204, 204, 0.15);
}

/* Scrollbar customizada */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 204, 204, 0.4);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 204, 204, 0.6);
}
