/* 🎨 MELHORIAS GLOBAIS DE VISIBILIDADE E LEGIBILIDADE */

/* ===== TIPOGRAFIA MELHORADA ===== */
body {
    font-family: 'Segoe UI', 'Arial', sans-serif !important;
    font-size: 16px !important;
    line-height: 1.6 !important;
    color: #ffffff !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

/* Títulos mais legíveis */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700 !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9) !important;
    color: #ffffff !important;
    margin-bottom: 1rem !important;
}

h1 { font-size: 2.5rem !important; }
h2 { font-size: 2rem !important; }
h3 { font-size: 1.75rem !important; }
h4 { font-size: 1.5rem !important; }
h5 { font-size: 1.25rem !important; }
h6 { font-size: 1.1rem !important; }

/* ===== BOTÕES MELHORADOS ===== */
.btn {
    font-family: 'Segoe UI', 'Tahoma', 'Arial', sans-serif !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
    transition: all 0.3s ease !important;
    border-width: 2px !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

.btn-primary {
    background: linear-gradient(135deg, #8B0000 0%, #DC143C 100%) !important;
    border-color: #FFD700 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3) !important;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #DC143C 0%, #8B0000 100%) !important;
    border-color: #ffffff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(220, 20, 60, 0.6) !important;
}

.btn-outline-primary {
    background: rgba(0, 0, 0, 0.6) !important;
    border-color: #8B0000 !important;
    color: #8B0000 !important;
}

.btn-outline-primary:hover {
    background: #8B0000 !important;
    border-color: #8B0000 !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
}

.btn-outline-light {
    background: rgba(0, 0, 0, 0.6) !important;
    border-color: #ffffff !important;
    color: #ffffff !important;
}

.btn-outline-light:hover {
    background: #ffffff !important;
    border-color: #ffffff !important;
    color: #000000 !important;
}

/* ===== STEAM LOGIN BUTTON ===== */
.btn-steam-login {
    background: linear-gradient(135deg, #1b2838 0%, #2a475e 100%) !important;
    border: 3px solid #66c0f4 !important;
    color: #ffffff !important;
    font-family: 'Segoe UI', 'Tahoma', 'Arial', sans-serif !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    padding: 15px 25px !important;
    border-radius: 10px !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3) !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

.btn-steam-login:hover {
    background: linear-gradient(135deg, #2a475e 0%, #1b2838 100%) !important;
    border-color: #ffffff !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 16px rgba(102, 192, 244, 0.6) !important;
}

.steam-icon {
    background: #66c0f4 !important;
    color: #1b2838 !important;
    font-weight: 900 !important;
    font-size: 18px !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 12px !important;
    text-shadow: none !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

/* ===== BOTÕES TRADICIONAIS MELHORADOS ===== */
.btn-login-traditional,
.btn-register-traditional {
    font-family: 'Segoe UI', 'Tahoma', 'Arial', sans-serif !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3) !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

/* ===== BOTÕES DE LINK MELHORADOS ===== */
.btn-login-link,
.btn-register-link {
    font-family: 'Segoe UI', 'Tahoma', 'Arial', sans-serif !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    padding: 10px 20px !important;
    border-radius: 6px !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
    transition: all 0.3s ease !important;
    letter-spacing: normal !important;
    text-transform: none !important;
}

.btn-steam-login:hover .steam-icon {
    background: #ffffff !important;
    color: #1b2838 !important;
    transform: scale(1.1) !important;
}

/* ===== FORMULÁRIOS MELHORADOS ===== */
.form-control {
    background: rgba(0, 0, 0, 0.8) !important;
    border: 2px solid #666666 !important;
    color: #ffffff !important;
    font-size: 16px !important;
    padding: 12px 16px !important;
    border-radius: 8px !important;
    text-shadow: none !important;
}

.form-control:focus {
    background: rgba(0, 0, 0, 0.9) !important;
    border-color: #8B0000 !important;
    color: #ffffff !important;
    box-shadow: 0 0 10px rgba(139, 0, 0, 0.5) !important;
}

.form-label {
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
    margin-bottom: 8px !important;
}

/* ===== CARDS E CONTAINERS ===== */
.card {
    background: rgba(0, 0, 0, 0.9) !important;
    border: 2px solid #8B0000 !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
}

.card-header {
    background: rgba(139, 0, 0, 0.3) !important;
    border-bottom: 2px solid #8B0000 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
}

.card-body {
    color: #ffffff !important;
}

/* ===== NAVEGAÇÃO MELHORADA ===== */
.navbar {
    background: rgba(0, 0, 0, 0.95) !important;
    border-bottom: 3px solid #8B0000 !important;
    backdrop-filter: blur(10px) !important;
    box-shadow: 0 4px 20px rgba(139, 0, 0, 0.5) !important;
}

.navbar-brand {
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 1.8rem !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8) !important;
}

.nav-link {
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 16px !important;
    padding: 10px 20px !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
    transition: all 0.3s ease !important;
}

.nav-link:hover {
    color: #8B0000 !important;
    background: rgba(139, 0, 0, 0.2) !important;
    border-radius: 8px !important;
}

/* ===== ALERTAS MELHORADOS ===== */
.alert {
    border: 2px solid !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

.alert-success {
    background: rgba(40, 167, 69, 0.9) !important;
    border-color: #28a745 !important;
    color: #ffffff !important;
}

.alert-danger {
    background: rgba(220, 53, 69, 0.9) !important;
    border-color: #dc3545 !important;
    color: #ffffff !important;
}

.alert-warning {
    background: rgba(255, 193, 7, 0.9) !important;
    border-color: #ffc107 !important;
    color: #000000 !important;
}

.alert-info {
    background: rgba(23, 162, 184, 0.9) !important;
    border-color: #17a2b8 !important;
    color: #ffffff !important;
}

/* ===== TABELAS MELHORADAS ===== */
.table {
    color: #ffffff !important;
    background: rgba(0, 0, 0, 0.8) !important;
}

.table th {
    background: rgba(139, 0, 0, 0.3) !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    border-color: #8B0000 !important;
}

.table td {
    border-color: #666666 !important;
    color: #ffffff !important;
}

.table-striped tbody tr:nth-of-type(odd) {
    background: rgba(139, 0, 0, 0.1) !important;
}

/* ===== DIVIDERS ===== */
.divider {
    position: relative !important;
    text-align: center !important;
    margin: 20px 0 !important;
}

.divider::before {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 0 !important;
    right: 0 !important;
    height: 2px !important;
    background: rgba(255, 255, 255, 0.3) !important;
}

.divider-text {
    background: rgba(0, 0, 0, 0.8) !important;
    padding: 0 20px !important;
    color: #cccccc !important;
    font-weight: 600 !important;
    font-size: 16px !important;
}

/* ===== ÍCONES MELHORADOS ===== */
.btn-icon {
    font-size: 20px !important;
    margin-right: 10px !important;
    display: inline-block !important;
    font-weight: bold !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8) !important;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
    body {
        font-size: 14px !important;
    }
    
    h1 { font-size: 2rem !important; }
    h2 { font-size: 1.75rem !important; }
    h3 { font-size: 1.5rem !important; }
    
    .btn {
        font-size: 14px !important;
        padding: 10px 20px !important;
    }
    
    .navbar-brand {
        font-size: 1.5rem !important;
    }
    
    .steam-icon {
        width: 25px !important;
        height: 25px !important;
        font-size: 16px !important;
    }
}

@media (max-width: 480px) {
    .btn {
        font-size: 13px !important;
        padding: 8px 16px !important;
    }
    
    .steam-icon {
        width: 22px !important;
        height: 22px !important;
        font-size: 14px !important;
    }
}
