/* ===============
   GOOGLE FONTS
   =============== */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

/* ===============
   CSS VARIABLES
   =============== */
:root {
    --primary: #00ffff;
    --primary-dark: #00cccc;
    --secondary: #ff00ff;
    --accent: #ffff00;
    --bg: #0a0a0f;
    --bg-2: #12121a;
    --bg-card: #1a1a25;
    --text: #ffffff;
    --text-muted: #8a8aa0;
    --border: rgba(0, 255, 255, 0.2);
    --glow: 0 0 30px rgba(0, 255, 255, 0.5);
    --radius: 20px;
    --speed: 0.4s;
    --font-head: 'Orbitron', sans-serif;
    --font-body: 'Rajdhani', sans-serif;
}

/* ===============
   RESET
   =============== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    scroll-behavior: smooth;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--speed);
}

ul { list-style: none; }

img { display: block; max-width: 100%; }

/* ===============
   CONTAINER
   =============== */
.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===============
   HEADER
   =============== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
    gap: 20px;
}

.logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

nav { flex: 1; display: flex; justify-content: center; }

.nav-list {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-list a {
    font-family: var(--font-head);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    position: relative;
    padding-bottom: 4px;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width var(--speed);
}

.nav-list a:hover {
    color: var(--primary);
}

.nav-list a:hover::after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-signup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--bg) !important;
    padding: 11px 29px;
    border-radius: 50px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 9px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all var(--speed);
    white-space: nowrap;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.btn-signup:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.6);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: 2px solid var(--border);
    color: var(--text);
    font-size: 28px;
    cursor: pointer;
    padding: 10px 14px;
    border-radius: 12px;
    transition: all var(--speed);
}

.mobile-menu-toggle:hover { 
    border-color: var(--primary);
    color: var(--primary);
}

/* ===============
   AD BANNER
   =============== */
.ad-banner-container {
    margin-top: 90px;
    padding: 24px;
}

@media (max-width: 768px) {
    .ad-banner-container {
        /* padding: 20px; */
    }
}

.ad-banner-container img {
    width: 100%;
    height: 65px;
    display: block;
    border-radius: var(--radius);
    box-shadow: 0 10px 40px rgba(0, 255, 255, 0.2);
}

/* ===============
   FOOTER
   =============== */
.footer {
    background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
    border-top: 1px solid var(--border);
    padding: 80px 0 40px;
    margin-top: 100px;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: 'CASINO';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-head);
    font-size: 150px;
    font-weight: 900;
    color: rgba(0, 255, 255, 0.03);
    pointer-events: none;
    letter-spacing: 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.footer-col h4 {
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary);
    margin-bottom: 24px;
}

.footer-col p,
.footer-col a {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.8;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-col a:hover {
    color: var(--secondary);
    padding-left: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    position: relative;
    z-index: 1;
}

/* ===============
   RESPONSIVE
   =============== */
@media (max-width: 900px) {
    .mobile-menu-toggle { display: block; }

    nav {
        display: block;
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background: var(--bg-2);
        border-bottom: 1px solid var(--border);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.5s ease;
        flex: unset;
        justify-content: unset;
    }

    nav.active {
        max-height: 600px;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 24px;
        align-items: flex-start;
    }

    .nav-list a {
        display: block;
        width: 100%;
        padding: 16px 0;
        border-bottom: 1px solid var(--border);
        font-size: 12px;
    }

    .nav-list li:last-child a {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    .footer { padding: 60px 0 30px; margin-top: 80px; }
    .footer-grid { gap: 36px; }
    
    .header .container {
        gap: 12px;
    }
    
    .logo img {
        height: 40px;
    }
    
    .btn-signup {
        padding: 14px 28px;
        font-size: 13px;
        letter-spacing: 1.5px;
    }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .btn-signup {
        padding: 12px 20px;
        font-size: 12px;
        letter-spacing: 1px;
    }
}

/* ===============
   MOBILE STICKY BAR
   =============== */
.mobile-sticky-bar {
    display: none;
}

@media (max-width: 900px) {
    .mobile-sticky-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 1100;
        padding: 14px 16px;
        gap: 14px;
        background: rgba(18, 18, 26, 0.98);
        backdrop-filter: blur(20px);
        border-top: 1px solid var(--border);
    }

    .mobile-sticky-bar .btn {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 56px;
        border-radius: 50px;
        font-family: var(--font-head);
        font-weight: 700;
        font-size: 13px;
        letter-spacing: 1.5px;
        text-transform: uppercase;
        transition: all 0.3s;
    }
    
    @media (max-width: 480px) {
        .mobile-sticky-bar .btn {
            font-size: 12px;
            letter-spacing: 1px;
            height: 52px;
        }
    }

    .mobile-sticky-bar .btn:active {
        transform: scale(0.96);
    }

    .mobile-sticky-bar .btn-login {
        background: var(--bg-card);
        color: var(--text);
        border: 1px solid var(--border);
    }

    .mobile-sticky-bar .btn-register {
        background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
        color: var(--bg);
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    }

    body {
        padding-bottom: 100px;
    }
    
    @media (max-width: 480px) {
        body {
            padding-bottom: 110px;
        }
    }
}
