/* 1XR - Professional Betting Platform Styles */
:root {
    --primary: #d32f2f;
    --primary-dark: #b71c1c;
    --primary-light: #ef5350;
    --secondary: #1a1a2e;
    --accent: #ffc107;
    --accent-light: #ffca28;
    
    --bg-darkest: #0d0d0d;
    --bg-darker: #121212;
    --bg-dark: #1a1a1a;
    --bg-card: #1e1e1e;
    --bg-card-hover: #252525;
    --bg-light: #2a2a2a;
    
    --text-white: #ffffff;
    --text-primary: #f5f5f5;
    --text-secondary: #b0b0b0;
    --text-muted: #707070;
    
    --border-dark: #2a2a2a;
    --border-light: #3a3a3a;
    
    --success: #4caf50;
    --warning: #ff9800;
    --error: #f44336;
    --info: #2196f3;
    
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-gold: linear-gradient(135deg, #ffc107 0%, #ff8f00 100%);
    --gradient-dark: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-darkest) 100%);
    
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.4);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 20px rgba(211, 47, 47, 0.3);
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --transition-slow: 0.4s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Tajawal', sans-serif;
    background: var(--bg-darkest);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

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

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

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

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Top Bar */
.top-bar {
    background: var(--bg-darker);
    border-bottom: 1px solid var(--border-dark);
    font-size: 0.8rem;
}

.top-bar-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 8px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left, .top-bar-right {
    display: flex;
    gap: 20px;
}

.top-item {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.top-item:hover {
    color: var(--primary);
}

.top-item i {
    font-size: 0.9rem;
}

/* Main Header */
.header {
    background: var(--gradient-dark);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-dark);
}

.header-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 65px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo {
    font-size: 2.2rem;
    font-weight: 900;
    display: flex;
    cursor: pointer;
}

.logo-1 {
    color: var(--text-white);
}

.logo-x {
    color: var(--primary);
    text-shadow: 0 0 15px var(--primary);
}

.logo-r {
    color: var(--text-white);
}

.main-nav {
    display: flex;
    gap: 5px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    font-weight: 500;
    position: relative;
}

.nav-item i {
    font-size: 1rem;
}

.nav-item:hover {
    color: var(--text-white);
    background: var(--bg-card);
}

.nav-item.active {
    color: var(--text-white);
    background: var(--primary);
}

.live-nav .live-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

/* Header Left - Auth */
.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.auth-buttons {
    display: flex;
    gap: 10px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius-md);
    font-family: 'Tajawal', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.btn-login {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
}

.btn-login:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-register {
    background: var(--gradient-gold);
    color: #000;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* User Panel */
.user-panel {
    display: flex;
    align-items: center;
    gap: 15px;
}

.balance-display {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--bg-card);
    padding: 8px 15px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-dark);
}

.balance-main {
    display: flex;
    align-items: center;
    gap: 8px;
}

.balance-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.balance-amount {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--success);
}

.balance-currency {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.balance-bonus {
    display: flex;
    align-items: center;
    gap: 5px;
    padding-right: 15px;
    border-right: 1px solid var(--border-dark);
}

.bonus-label {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.bonus-amount {
    font-weight: 600;
    color: var(--accent);
}

.btn-deposit {
    background: var(--primary);
    color: white;
    padding: 10px 18px;
}

.btn-deposit:hover {
    background: var(--primary-dark);
}

.user-dropdown {
    position: relative;
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    padding: 8px 15px;
    border-radius: var(--radius-md);
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.user-btn:hover {
    border-color: var(--primary);
}

.user-btn i:first-child {
    font-size: 1.3rem;
    color: var(--primary);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    min-width: 200px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-fast);
    z-index: 1000;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.dropdown-menu a:hover {
    background: var(--bg-card-hover);
    color: var(--text-white);
}

.dropdown-menu a i {
    width: 18px;
}

.dropdown-divider {
    height: 1px;
    background: var(--border-dark);
    margin: 5px 0;
}

.logout-link:hover {
    color: var(--primary) !important;
}

/* Sub Navigation */
.sub-nav {
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border-dark);
}

.sub-nav-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.sports-tabs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 5px;
    flex: 1;
}

.sports-tabs::-webkit-scrollbar {
    height: 4px;
}

.sport-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--border-dark);
    border-radius: 25px;
    color: var(--text-secondary);
    font-family: 'Tajawal', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.sport-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.sport-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.match-count {
    background: var(--bg-light);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
}

.sport-tab.active .match-count {
    background: rgba(255,255,255,0.2);
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: 25px;
    padding: 8px 15px;
    gap: 10px;
    min-width: 250px;
}

.search-box i {
    color: var(--text-muted);
}

.search-box input {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: 'Tajawal', sans-serif;
    font-size: 0.9rem;
    outline: none;
}

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

/* Promo Slider */
.promo-slider {
    position: relative;
    background: var(--bg-darker);
    overflow: hidden;
}

.slider-container {
    position: relative;
    height: 220px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 80px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    background: linear-gradient(135deg, var(--bg-darker) 0%, #1a0a0a 50%, var(--bg-darker) 100%);
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-content {
    max-width: 500px;
}

.promo-badge {
    display: inline-block;
    background: var(--primary);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.promo-badge.hot {
    background: var(--gradient-gold);
    color: #000;
}

.slide h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.2;
}

.slide h2 .highlight {
    color: var(--primary);
}

.slide p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.btn-promo {
    background: var(--gradient-gold);
    color: #000;
    padding: 12px 30px;
    font-size: 1rem;
}

.btn-promo:hover {
    transform: scale(1.05);
}

.slide-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bonus-circle {
    width: 180px;
    height: 180px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 50px rgba(211, 47, 47, 0.4);
    animation: float 3s ease-in-out infinite;
}

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

.bonus-percent {
    font-size: 3rem;
    font-weight: 900;
}

.bonus-text {
    font-size: 1.2rem;
}

.slide-icon {
    font-size: 8rem;
    color: var(--primary);
    opacity: 0.8;
    animation: float 3s ease-in-out infinite;
}

.casino-icon {
    color: var(--accent);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background: var(--bg-light);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 6px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: 50%;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.slider-arrow.prev {
    right: 20px;
}

.slider-arrow.next {
    left: 20px;
}

/* Stats Bar */
.stats-bar {
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border-dark);
}

.stats-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    gap: 60px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stat-item i {
    font-size: 1.5rem;
    color: var(--primary);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-white);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.stat-item.jackpot i {
    color: var(--accent);
}

.jackpot-value {
    color: var(--accent) !important;
    animation: jackpot-pulse 2s infinite;
}

@keyframes jackpot-pulse {
    0%, 100% { text-shadow: 0 0 10px var(--accent); }
    50% { text-shadow: 0 0 20px var(--accent), 0 0 30px var(--accent); }
}

/* Main Content Layout */
.main-content {
    padding: 20px 0;
}

.content-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 240px 1fr 320px;
    gap: 20px;
}

/* Sidebars */
.sidebar-left, .sidebar-right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-section {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.sidebar-title {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: var(--bg-dark);
    font-size: 0.95rem;
    font-weight: 600;
    border-bottom: 1px solid var(--border-dark);
}

.sidebar-title i {
    color: var(--primary);
}

/* League List */
.league-list {
    list-style: none;
}

.league-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    cursor: pointer;
    transition: all var(--transition-fast);
    border-bottom: 1px solid var(--border-dark);
}

.league-item:last-child {
    border-bottom: none;
}

.league-item:hover {
    background: var(--bg-card-hover);
}

.league-item img {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

.league-item span:first-of-type {
    flex: 1;
    font-size: 0.9rem;
}

.league-count {
    background: var(--bg-light);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Quick Games */
.quick-games {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 15px;
}

.quick-game {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 10px;
    background: var(--bg-dark);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.quick-game:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.quick-game i {
    font-size: 1.5rem;
}

.quick-game span {
    font-size: 0.8rem;
    font-weight: 500;
}

/* Center Content */
.center-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Section Headers */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.section-header h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
}

.section-header h2 i {
    color: var(--primary);
}

.live-indicator {
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-dot 1.5s infinite;
}

.section-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.view-toggle {
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    color: var(--text-muted);
    width: 35px;
    height: 35px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.view-toggle:hover, .view-toggle.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.see-all {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
}

.see-all:hover {
    text-decoration: underline;
}

/* Matches Container */
.matches-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

/* Match Card */
.match-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 15px;
    border: 1px solid var(--border-dark);
    transition: all var(--transition-fast);
}

.match-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.match-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-dark);
}

.match-league-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.match-league-info img {
    width: 18px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
}

.match-league-name {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.match-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
}

.match-status.live {
    color: var(--primary);
}

.match-status.live::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-dot 1.5s infinite;
}

.match-status.upcoming {
    color: var(--text-secondary);
}

.match-teams-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.match-team {
    text-align: center;
    flex: 1;
}

.team-logo {
    width: 45px;
    height: 45px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-size: 1.5rem;
}

.team-name {
    font-size: 0.9rem;
    font-weight: 600;
    max-width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.match-score-section {
    text-align: center;
    padding: 0 10px;
}

.current-score {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent);
}

.match-time {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}

.match-datetime {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.match-vs {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 600;
}

.match-odds-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.odd-button {
    background: var(--bg-dark);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-sm);
    padding: 10px 5px;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: center;
}

.odd-button:hover {
    border-color: var(--primary);
    background: rgba(211, 47, 47, 0.1);
}

.odd-button.selected {
    background: var(--primary);
    border-color: var(--primary);
}

.odd-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-bottom: 3px;
}

.odd-button.selected .odd-label {
    color: rgba(255,255,255,0.8);
}

.odd-value {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-white);
}

/* Top Matches Table */
.top-matches-table {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.match-row {
    display: grid;
    grid-template-columns: 50px 1fr auto repeat(3, 80px) 50px;
    gap: 10px;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid var(--border-dark);
    transition: all var(--transition-fast);
}

.match-row:last-child {
    border-bottom: none;
}

.match-row:hover {
    background: var(--bg-card-hover);
}

.row-time {
    text-align: center;
}

.row-time .time {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.row-time .date {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.row-time.live .time {
    color: var(--primary);
}

.row-teams {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.row-team {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.row-team img {
    width: 20px;
    height: 15px;
}

.row-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.row-score span {
    font-weight: 700;
    font-size: 0.95rem;
}

.row-odd {
    text-align: center;
}

.row-odd-btn {
    background: var(--bg-dark);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-sm);
    padding: 8px;
    width: 100%;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: 'Tajawal', sans-serif;
}

.row-odd-btn:hover {
    border-color: var(--primary);
}

.row-odd-btn.selected {
    background: var(--primary);
    border-color: var(--primary);
}

.row-odd-btn .label {
    display: block;
    font-size: 0.65rem;
    color: var(--text-muted);
}

.row-odd-btn.selected .label {
    color: rgba(255,255,255,0.8);
}

.row-odd-btn .value {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-white);
}

.row-more {
    text-align: center;
}

.row-more-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.8rem;
}

.row-more-btn:hover {
    color: var(--primary);
}

/* Casino Section */
.casino-section {
    margin-top: 10px;
}

.casino-filters {
    display: flex;
    gap: 10px;
}

.casino-filter {
    background: transparent;
    border: 1px solid var(--border-dark);
    color: var(--text-secondary);
    padding: 6px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-family: 'Tajawal', sans-serif;
    font-size: 0.85rem;
    transition: all var(--transition-fast);
}

.casino-filter:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.casino-filter.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.casino-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.casino-game-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: all var(--transition-fast);
    position: relative;
    border: 1px solid var(--border-dark);
}

.casino-game-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

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

.game-image {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all var(--transition-fast);
}

.play-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: var(--radius-md);
    font-family: 'Tajawal', sans-serif;
    font-weight: 600;
    cursor: pointer;
}

.game-info {
    padding: 10px;
    text-align: center;
}

.game-name {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.game-provider {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.game-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    background: var(--primary);
    padding: 3px 8px;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: 600;
}

.game-badge.hot {
    background: var(--gradient-gold);
    color: #000;
}

.game-badge.new {
    background: var(--success);
}

/* Bet Slip - Right Sidebar */
.bet-slip-container {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.bet-slip-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--bg-dark);
}

.slip-tab {
    padding: 12px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: 'Tajawal', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    border-bottom: 2px solid transparent;
}

.slip-tab:hover {
    color: var(--text-primary);
}

.slip-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.bet-slip-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: var(--primary);
    font-weight: 600;
}

.bet-count-badge {
    background: white;
    color: var(--primary);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
}

.clear-slip {
    margin-right: auto;
    background: none;
    border: none;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    padding: 5px;
}

.clear-slip:hover {
    color: white;
}

.bet-slip-body {
    padding: 15px;
    max-height: 300px;
    overflow-y: auto;
}

.empty-slip {
    text-align: center;
    padding: 30px 15px;
    color: var(--text-muted);
}

.empty-slip i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.3;
}

.empty-slip p {
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--text-secondary);
}

.empty-slip span {
    font-size: 0.85rem;
}

.bet-item {
    background: var(--bg-dark);
    border-radius: var(--radius-md);
    padding: 12px;
    margin-bottom: 10px;
    position: relative;
}

.bet-item-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 8px;
}

.bet-match-name {
    font-size: 0.8rem;
    color: var(--text-muted);
    max-width: 200px;
}

.bet-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0;
    font-size: 0.8rem;
}

.bet-remove:hover {
    color: var(--primary);
}

.bet-selection {
    font-weight: 600;
    margin-bottom: 5px;
}

.bet-odd {
    color: var(--accent);
    font-weight: 700;
}

.bet-slip-footer {
    padding: 15px;
    border-top: 1px solid var(--border-dark);
}

.stake-input label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.stake-field {
    display: flex;
    align-items: center;
    background: var(--bg-dark);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 10px;
}

.stake-field input {
    flex: 1;
    background: none;
    border: none;
    padding: 12px;
    color: var(--text-white);
    font-family: 'Tajawal', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    outline: none;
}

.stake-field .currency {
    padding: 12px;
    background: var(--bg-light);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.quick-stakes {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
}

.quick-stakes button {
    flex: 1;
    padding: 8px;
    background: var(--bg-dark);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-family: 'Tajawal', sans-serif;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.quick-stakes button:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.slip-summary {
    margin-bottom: 15px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.summary-row.potential {
    font-weight: 600;
    color: var(--text-white);
    font-size: 1rem;
    border-top: 1px solid var(--border-dark);
    padding-top: 12px;
}

.summary-row.potential span:last-child {
    color: var(--success);
}

.btn-place-bet {
    width: 100%;
    background: var(--success);
    color: white;
    padding: 14px;
    font-size: 1rem;
}

.btn-place-bet:hover {
    background: #43a047;
}

/* Recent Wins */
.recent-wins {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.recent-wins h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: var(--bg-dark);
    font-size: 0.95rem;
    font-weight: 600;
    border-bottom: 1px solid var(--border-dark);
}

.recent-wins h3 i {
    color: var(--accent);
}

.wins-list {
    max-height: 200px;
    overflow-y: auto;
}

.win-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-dark);
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

.win-item:last-child {
    border-bottom: none;
}

.win-avatar {
    width: 35px;
    height: 35px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.win-info {
    flex: 1;
}

.win-user {
    font-size: 0.85rem;
    font-weight: 500;
}

.win-game {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.win-amount {
    font-weight: 700;
    color: var(--success);
}

/* Footer */
.footer {
    background: var(--bg-darker);
    margin-top: 40px;
}

.footer-top {
    border-bottom: 1px solid var(--border-dark);
}

.footer-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px 20px;
}

.footer-top .footer-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 15px;
}

.footer-logo span {
    color: var(--primary);
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--text-white);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-col ul a:hover {
    color: var(--primary);
}

.footer-payments {
    border-bottom: 1px solid var(--border-dark);
}

.footer-payments .footer-container {
    padding: 25px 20px;
    display: flex;
    align-items: center;
    gap: 30px;
}

.footer-payments h4 {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.payment-methods {
    display: flex;
    gap: 15px;
}

.payment-icon {
    background: var(--bg-card);
    padding: 10px 15px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

.payment-icon i {
    font-size: 1.2rem;
}

.footer-bottom {
    text-align: center;
}

.footer-bottom .footer-container {
    padding: 20px;
}

.license-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 15px;
}

.license-info span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: var(--bg-card);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    border: 1px solid var(--border-dark);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: scale(0.95) translateY(-20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-large {
    max-width: 550px;
}

.modal-close {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--bg-dark);
    border: none;
    color: var(--text-secondary);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 10;
}

.modal-close:hover {
    background: var(--primary);
    color: white;
}

.modal-header {
    text-align: center;
    padding: 30px 30px 20px;
}

.modal-logo {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 15px;
}

.modal-logo span {
    color: var(--primary);
}

.modal-header h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.welcome-bonus {
    background: var(--gradient-primary);
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.welcome-bonus strong {
    color: var(--accent);
}

/* Forms */
form {
    padding: 0 30px 30px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-group label i {
    font-size: 0.85rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 15px;
    background: var(--bg-dark);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    color: var(--text-white);
    font-family: 'Tajawal', sans-serif;
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.password-field {
    position: relative;
}

.password-field input {
    padding-left: 45px;
}

.toggle-password {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
}

.phone-field {
    display: flex;
    gap: 10px;
}

.phone-field select {
    width: 120px;
}

.phone-field input {
    flex: 1;
}

.form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.checkbox-label input {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.checkbox-label a {
    color: var(--primary);
}

.forgot-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 0.9rem;
}

.form-check {
    margin-bottom: 15px;
}

.btn-submit {
    width: 100%;
    background: var(--gradient-primary);
    color: white;
    padding: 15px;
    font-size: 1.1rem;
}

.btn-submit:hover {
    box-shadow: var(--shadow-glow);
}

.modal-divider {
    text-align: center;
    position: relative;
    margin: 20px 30px;
}

.modal-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-dark);
}

.modal-divider span {
    background: var(--bg-card);
    padding: 0 15px;
    color: var(--text-muted);
    position: relative;
}

.social-login {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 0 30px;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--border-dark);
    background: var(--bg-dark);
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.social-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.social-btn.google:hover { color: #db4437; border-color: #db4437; }
.social-btn.telegram:hover { color: #0088cc; border-color: #0088cc; }
.social-btn.facebook:hover { color: #1877f2; border-color: #1877f2; }

.modal-footer {
    text-align: center;
    padding: 20px;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-dark);
    margin-top: 20px;
}

.modal-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

/* Deposit Modal */
.deposit-content {
    padding: 0 30px 30px;
}

.deposit-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.deposit-tab {
    flex: 1;
    padding: 12px;
    background: var(--bg-dark);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-family: 'Tajawal', sans-serif;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.deposit-tab i {
    font-size: 1.3rem;
}

.deposit-tab:hover,
.deposit-tab.active {
    border-color: var(--primary);
    color: var(--primary);
}

.deposit-methods-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.method-card {
    background: var(--bg-dark);
    border: 2px solid var(--border-dark);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.method-card:hover {
    border-color: var(--primary);
}

.method-card.selected {
    border-color: var(--primary);
    background: rgba(211, 47, 47, 0.1);
}

.method-card i,
.method-card .usdt-icon {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: block;
}

.method-card i.fa-bitcoin { color: #f7931a; }
.method-card i.fa-ethereum { color: #627eea; }
.method-card .usdt-icon { color: #26a17b; font-weight: 900; }

.method-card span {
    font-weight: 500;
}

.deposit-form .form-group {
    margin-bottom: 15px;
}

.quick-amounts {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.quick-amounts button {
    flex: 1;
    padding: 10px;
    background: var(--bg-dark);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-family: 'Tajawal', sans-serif;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.quick-amounts button:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.crypto-details {
    text-align: center;
    margin: 20px 0;
}

.qr-placeholder {
    width: 150px;
    height: 150px;
    background: white;
    border-radius: var(--radius-md);
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-placeholder i {
    font-size: 5rem;
    color: var(--bg-dark);
}

.wallet-address label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.address-field {
    display: flex;
    background: var(--bg-dark);
    border: 1px solid var(--border-dark);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.address-field input {
    flex: 1;
    background: none;
    border: none;
    padding: 12px;
    color: var(--text-primary);
    font-size: 0.85rem;
}

.address-field button {
    background: var(--primary);
    border: none;
    color: white;
    padding: 12px 15px;
    cursor: pointer;
}

.deposit-notice {
    display: flex;
    align-items: start;
    gap: 10px;
    background: rgba(33, 150, 243, 0.1);
    border: 1px solid rgba(33, 150, 243, 0.3);
    border-radius: var(--radius-md);
    padding: 15px;
    margin-top: 15px;
    text-align: right;
}

.deposit-notice i {
    color: var(--info);
    font-size: 1.1rem;
    margin-top: 2px;
}

.deposit-notice span {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.selected-method {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: var(--bg-dark);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
}

.selected-method i {
    font-size: 1.5rem;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--bg-card);
    border: 1px solid var(--border-dark);
    padding: 15px 25px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    animation: toastSlideIn 0.3s ease;
}

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

.toast.success {
    border-color: var(--success);
}

.toast.success i {
    color: var(--success);
}

.toast.error {
    border-color: var(--error);
}

.toast.error i {
    color: var(--error);
}

.toast.info {
    border-color: var(--info);
}

.toast.info i {
    color: var(--info);
}

/* Responsive */
@media (max-width: 1400px) {
    .content-container {
        grid-template-columns: 220px 1fr 300px;
    }
}

@media (max-width: 1200px) {
    .content-container {
        grid-template-columns: 1fr 280px;
    }
    
    .sidebar-left {
        display: none;
    }
}

@media (max-width: 992px) {
    .header-container {
        flex-wrap: wrap;
        height: auto;
        padding: 15px;
        gap: 15px;
    }
    
    .main-nav {
        order: 3;
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
    }
    
    .nav-item span {
        display: none;
    }
    
    .content-container {
        grid-template-columns: 1fr;
    }
    
    .sidebar-right {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 99;
        max-height: 60vh;
        overflow-y: auto;
        transform: translateY(100%);
        transition: transform var(--transition-normal);
    }
    
    .sidebar-right.show {
        transform: translateY(0);
    }
    
    .footer-top .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    
    .slide {
        padding: 0 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .slide h2 {
        font-size: 1.8rem;
    }
    
    .slide-visual {
        display: none;
    }
    
    .stats-container {
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .matches-container {
        grid-template-columns: 1fr;
    }
    
    .match-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .row-odds {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .form-row-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.8rem;
    }
    
    .auth-buttons {
        flex-direction: column;
        gap: 8px;
    }
    
    .btn {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
    
    .sports-tabs {
        gap: 5px;
    }
    
    .sport-tab {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .match-count {
        display: none;
    }
    
    .casino-games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Animations */
.fade-in {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slide-up {
    animation: slideUp 0.5s ease;
}

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