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

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #ffffff;
    overflow-x: hidden;
}

/* Left Sidebar Menu */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 260px;
    height: 100vh;
    background: linear-gradient(145deg, #1e3c72 0%, #2a5298 100%);
    z-index: 1000;
    padding: 20px 0;
    box-shadow: 5px 0 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.sidebar-logo {
    text-align: center;
    padding: 0 20px 30px;
    border-bottom: 2px solid rgba(255,215,0,0.3);
}

.sidebar-logo img {
	height: 80px;
	width: 80px;
	border-radius: 50%;
}

.sidebar-logo h1 {
    color: #ffd700;
    font-size: 28px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.sidebar-logo p {
    color: #b8c9e0;
    font-size: 12px;
    margin-top: 5px;
}

.sidebar-menu {
    padding: 20px 0;
		overflow-y: auto;
		overflow-x: hidden;
}


/* Navigation Buttons (nav-btns) */
.nav-btns {
    display: flex;
    gap: 15px;
    margin-left: auto;
		justify-content: center;
    align-items: center;
}

.nav-btns a {
    display: inline-block;
    background: linear-gradient(90deg, #ffd700 0%, #ffb700 100%);
    color: #1e3c72;
    font-weight: 600;
    padding: 10px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-size: .8rem;
    box-shadow: 0 2px 8px rgba(255,215,0,0.15);
    transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
    border: none;
    outline: none;
}

.nav-btns a:hover,
.nav-btns a:focus {
    background: linear-gradient(90deg, #ffb700 0%, #ffd700 100%);
    color: #ee5a24;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 4px 16px rgba(255,183,0,0.25);
}

@media (max-width: 900px) {
    .nav-btns {
        gap: 10px;
    }
    .nav-btns a {
        padding: 9px 18px;
        font-size: 15px;
    }
}

@media (max-width: 600px) {
    .nav-btns {
        flex-direction: column;
        gap: 8px;
        margin: 0;
        align-items: stretch;
    }
    .nav-btns a {
        width: 100%;
        text-align: center;
        padding: 12px 0;
        font-size: 16px;
    }
}



.menu-item {
    display: block;
    padding: 15px 25px;
    color: #e0e6ed;
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.menu-item:hover,
.menu-item.active {
    background: linear-gradient(90deg, rgba(255,215,0,0.1) 0%, rgba(255,215,0,0.05) 100%);
    border-left-color: #ffd700;
    color: #ffd700;
    transform: translateX(10px);
}

.menu-item i {
    margin-right: 15px;
    width: 20px;
    font-size: 18px;
}

/* Main Content */
.main-content {
    margin-left: 260px;
    min-height: 100vh;
    padding: 20px;
		padding-bottom: 0;
}

/* Header */
.header {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    padding: 15px 0;
    margin-bottom: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

.exchange-winners {
    max-width: 75%;
    text-align: center;
}

.ticker-container {
    overflow: hidden;
    white-space: nowrap;
    background: rgba(0,0,0,0.2);
    border-radius: 25px;
    padding: 10px 20px;
}

.ticker-text {
    display: inline-block;
    animation: ticker 30s linear infinite;
    font-weight: 500;
    color: #fff;
}

@keyframes ticker {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.header-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    font-weight: bold;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 14px;
}

.btn-primary {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4a 100%);
    color: #1a1a2e;
    box-shadow: 0 5px 15px rgba(255,215,0,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,215,0,0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(0,184,148,0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,184,148,0.4);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 60px 40px;
    border-radius: 20px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="30" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="70" r="2" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="80" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="60" r="1.5" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

/* Cards Grid */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.card {
    background: linear-gradient(145deg, #2c3e50 0%, #34495e 100%);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffd700, #ff6b6b, #00b894, #6c5ce7);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

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

.card h3 {
    color: #ffd700;
    margin-bottom: 15px;
    font-size: 24px;
}

.card p {
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.9;
}

/* Game Grid */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.game-card {
    background: linear-gradient(145deg, #1e3c72 0%, #2a5298 100%);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.game-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255,215,0,0.1) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

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

.game-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: rgba(255,255,255,0.8);
    position: relative;
}

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

.game-info {
    padding: 20px;
}

.game-info h4 {
    color: #ffd700;
    margin-bottom: 10px;
    font-size: 18px;
}

.game-info p {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 15px;
}

.rtp {
    background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .header-buttons {
        justify-content: center;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .cards-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    color: white;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Animations */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(255, 215, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(255, 215, 0, 0.5); }
    50% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.8), 0 0 30px rgba(255, 215, 0, 0.6); }
}

.glow {
    animation: glow 2s ease-in-out infinite;
}

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

::-webkit-scrollbar-track {
    background: #1a1a2e;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #ffd700 0%, #ff6b6b 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ff6b6b 0%, #ffd700 100%);
}