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

:root {
    --primary-color: #6366f1;
    --secondary-color: #ec4899;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    --bg-dark: #1a1b2e;
    --bg-darker: #16213e;
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --text-light: #e2e8f0;
    --text-dark: #1e293b;
    --border-color: #374151;
    --card-bg: rgba(255, 255, 255, 0.05);
    --backdrop-blur: backdrop-filter: blur(10px);
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #1e1b4b 0%, #3730a3 50%, #5b21b6 100%);
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Ticker */
.ticker-wrapper {
    background: linear-gradient(90deg, #1e40af, #7c3aed, #db2777);
    padding: 8px 0;
    overflow: hidden;
    position: relative;
    z-index: 100;
}

.ticker {
    display: flex;
    animation: scroll 30s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    margin-right: 40px;
    font-size: 14px;
    font-weight: 500;
    color: white;
    min-width: max-content;
}

.ticker-item i {
    margin-right: 8px;
    color: #fbbf24;
}

.ticker-item.winner {
    color: #10b981;
    font-weight: 600;
}

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

/* Header */
.header {
    background: rgba(30, 27, 75, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 99;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    font-size: 28px;
    font-weight: 700;
    color: var(--secondary-color);
}

.logo img {
    width: 40px;
    height: 40px;
    margin-right: 12px;
    border-radius: 8px;
}

.main-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: max-content;
}

.btn i {
    margin-right: 8px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

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

.register-btn {
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    color: white;
}

.register-btn:hover {
    background: linear-gradient(45deg, #db2777, #f59e0b);
}

.play-btn, .claim-btn, .deal-btn {
    background: linear-gradient(45deg, var(--success-color), #06d6a0);
    color: white;
    padding: 10px 20px;
    font-size: 13px;
}

.live-btn {
    background: linear-gradient(45deg, var(--error-color), #ff6b6b);
    color: white;
    padding: 10px 20px;
    font-size: 13px;
}

/* CTA Buttons */
.cta-primary {
    background: linear-gradient(45deg, var(--accent-color), #fbbf24);
    color: var(--text-dark);
    font-weight: 700;
    padding: 16px 32px;
    font-size: 16px;
}

.cta-secondary {
    background: linear-gradient(45deg, var(--success-color), #059669);
    color: white;
    padding: 16px 32px;
    font-size: 16px;
}

.cta-tertiary {
    background: linear-gradient(45deg, var(--error-color), #dc2626);
    color: white;
    padding: 16px 32px;
    font-size: 16px;
}

/* Cards */
.card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--bg-darker), var(--bg-dark));
    padding: 40px 0 20px;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-section a {
    display: block;
    color: var(--text-light);
    text-decoration: none;
    margin-bottom: 8px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

/* Floating Action Buttons */
.floating-buttons {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fab-btn {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    color: white;
    transition: all 0.3s ease;
    min-width: 120px;
    backdrop-filter: blur(10px);
}

.fab-btn i {
    margin-right: 8px;
}

.register-fab {
    background: linear-gradient(45deg, var(--secondary-color), #be185d);
}

.login-fab {
    background: linear-gradient(45deg, var(--primary-color), #4338ca);
}

.bonus-fab {
    background: linear-gradient(45deg, var(--accent-color), #d97706);
}

.fab-btn:hover {
    transform: translateX(-5px) scale(1.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

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

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(99, 102, 241, 0.4); }
    50% { box-shadow: 0 0 30px rgba(99, 102, 241, 0.8); }
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .main-nav {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }
    
    .nav-link {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .auth-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .floating-buttons {
        right: 10px;
        transform: translateY(-50%) scale(0.9);
    }
    
    .fab-btn {
        min-width: 100px;
        padding: 10px 12px;
        font-size: 12px;
    }
    
    .ticker-item {
        font-size: 12px;
        margin-right: 30px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .cta-primary,
    .cta-secondary,
    .cta-tertiary {
        padding: 14px 24px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 24px;
    }
    
    .main-nav {
        gap: 10px;
    }
    
    .nav-link {
        padding: 5px 10px;
        font-size: 12px;
    }
    
    .floating-buttons {
        transform: translateY(-50%) scale(0.8);
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-gradient {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.fade-in { animation: fadeInUp 0.6s ease-out; }
.pulse { animation: pulse 2s infinite; }
.glow { animation: glow 2s ease-in-out infinite alternate; }