/* ================================
   BET LIVRE - DASHBOARD STYLES
   Modern Minimalist Design with Glass Effect
   ================================ */

/* Color Variables - Modern Minimalist */
:root {
    --primary-color: #00C2FF;
    --primary: #00C2FF;
    --secondary-color: #8A00FF;
    --secondary: #8A00FF;
    --accent-color: #FFD500;
    --background-dark: #0A0A0B;
    --background-secondary: #111113;
    --background-card: rgba(255, 255, 255, 0.03);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-primary: #FFFFFF;
    --text-secondary: #9CA3AF;
    --text-muted: #6B7280;
    --border-color: rgba(255, 255, 255, 0.06);
    --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-strong: 0 8px 24px rgba(0, 0, 0, 0.2);
    --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-dark: 0 8px 24px rgba(0, 0, 0, 0.3);
    --shadow-light: 0 2px 8px rgba(0, 194, 255, 0.2);
    --gradient-primary: linear-gradient(135deg, #00C2FF, #8A00FF);
    --gradient-accent: linear-gradient(135deg, #FFD500, #FF8C00);
    --border-radius: 12px;
    --border-radius-large: 16px;
    --transition: all 0.2s ease;
    --sidebar-width: 280px;
    --header-height: 70px;
    --glass-blur: blur(20px);
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--background-secondary) 100%);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Header Styles - Glass Effect */
.navbar {
    height: var(--header-height);
    background: var(--glass-bg) !important;
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
    transition: var(--transition);
    box-shadow: var(--shadow-subtle);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
}

.navbar-brand {
    font-size: 1.8rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-brand img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(58%) sepia(96%) saturate(3071%) hue-rotate(186deg) brightness(101%) contrast(101%);
    transition: var(--transition);
}

.navbar-brand:hover img {
    filter: brightness(0) saturate(100%) invert(25%) sepia(89%) saturate(2635%) hue-rotate(262deg) brightness(102%) contrast(101%);
}

.navbar-brand span {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-nav .nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    margin: 0 15px;
    position: relative;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

.user-avatar i {
    font-size: 2rem;
    color: var(--primary-color);
}

.user-info {
    text-align: right;
}

.user-name {
    display: block;
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 600;
}

.user-balance {
    font-size: 0.8rem;
    color: var(--accent-color) !important;
    font-weight: 700;
}

.dropdown-menu {
    background: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-dark);
}

/* Mobile dropdown improvements */
@media (max-width: 768px) {
    .dropdown-menu {
        background: rgba(10, 10, 11, 0.98) !important;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    }
    
    .navbar-collapse {
        background: rgba(10, 10, 11, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: 0 0 12px 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        margin-top: 10px;
        padding: 15px;
    }
    
    .navbar-toggler {
        border: 1px solid rgba(255, 255, 255, 0.2);
        background: rgba(255, 255, 255, 0.05);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(0, 194, 255, 0.25);
    }
}

.dropdown-item {
    color: var(--text-secondary);
    transition: var(--transition);
}

.dropdown-item:hover {
    background: var(--background-card);
    color: var(--primary-color);
}

.dropdown-item.text-danger:hover {
    color: #ff4757 !important;
}

/* Main Content */
.main-content {
    margin-top: var(--header-height);
    padding: 20px 0;
    min-height: calc(100vh - var(--header-height));
    background: radial-gradient(circle at 30% 20%, rgba(0, 194, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(138, 0, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(255, 213, 0, 0.02) 0%, transparent 50%);
}

/* Sidebar */
.sidebar {
    padding: 0 15px;
}

.filter-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-large);
    padding: 24px;
    box-shadow: var(--shadow-medium);
    margin-bottom: 20px;
    position: sticky;
    top: 90px;
    max-height: calc(100vh - 110px);
    overflow-y: auto;
    overflow-x: visible;
    transition: var(--transition);
    word-wrap: break-word;
    word-break: break-word;
}

.filter-card:hover {
    border-color: rgba(0, 194, 255, 0.15);
    box-shadow: var(--shadow-strong);
    transform: translateY(-1px);
}

.filter-title {
    color: var(--text-primary);
    font-weight: 600;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.filter-section {
    margin-bottom: 25px;
}

.filter-subtitle {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sports-filter, .campeonatos-filter {
    max-height: 200px;
    overflow-y: auto;
    overflow-x: visible;
    padding-right: 5px;
}

.sport-item, .campeonato-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    margin-bottom: 8px;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
}

.sport-item:hover, .campeonato-item:hover {
    background: rgba(0, 194, 255, 0.1);
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.sport-item.active, .campeonato-item.active {
    background: var(--gradient-primary);
    color: var(--text-primary);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-light);
}

.sport-item input, .campeonato-item input {
    margin-right: 10px;
    accent-color: var(--primary-color);
}

.sport-logo, .campeonato-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    margin-right: 10px;
    border-radius: 6px;
}

.sport-icon {
    font-size: 1.2rem;
    margin-right: 10px;
    color: var(--primary-color);
}

.sport-name, .campeonato-name {
    color: var(--text-primary);
    font-weight: 500;
}

.filter-loading {
    text-align: center;
    padding: 20px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.search-box input {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    padding: 10px 15px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.search-box input::placeholder {
    color: var(--text-secondary);
}

.search-box input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 194, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
}

.form-check-input {
    accent-color: var(--primary-color);
}

.form-check-label {
    color: var(--text-primary);
    font-weight: 500;
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}

.btn-primary {
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
}

.btn-primary:hover {
    background: rgba(0, 194, 255, 0.9);
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}

/* Content Area */
.content-area {
    padding: 0 15px;
}

/* Stats Cards */
.stats-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-large);
    padding: 24px;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    height: 100%;
    min-height: 120px;
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-color);
    opacity: 0.8;
}

.stats-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-strong);
    border-color: rgba(0, 194, 255, 0.2);
}

.stats-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    font-size: 1.5rem;
    color: white;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.stats-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-color), rgba(0, 194, 255, 0.8));
    border-radius: 50%;
    z-index: -1;
}

.stats-icon.bg-success::before {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.stats-icon.bg-warning::before {
    background: linear-gradient(135deg, var(--accent-color), #ffc107);
}

.stats-icon.bg-info::before {
    background: linear-gradient(135deg, #17a2b8, #6f42c1);
}

.stats-content {
    flex: 1;
}

.stats-title {
    font-size: 0.9rem;
    color: var(--text-secondary) !important;
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    line-height: 1.3;
}

.stats-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    margin: 0;
}

/* Games Section */
.games-section {
    background: var(--background-card);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.games-section:hover {
    border-color: rgba(0, 194, 255, 0.2);
}

.section-title {
    color: var(--text-primary) !important;
    font-weight: 700;
    font-size: 1.8rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    margin: 0;
}

.section-title i {
    margin-right: 12px;
    color: var(--primary-color) !important;
    font-size: 1.3em;
    text-shadow: 0 2px 4px rgba(0, 194, 255, 0.6);
    filter: drop-shadow(0 2px 4px rgba(0, 194, 255, 0.4));
}

.view-controls .btn {
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    transition: var(--transition);
}

.view-controls .btn.active {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-light);
}

.view-controls .btn:hover {
    background: rgba(0, 194, 255, 0.1);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Game Cards */
.games-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.game-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-large);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-medium);
    position: relative;
    opacity: 0;
    transform: translateY(20px);
}

.game-card.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--primary-color);
    opacity: 0;
    transition: var(--transition);
}

.game-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
    border-color: rgba(0, 194, 255, 0.2);
}

.game-card[style*="cursor: pointer"]:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 32px rgba(0, 194, 255, 0.15);
}

.game-card:hover::before {
    opacity: 1;
}

.game-header {
    background: rgba(255, 255, 255, 0.02);
    padding: 18px;
    border-bottom: 1px solid var(--border-color);
}

.game-competition {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.competition-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    margin-right: 10px;
    border-radius: 6px;
}

.game-datetime {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-top: 8px;
}

.game-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: auto;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-scheduled {
    background: rgba(255, 213, 0, 0.2);
    color: var(--accent-color);
    border: 1px solid rgba(255, 213, 0, 0.3);
}

.status-live {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
    animation: pulse 2s infinite;
}

.status-finished {
    background: rgba(108, 117, 125, 0.2);
    color: #6c757d;
    border: 1px solid rgba(108, 117, 125, 0.3);
}

@keyframes pulse {
    0%, 100% { 
        opacity: 1; 
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.4);
    }
    50% { 
        opacity: 0.8;
        box-shadow: 0 0 0 10px rgba(40, 167, 69, 0);
    }
}

.game-teams {
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.team-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 12px;
    border-radius: 12px;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.team-logo:hover {
    transform: scale(1.05);
}

.team-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.vs-divider {
    margin: 0 25px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.game-score {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    margin-bottom: 8px;
    line-height: 1.2;
}

.badge {
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.bg-success {
    background: rgba(40, 167, 69, 0.2) !important;
    color: #28a745 !important;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.game-actions {
    padding: 18px;
    border-top: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.01);
}

.bet-button {
    width: 100%;
    border-radius: var(--border-radius);
    font-weight: 500;
    padding: 14px 20px;
    transition: var(--transition);
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: white;
    font-size: 0.9rem;
    letter-spacing: 0.3px;
}

.bet-button:hover:not(:disabled) {
    background: rgba(0, 194, 255, 0.9);
    transform: translateY(-1px);
    box-shadow: var(--shadow-medium);
}

.bet-button:disabled {
    background: rgba(108, 117, 125, 0.2) !important;
    color: rgba(255, 255, 255, 0.4) !important;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.6;
    border: 1px solid rgba(108, 117, 125, 0.15);
}

/* Loading States */
.games-loading {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.games-loading .spinner-border {
    color: var(--primary-color);
}

.no-games {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.no-games i {
    font-size: 4rem;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

/* List View */
.games-container.list-view {
    grid-template-columns: 1fr;
    gap: 15px;
}

.games-container.list-view .game-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 20px;
}

.games-container.list-view .game-header {
    background: none;
    border: none;
    padding: 0;
    margin-right: 20px;
    min-width: 200px;
}

.games-container.list-view .game-teams {
    padding: 0;
    margin-right: 20px;
    flex: 1;
}

.games-container.list-view .game-actions {
    background: none;
    border: none;
    padding: 0;
    min-width: 150px;
}

/* Modals */
/* Modal Styles */
.modal-content {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-strong);
}

.modal-header {
    border-bottom: 1px solid var(--border-color);
}

.modal-title {
    color: var(--text-primary);
    font-weight: 600;
}

.modal-body {
    color: var(--text-primary);
}

.btn-close {
    filter: invert(1);
    opacity: 0.6;
}

.btn-close:hover {
    opacity: 1;
}

/* Forms */
.form-control {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    border-radius: 12px;
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 194, 255, 0.25);
    color: var(--text-primary);
}

.form-control::placeholder {
    color: var(--text-secondary);
}

.form-label {
    color: var(--text-primary);
    font-weight: 500;
}

.alert {
    border-radius: 12px;
    border: none;
}

.alert-info {
    background: rgba(0, 194, 255, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(0, 194, 255, 0.2);
}

.alert-warning {
    background: rgba(255, 213, 0, 0.1);
    color: var(--accent-color);
    border: 1px solid rgba(255, 213, 0, 0.2);
}

/* Toast */
.toast {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}

.toast-header {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-color);
}

/* Football icon styling - Font Awesome */
.section-title .fa-futbol {
    margin-right: 12px;
    color: var(--primary-color) !important;
    font-size: 1.3em;
    text-shadow: 0 2px 4px rgba(0, 194, 255, 0.6);
    filter: drop-shadow(0 2px 4px rgba(0, 194, 255, 0.4));
    transition: all 0.3s ease;
    vertical-align: middle;
    transform: translateY(-1px);
}

.section-title:hover .fa-futbol {
    transform: translateY(-1px) rotate(15deg) scale(1.05);
    text-shadow: 0 3px 6px rgba(0, 194, 255, 0.8);
    filter: drop-shadow(0 3px 6px rgba(0, 194, 255, 0.6));
}

/* Icon animations and effects */
.navbar-nav .nav-link i,
.dropdown-item i,
.btn i,
.stats-icon i,
.section-title i,
.filter-title i {
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 194, 255, 0.2));
}

.navbar-nav .nav-link:hover i,
.dropdown-item:hover i,
.btn:hover i,
.stats-card:hover .stats-icon i {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 4px 8px rgba(0, 194, 255, 0.4));
}

.stats-icon i {
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.filter-title i {
    margin-right: 8px;
    color: var(--primary-color) !important;
    text-shadow: 0 2px 4px rgba(0, 194, 255, 0.5);
    filter: drop-shadow(0 2px 4px rgba(0, 194, 255, 0.3));
}

.section-title i {
    margin-right: 10px;
    color: var(--primary);
    font-size: 1.2em;
    text-shadow: 0 2px 4px rgba(0, 194, 255, 0.4);
}

/* Enhanced user avatar icon */
.user-avatar i {
    font-size: 2rem;
    color: var(--primary-color) !important;
    text-shadow: 0 2px 4px rgba(0, 194, 255, 0.6);
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 194, 255, 0.4));
}

.user-avatar:hover i {
    transform: scale(1.05);
    color: var(--secondary-color) !important;
    text-shadow: 0 3px 6px rgba(138, 0, 255, 0.6);
    filter: drop-shadow(0 3px 6px rgba(138, 0, 255, 0.5));
}

/* Loading and empty state icons */
.no-games i {
    color: var(--glass-border) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Button icon glow effects */
.btn-primary i {
    text-shadow: 0 2px 4px rgba(255, 255, 255, 0.5);
    color: white !important;
}

.btn-outline-primary i {
    color: var(--primary-color) !important;
    text-shadow: 0 2px 4px rgba(0, 194, 255, 0.4);
}

.btn:hover i {
    text-shadow: 0 3px 6px rgba(255, 255, 255, 0.7);
    transform: scale(1.05);
}

/* Toast icon effects */
.toast-header i {
    text-shadow: 0 1px 2px rgba(0, 194, 255, 0.4);
}

/* Responsive icon adjustments */
@media (max-width: 768px) {
    .stats-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
        min-height: 48px;
        font-size: 1.3rem;
    }
    
    .stats-card {
        min-height: 100px;
        padding: 20px;
    }
    
    .stats-value {
        font-size: 1.7rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .section-title i {
        font-size: 1.2em;
    }
    
    .user-avatar i {
        font-size: 1.8rem;
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .games-container {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 15px 0;
    }
    
    .navbar {
        background: rgba(10, 10, 11, 0.95) !important;
        backdrop-filter: var(--glass-blur);
        -webkit-backdrop-filter: var(--glass-blur);
        border-bottom: 1px solid var(--glass-border);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    }
    
    .sidebar {
        margin-bottom: 20px;
    }
    
    .filter-card {
        position: static;
        max-height: none;
        overflow: visible;
        padding: 20px;
    }
    
    .sports-filter, 
    .campeonatos-filter {
        max-height: none;
        overflow: visible;
    }
    
    .filter-section {
        margin-bottom: 20px;
    }
    
    .sport-item, 
    .campeonato-item {
        padding: 10px 12px;
        margin-bottom: 6px;
        font-size: 0.9rem;
    }
    
    .sport-logo, 
    .campeonato-logo {
        width: 20px;
        height: 20px;
        margin-right: 8px;
    }
    
    .games-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stats-card {
        margin-bottom: 15px;
    }
    
    .game-teams {
        padding: 15px;
    }
    
    .team-logo {
        width: 45px;
        height: 45px;
    }
    
    .vs-divider {
        margin: 0 15px;
    }
    
    .game-score {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .navbar {
        background: rgba(10, 10, 11, 0.98) !important;
        backdrop-filter: var(--glass-blur);
        -webkit-backdrop-filter: var(--glass-blur);
        border-bottom: 1px solid var(--glass-border);
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
        padding: 0.8rem 0;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .navbar-brand img {
        width: 35px;
        height: 35px;
    }
    
    .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .filter-card {
        margin-left: -5px;
        margin-right: -5px;
        border-radius: 8px;
        padding: 15px;
    }
    
    .filter-title {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .filter-section {
        margin-bottom: 15px;
    }
    
    .sport-item, 
    .campeonato-item {
        padding: 8px 10px;
        margin-bottom: 4px;
        font-size: 0.85rem;
        border-radius: 8px;
    }
    
    .sport-name, 
    .campeonato-name {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    
    .form-check-label {
        font-size: 0.85rem;
    }
    
    .btn-sm {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .search-box input {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .stats-value {
        font-size: 1.5rem;
    }
    
    .team {
        margin: 0 5px;
    }
    
    .team-name {
        font-size: 0.8rem;
    }
    
    .games-section {
        padding: 20px 15px;
        margin: 0 -5px;
    }
    
    .content-area {
        padding: 0 10px;
    }
}

/* Extra small devices (landscape phones, 480px and down) */
@media (max-width: 480px) {
    .filter-card {
        margin: 0;
        padding: 12px;
        border-radius: 6px;
    }
    
    .sports-filter, 
    .campeonatos-filter {
        padding: 0;
        margin: 0;
    }
    
    .sport-item, 
    .campeonato-item {
        padding: 6px 8px;
        margin-bottom: 3px;
        font-size: 0.8rem;
        border-radius: 6px;
        transform: none !important;
    }
    
    .sport-item:hover, 
    .campeonato-item:hover {
        transform: none !important;
    }
    
    .sport-logo, 
    .campeonato-logo {
        width: 18px;
        height: 18px;
        margin-right: 6px;
    }
    
    .sport-name, 
    .campeonato-name {
        font-size: 0.8rem;
        line-height: 1.2;
    }
    
    .filter-subtitle {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }
    
    .form-check-input {
        margin-right: 6px;
        transform: scale(0.9);
    }
    
    .btn-sm {
        padding: 6px 10px;
        font-size: 0.75rem;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
    
    .section-title .fa-futbol {
        font-size: 1.1em;
        margin-right: 8px;
    }
    
    .games-section {
        padding: 15px 10px;
        margin: 0;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 194, 255, 0.8);
}

/* Utility Classes for Glass Effect */
.glass-effect {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
}

.subtle-shadow {
    box-shadow: var(--shadow-subtle);
}

.medium-shadow {
    box-shadow: var(--shadow-medium);
}

.strong-shadow {
    box-shadow: var(--shadow-strong);
}

/* Enhanced Visual Hierarchy */
.section-title {
    color: var(--text-primary);
    font-weight: 600;
    margin: 0;
}

.subtitle {
    color: var(--text-secondary);
    font-weight: 500;
}
