@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
    /* Vibrant Casino Color Palette */
    --primary: #8B5CF6;
    --primary-light: #A78BFA;
    --primary-dark: #7C3AED;
    --secondary: #06B6D4;
    --accent: #EC4899;
    --accent-orange: #F59E0B;
    
    /* Backgrounds */
    --bg-dark: #0F0A1A;
    --bg-card: #1A1128;
    --bg-card-hover: #25183A;
    --bg-elevated: #2A1B3D;
    --bg-gradient: linear-gradient(135deg, #1A1128 0%, #0F0A1A 100%);
    
    /* Text */
    --text-main: #E2E8F0;
    --text-light: #FFFFFF;
    --text-muted: #94A3B8;
    --text-muted-dark: #64748B;
    
    /* Borders & Effects */
    --border: rgba(139, 92, 246, 0.2);
    --border-light: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(139, 92, 246, 0.5);
    --glow-primary: rgba(139, 92, 246, 0.4);
    --glow-secondary: rgba(6, 182, 212, 0.4);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
    --gradient-secondary: linear-gradient(135deg, #06B6D4 0%, #8B5CF6 100%);
    --gradient-accent: linear-gradient(135deg, #EC4899 0%, #F59E0B 100%);
    --gradient-hero: linear-gradient(180deg, #1A1128 0%, #0F0A1A 50%, #25183A 100%);
    
    /* Fonts */
    --font-display: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    /* Spacing & Radius */
    --radius-sm: 8px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(139, 92, 246, 0.2);
    --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.3);
    
    /* Animation */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100%;
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--text-light);
    line-height: 1.2;
    font-weight: 700;
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary);
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography Utils */
.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    margin-bottom: 16px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 600px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: var(--radius-lg);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 50px rgba(139, 92, 246, 0.5);
    color: white;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: 1px solid var(--border-light);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--border);
    color: var(--text-light);
}

.btn-glow {
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
    box-shadow: 0 0 20px var(--glow-secondary);
}

.btn-glow:hover {
    background: var(--secondary);
    color: var(--bg-dark);
    box-shadow: 0 0 40px var(--glow-secondary);
}

.btn-large {
    padding: 18px 42px;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.85rem;
}

/* Header */
.main-header {
    background: rgba(15, 10, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    gap: 24px;
}

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

.logo img {
    max-height: 40px;
    width: auto;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.main-nav a {
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 10px 18px;
    border-radius: var(--radius);
    transition: var(--transition);
    position: relative;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--text-light);
    background: rgba(139, 92, 246, 0.15);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 12px;
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.15);
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-light);
    transition: var(--transition);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Footer */
.main-footer {
    background: var(--bg-card);
    padding: 80px 0 0;
    border-top: 1px solid var(--border);
    margin-top: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-brand .logo-icon {
    width: 56px;
    height: 56px;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.footer-brand .logo-text {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.footer-brand .logo img {
    max-height: 40px;
}

.footer-brand p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.75;
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.92rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-light);
    padding-left: 8px;
}

.footer-contact p {
    margin-bottom: 12px;
    font-size: 0.92rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact .icon {
    width: 36px;
    height: 36px;
    background: rgba(139, 92, 246, 0.15);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-bottom {
    text-align: center;
    padding: 28px 0;
    border-top: 1px solid var(--border);
    font-size: 0.88rem;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--primary-light);
}

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

.social-links a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-3px);
}

/* Page Header */
.page-header {
    padding: 120px 0 80px;
    text-align: center;
    background: var(--gradient-hero);
    border-bottom: 1px solid var(--border);
}

.breadcrumb {
    font-size: 0.9rem;
    color: var(--text-muted);
    padding-top: 24px;
}

.breadcrumb a {
    color: var(--primary-light);
}

.breadcrumb span {
    margin: 0 8px;
}

/* Mobile Bottom Bar */
.mobile-bottom-bar {
    display: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .header-inner {
        height: 72px;
    }

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

    .logo-icon {
        width: 40px;
        height: 40px;
    }

    .container {
        padding: 0 16px;
    }

    .main-nav {
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: rgba(15, 10, 26, 0.98);
        backdrop-filter: blur(20px);
        max-height: 0;
        transition: max-height 0.4s ease;
        overflow: hidden;
        border-bottom: 1px solid var(--border);
        flex: unset;
        justify-content: flex-start;
    }

    .main-nav.active {
        max-height: 500px;
    }

    .main-nav .nav-list {
        flex-direction: column;
        padding: 20px;
    }

    .main-nav a {
        padding: 14px 16px;
        font-size: 1rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-actions .btn {
        padding: 10px 18px;
        font-size: 0.85rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-contact p {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .mobile-bottom-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1300;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding: 14px 16px calc(14px + env(safe-area-inset-bottom));
        background: rgba(15, 10, 26, 0.98);
        backdrop-filter: blur(20px);
        border-top: 1px solid var(--border);
    }

    .mobile-bottom-bar a {
        min-height: 52px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.9rem;
        font-weight: 600;
        border-radius: var(--radius);
        transition: var(--transition);
    }

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

    .mobile-bottom-bar .btn-register {
        background: var(--gradient-primary);
        color: white;
    }

    body {
        padding-bottom: 90px;
    }
}

@media (max-width: 480px) {
    .btn {
        width: 100%;
    }
}