/* Sportsbook Ultra Modern Design - Eye-Catching UI/UX */

:root {
    /* Neon Green Theme */
    --color-neon-green: #00FF88;
    --color-neon-green-bright: #00FFAA;
    --color-neon-green-dark: #00CC6A;
    --color-neon-glow: rgba(0, 255, 136, 0.5);
    
    /* Dark Backgrounds */
    --color-bg-primary: #0A1520;
    --color-bg-secondary: #0F1B2A;
    --color-bg-tertiary: #152335;
    --color-bg-card: #1A2942;
    --color-bg-card-hover: #1F3354;
    
    /* Accent Colors */
    --color-accent-blue: #2196F3;
    --color-accent-yellow: #FFD700;
    --color-accent-red: #FF3366;
    --color-accent-purple: #9C27B0;
    
    /* Text Colors */
    --color-text-primary: #FFFFFF;
    --color-text-secondary: #B8C5D0;
    --color-text-muted: #6B7D8F;
    
    /* Border & Effects */
    --color-border: rgba(0, 255, 136, 0.2);
    --color-border-bright: rgba(0, 255, 136, 0.4);
}

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

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, var(--color-bg-primary) 0%, #0D1825 100%);
    color: var(--color-text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Animated Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 255, 136, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(33, 150, 243, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Neon Text Effect */
.neon-text {
    color: var(--color-neon-green);
    text-shadow: 
        0 0 10px var(--color-neon-glow),
        0 0 20px var(--color-neon-glow),
        0 0 30px var(--color-neon-glow);
    font-weight: 700;
}

.gradient-text {
    background: linear-gradient(135deg, var(--color-neon-green) 0%, var(--color-accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

/* Ultra Modern Buttons */
.btn-neon-green {
    background: linear-gradient(135deg, var(--color-neon-green) 0%, var(--color-neon-green-bright) 100%);
    color: #000;
    border: none;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 0 20px var(--color-neon-glow),
        0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

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

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

.btn-neon-green:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 0 30px var(--color-neon-glow),
        0 8px 25px rgba(0, 255, 136, 0.4);
    color: #000;
}

.btn-neon-green:active {
    transform: translateY(-1px) scale(1.02);
}

/* Primary Green Button */
.btn-primary-green {
    background: linear-gradient(135deg, var(--color-neon-green) 0%, var(--color-neon-green-bright) 100%);
    color: #000;
    border: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px var(--color-neon-glow);
}

.btn-primary-green:hover {
    background: linear-gradient(135deg, var(--color-neon-green-bright) 0%, var(--color-neon-green) 100%);
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--color-neon-glow);
    color: #000;
}

/* Glass Morphism Cards */
.card-glass {
    background: rgba(26, 41, 66, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-glass:hover {
    border-color: var(--color-border-bright);
    transform: translateY(-5px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        0 0 30px var(--color-neon-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Header Ultra Modern */
.header-top {
    background: rgba(15, 27, 42, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid var(--color-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-nav {
    background: rgba(21, 35, 53, 0.9);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--color-border);
}

.header-nav a {
    position: relative;
    padding: 1rem 1.5rem;
    color: var(--color-text-secondary);
    transition: all 0.3s ease;
    font-weight: 600;
}

.header-nav a:hover {
    color: var(--color-neon-green);
    text-shadow: 0 0 10px var(--color-neon-glow);
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-neon-green), transparent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    box-shadow: 0 0 10px var(--color-neon-glow);
}

.header-nav a:hover::after {
    width: 80%;
}

/* Sidebar Ultra Modern */
.sidebar {
    background: linear-gradient(180deg, rgba(15, 27, 42, 0.95) 0%, rgba(10, 21, 32, 0.95) 100%);
    backdrop-filter: blur(20px);
    border-right: 2px solid var(--color-border);
    box-shadow: 4px 0 30px rgba(0, 0, 0, 0.3);
    min-height: 100vh;
}

.sidebar-icon {
    background: linear-gradient(135deg, var(--color-bg-tertiary) 0%, var(--color-bg-card) 100%);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.sidebar-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--color-neon-glow);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.sidebar-icon:hover::before {
    width: 100%;
    height: 100%;
}

.sidebar-icon:hover {
    border-color: var(--color-neon-green);
    transform: scale(1.15) rotate(5deg);
    box-shadow: 
        0 0 25px var(--color-neon-glow),
        0 4px 20px rgba(0, 0, 0, 0.4);
}

.sidebar-icon.active {
    background: linear-gradient(135deg, var(--color-neon-green) 0%, var(--color-neon-green-bright) 100%);
    border-color: var(--color-neon-green);
    box-shadow: 0 0 30px var(--color-neon-glow);
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px var(--color-neon-glow);
    }
    50% {
        box-shadow: 0 0 40px var(--color-neon-glow);
    }
}

.sidebar-icon i {
    font-size: 1.4rem;
    position: relative;
    z-index: 1;
}

.sidebar-menu-item {
    padding: 1rem 1.25rem;
    color: var(--color-text-secondary);
    transition: all 0.3s ease;
    border-radius: 10px;
    margin: 0.35rem 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.sidebar-menu-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 0;
    background: var(--color-neon-green);
    transition: height 0.3s ease;
    box-shadow: 0 0 10px var(--color-neon-glow);
}

.sidebar-menu-item:hover::before {
    height: 100%;
}

.sidebar-menu-item:hover {
    background: rgba(0, 255, 136, 0.1);
    color: var(--color-neon-green);
    padding-left: 1.75rem;
    box-shadow: inset 0 0 20px rgba(0, 255, 136, 0.2);
}

.sidebar-menu-item.active {
    background: linear-gradient(90deg, rgba(0, 255, 136, 0.2) 0%, transparent 100%);
    color: var(--color-neon-green);
    font-weight: 700;
    border-left: 4px solid var(--color-neon-green);
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

/* Match Card - Ultra Attractive */
.match-card {
    background: linear-gradient(135deg, rgba(26, 41, 66, 0.9) 0%, rgba(21, 35, 53, 0.9) 100%);
    backdrop-filter: blur(15px);
    border: 2px solid var(--color-border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.match-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--color-neon-green), var(--color-accent-blue), var(--color-neon-green));
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.4s;
    z-index: -1;
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
}

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

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

.match-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 0 40px var(--color-neon-glow),
        0 20px 50px rgba(0, 0, 0, 0.5);
    border-color: var(--color-neon-green);
}

/* Odd Button - Eye-Catching */
.odd-button {
    background: linear-gradient(135deg, var(--color-bg-card) 0%, var(--color-bg-tertiary) 100%);
    border: 2px solid var(--color-border);
    padding: 0.85rem 1rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.odd-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, var(--color-neon-green) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
    opacity: 0.3;
}

.odd-button:hover::after {
    width: 200%;
    height: 200%;
}

.odd-button:hover {
    background: linear-gradient(135deg, var(--color-neon-green) 0%, var(--color-neon-green-bright) 100%);
    color: #000 !important;
    border-color: var(--color-neon-green);
    transform: scale(1.1);
    box-shadow: 
        0 0 30px var(--color-neon-glow),
        0 8px 25px rgba(0, 255, 136, 0.4);
}

.odd-button:hover strong,
.odd-button:hover small {
    color: #000 !important;
}

.odd-button strong {
    position: relative;
    z-index: 1;
    font-size: 1.3rem;
    font-weight: 800;
}

.odd-button small {
    position: relative;
    z-index: 1;
}

/* Game Card - Stunning */
.game-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    border: 2px solid transparent;
}

.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(0, 255, 136, 0.3) 0%, 
        rgba(33, 150, 243, 0.3) 50%,
        rgba(156, 39, 176, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 1;
}

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

.game-card::after {
    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);
    transition: all 0.6s;
    opacity: 0;
    z-index: 2;
}

.game-card:hover::after {
    opacity: 1;
    left: 100%;
}

.game-card:hover {
    transform: scale(1.12) translateY(-10px) rotate(3deg);
    box-shadow: 
        0 0 40px var(--color-neon-glow),
        0 20px 60px rgba(0, 255, 136, 0.4);
    border-color: var(--color-neon-green);
}

.game-card img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s;
}

.game-card:hover img {
    transform: scale(1.15);
}

.game-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, 
        rgba(0, 0, 0, 0.95) 0%, 
        rgba(0, 0, 0, 0.7) 50%,
        transparent 100%);
    padding: 1.25rem;
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 3;
}

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

/* Badge Styles - Neon */
.badge {
    padding: 0.5rem 1rem;
    font-weight: 700;
    border-radius: 8px;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

.badge.bg-danger {
    background: linear-gradient(135deg, #FF3366 0%, #FF1744 100%) !important;
    box-shadow: 0 0 20px rgba(255, 51, 102, 0.5);
    animation: pulse-red 2s infinite;
}

@keyframes pulse-red {
    0%, 100% {
        box-shadow: 0 0 15px rgba(255, 51, 102, 0.5);
    }
    50% {
        box-shadow: 0 0 30px rgba(255, 51, 102, 0.8);
    }
}

.badge.bg-success {
    background: linear-gradient(135deg, var(--color-neon-green) 0%, var(--color-neon-green-bright) 100%) !important;
    color: #000 !important;
    box-shadow: 0 0 20px var(--color-neon-glow);
}

.badge.bg-warning {
    background: linear-gradient(135deg, #FFD700 0%, #FFA000 100%) !important;
    color: #000 !important;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.badge.bg-primary-green {
    background: linear-gradient(135deg, var(--color-neon-green) 0%, var(--color-neon-green-bright) 100%) !important;
    color: #000 !important;
    box-shadow: 0 0 20px var(--color-neon-glow);
    font-weight: 800;
}

/* Form Controls - Modern */
.form-control-dark {
    background: rgba(26, 41, 66, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid var(--color-border);
    color: var(--color-text-primary);
    padding: 0.85rem 1.25rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.form-control-dark:focus {
    background: rgba(26, 41, 66, 0.8);
    border-color: var(--color-neon-green);
    color: var(--color-text-primary);
    box-shadow: 0 0 20px var(--color-neon-glow);
    transform: translateY(-2px);
}

/* Scrollbar - Neon */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-secondary);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-neon-green) 0%, var(--color-accent-blue) 100%);
    border-radius: 10px;
    box-shadow: 0 0 10px var(--color-neon-glow);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--color-neon-green-bright) 0%, var(--color-accent-blue) 100%);
    box-shadow: 0 0 20px var(--color-neon-glow);
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes glow-pulse {
    0%, 100% {
        box-shadow: 0 0 20px var(--color-neon-glow);
    }
    50% {
        box-shadow: 0 0 40px var(--color-neon-glow);
    }
}

.pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.float-animation {
    animation: float 3s ease-in-out infinite;
}

/* Text Colors */
.text-primary-green {
    color: var(--color-neon-green) !important;
}

.text-muted-custom {
    color: var(--color-text-secondary) !important;
}

.text-neon {
    color: var(--color-neon-green);
    text-shadow: 0 0 10px var(--color-neon-glow);
}

/* Background Colors */
.bg-dark-primary {
    background: var(--color-bg-primary);
}

.bg-dark-secondary {
    background: var(--color-bg-secondary);
}

.bg-dark-tertiary {
    background: var(--color-bg-tertiary);
}

.card-dark {
    background: linear-gradient(135deg, rgba(26, 41, 66, 0.8) 0%, rgba(21, 35, 53, 0.8) 100%);
    backdrop-filter: blur(15px);
    border: 2px solid var(--color-border);
    transition: all 0.3s ease;
}

.card-dark:hover {
    border-color: var(--color-border-bright);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .sidebar-icon {
        width: 45px;
        height: 45px;
    }
    
    .match-card {
        padding: 1.25rem;
    }
}

/* Utility Classes */
.glow {
    box-shadow: 0 0 30px var(--color-neon-glow);
}

.border-neon {
    border-color: var(--color-neon-green) !important;
}

.shadow-neon {
    box-shadow: 0 0 20px var(--color-neon-glow) !important;
}
