@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800;900&display=swap');

:root {
    /* Main Palette */
    --bg-page: #04050a;
    --bg-card: #0f111a;
    --bg-card-hover: #161928;
    --bg-header: rgba(10, 11, 20, 0.85);
    
    /* Branding Colors */
    --color-primary: #00f2ff; /* Electric Cyan */
    --color-secondary: #ff00e5; /* Neon Pink */
    --color-accent: #7000ff; /* Vivid Purple */
    --color-success: #00ff88;
    --color-warning: #ffb800;
    
    /* Text Colors */
    --color-white: #ffffff;
    --color-muted: #94a3b8;
    --color-text-dim: #64748b;
    
    /* Effects */
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
    --glow-primary: 0 0 20px rgba(0, 242, 255, 0.2);
    
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-page);
    color: var(--color-white);
    font-family: var(--font-body);
    margin: 0;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-container,
.page-container {
    width: 100%;
    margin: 0;
    background-color: var(--bg-page);
    min-height: 100vh;
}

/* Global Banner/Ad Rules */
.banner-wrapper {
    padding: 20px 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    width: 100%;
    max-width: 1280px;
}

.banner-wrapper img {
    max-width: 100%;
    border-radius: 16px;
    display: block;
    box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 242, 255, 0.1);
    transition: transform 0.4s ease;
}

.banner-wrapper img:hover {
    transform: scale(1.02);
}

/* Header - Ultra Modern Glassmorphism */
.main-header {
    background: var(--bg-header);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}



.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.logo img {
    height: 52px;
    display: block;
    border-radius: 12px;
    filter: drop-shadow(0 0 8px rgba(0, 242, 255, 0.2));
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: rotate(-2deg) scale(1.05);
}

.desktop-nav {
    display: none;
    background: rgba(0, 0, 0, 0.2);
    padding: 8px 0;
    justify-content: center;
    align-items: center;
}

@media (max-width: 767px) {
    .desktop-nav.active {
        display: block;
        width: 100%;
        padding: 24px 0;
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--bg-header);
        backdrop-filter: blur(20px);
        box-shadow: var(--shadow-lg);
        border-bottom: 1px solid var(--glass-border);
        z-index: 999;
        animation: slideDown 0.4s ease forwards;
    }

    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }

    .desktop-nav.active ul {
        display: flex;
        flex-direction: column;
        gap: 12px;
        list-style: none;
        margin: 0;
        padding: 0 20px;
        align-items: center;
    }

    .desktop-nav.active li {
        width: 100%;
    }

    .desktop-nav.active a {
        font-size: 15px;
        font-weight: 600;
        color: var(--color-white);
        text-transform: uppercase;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 12px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.03);
        border: 1px solid rgba(255, 255, 255, 0.05);
        transition: all 0.3s ease;
    }
    
    .desktop-nav.active a:active {
        background: var(--color-primary);
        color: #000;
    }
}

body.no-scroll {
    overflow: hidden;
}

.mobile-nav-strip {
    background: rgba(16, 17, 26, 0.6);
    border-top: 1px solid var(--glass-border);
    display: block;
}

.mobile-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    width: 100%;
}

.menu-label {
    color: var(--color-white);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.8;
}

.menu-toggle {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    width: 40px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-toggle.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.4);
}

.menu-toggle svg {
    width: 22px;
    height: 22px;
    fill: var(--color-primary);
    transition: all 0.3s ease;
}

.menu-toggle.active svg {
    fill: #000;
}

.header-auth {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-login {
    background: transparent;
    color: var(--color-white);
    padding: 8px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: var(--glass);
    border-color: rgba(255,255,255,0.2);
}

.btn-register {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: #000;
    padding: 8px 22px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(0, 242, 255, 0.2);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 242, 255, 0.4);
}



/* High-End Footer */
.main-footer {
    background-color: #0a0b14;
    border-top: 1px solid var(--glass-border);
    padding: 60px 20px 40px;
    margin-top: 40px;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(112, 0, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--glass-border);
}

.footer-logo {
    height: 48px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 8px rgba(0, 242, 255, 0.2));
}

.footer-desc {
    color: var(--color-muted);
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
    max-width: 400px;
}

.footer-nav h4,
.footer-contact h4 {
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 18px;
    margin: 0 0 20px 0;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.footer-nav ul,
.footer-contact ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a,
.footer-contact a {
    color: var(--color-muted);
    font-size: 15px;
    transition: all 0.3s ease;
}

.footer-nav a:hover,
.footer-contact a:hover {
    color: var(--color-primary);
    transform: translateX(8px);
}

.footer-bottom {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
}

.footer-copyright {
    color: var(--color-text-dim);
    font-size: 13px;
    letter-spacing: 0.5px;
}

@media (min-width: 768px) {
    .mobile-nav-strip {
        display: none;
    }

    .desktop-nav {
        display: flex;
        justify-content: center;
        padding: 12px 0;
        background: rgba(0, 0, 0, 0.4);
        border-top: 1px solid var(--glass-border);
    }

    .desktop-nav ul {
        display: flex;
        justify-content: center;
        gap: 40px;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .desktop-nav a {
        font-size: 13px;
        font-weight: 700;
        color: var(--color-muted);
        text-transform: uppercase;
        letter-spacing: 1px;
        display: flex;
        align-items: center;
        gap: 6px;
        position: relative;
        padding: 5px 0;
    }

    .desktop-nav a::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--color-primary);
        transition: width 0.3s ease;
        box-shadow: 0 0 10px var(--color-primary);
    }

    .desktop-nav a:hover {
        color: var(--color-white);
    }
    
    .desktop-nav a:hover::after {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}