:root {
    --primary-purple: #4A1B99;
    --secondary-purple: #6B2FB3;
    --accent-green: #22C55E;
    --bg-dark: #1a1b2e;
    --sidebar-dark: #16213e;
    --text-light: #ffffff;
    --text-muted: #9ca3af;
}

body {
    background: #0d012a;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.casino-logo {
    background: linear-gradient(45deg, #8B5CF6, #A855F7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
}

/* Sidebar Styles */
.sidebar {
    background: #24163e;
    min-height: 100vh;
    position: fixed;
    left: 0;
    top: 0;
    width: 250px;
    transition: width 0.3s ease;
    z-index: 1000;
    overflow: hidden;
    padding: 0;
}

.sidebar.collapsed {
    width: 70px;
}

.sidebar-hamburger {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hamburger-btn {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    padding: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.hamburger-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.sidebar-item {
    padding: 8px 15px;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    margin: 4px 10px;
    border-radius: 8px;
}

.sidebar-item:hover {
    color: white;
    text-decoration: none;
}

.sidebar-item.active {
    color: white;
}

.sidebar-item .icon-wrapper {
    background: #55378a;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-right: 15px;
    flex-shrink: 0;
}

.sidebar-item:hover .icon-wrapper {
    background: #42b225;
}

.sidebar-item i {
    font-size: 18px;
    color: white;
}

.sidebar-item span {
    opacity: 1;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 14px;
}

.sidebar.collapsed .sidebar-item span {
    opacity: 0;
    width: 0;
    margin-left: -15px;
}

.sidebar.collapsed .sidebar-item .icon-wrapper {
    margin-right: 0;
}



.main-content {
    margin-left: 250px;
    transition: margin-left 0.3s ease;
}

.sidebar.collapsed + .main-content {
    margin-left: 70px;
}

/* Header Styles */
.header {
    background: rgba(22, 33, 62, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.3);
}

.btn-register {
    background: var(--accent-green);
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-register:hover {
    background: #16a34a;
    transform: translateY(-1px);
}

.btn-login {
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.mobile-menu-btn {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 24px;
}

/* Game Categories */
.btn-outline-light.active {
    background-color: var(--accent-green);
    border-color: var(--accent-green);
    color: white;
}

.btn-outline-light:hover {
    background-color: rgba(139, 92, 246, 0.2);
    border-color: #8B5CF6;
    color: white;
}

/* Game Cards */
.game-card {
    background: rgba(22, 33, 62, 0.8);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

.game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.live-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #1be409;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    flex-direction: column;
    gap: 10px;
}

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

/* Mobile Styles */
@media (max-width: 768px) {
    .sidebar {
        left: -250px;
        width: 250px !important;
    }

    .sidebar.show {
        left: 0;
    }

    .main-content {
        margin-left: 0 !important;
    }
}
