/* ===============
   CSS VARIABLES
   =============== */
:root {
    --primary-color: #ffd700;
    /* Gold */
    --secondary-color: #1a0b2e;
    /* Deep purple */
    --bg-color: #130a21;
    /* Darker background */
    --text-color: #ffffff;
    --text-muted: #e0e0e0;
    --border-color: #4a195e;
    --card-bg: rgba(43, 16, 85, 0.6);
    --hover-overlay: rgba(255, 255, 255, 0.1);
    --transition-speed: 0.3s;
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Roboto', sans-serif;
    --glow: 0 0 10px rgba(255, 215, 0, 0.6);
}

/* ===============
   RESET
   =============== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    min-height: 100vh;
    font-family: var(--font-body);
    background-color: #cc1c80;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 1000' preserveAspectRatio='xMidYMax slice'%3E%3Cdefs%3E%3ClinearGradient id='bg' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0%25' stop-color='%2359173f'/%3E%3Cstop offset='100%25' stop-color='%23de1b8d'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect width='1440' height='1000' fill='url(%23bg)'/%3E%3Ccircle cx='1200' cy='150' r='2' fill='%23fff' opacity='0.6'/%3E%3Ccircle cx='1300' cy='250' r='8' fill='%23ffedba' opacity='0.9'/%3E%3Ccircle cx='200' cy='180' r='2' fill='%23fff' opacity='0.5'/%3E%3Cpath d='M0 1000 L0 550 L120 700 L300 450 L450 800 L650 350 L850 750 L1100 250 L1250 500 L1440 350 L1440 1000 Z' fill='%23531068'/%3E%3Cpath d='M0 1000 L0 650 L180 400 L380 750 L580 500 L780 850 L950 400 L1200 150 L1380 550 L1440 450 L1440 1000 Z' fill='%23701180'/%3E%3Cpath d='M0 1000 L0 730 L250 500 L450 850 L650 600 L850 900 L1050 500 L1300 200 L1440 550 L1440 1000 Z' fill='%239d168f'/%3E%3C/svg%3E");
    background-attachment: fixed;
    background-size: cover;
    background-position: center bottom;
    color: var(--text-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-speed) ease;
}

ul {
    list-style: none;
}

/* ===============
   GLOBAL COMPONENTS
   =============== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===============
   HEADER
   =============== */
.header {
    background: linear-gradient(180deg, rgba(26, 11, 46, 0.95) 0%, rgba(26, 11, 46, 0.8) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 45px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.5));
}

.nav-list {
    display: flex;
    gap: 15px;
    align-items: center;
}

.nav-list a {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 11px;
    text-transform: uppercase;
    position: relative;
    padding: 6px 14px;
    background: linear-gradient(135deg, #8b2b5d, #5a1945);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
}

.nav-list a:hover,
.nav-list a.active {
    background: linear-gradient(135deg, #ff007f, #b30059);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(255, 0, 127, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 13px;
}

.btn-signup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ff9900, #ff5500);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 25px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 15px;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(255, 85, 0, 0.5);
    transition: all var(--transition-speed);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-signup:hover {
    background: linear-gradient(135deg, #ffaa33, #ff6600);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 6px 20px rgba(255, 85, 0, 0.7);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 28px;
    cursor: pointer;
    text-shadow: var(--glow);
}

/* ===============
   ADS BLOCK
   =============== */
.ad-banner-container {
    margin-top: 100px;
    text-align: center;
}

.ad-banner-container img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    transition: transform var(--transition-speed) ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.ad-banner-container img:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(255, 0, 127, 0.4);
}

/* ===============
   FOOTER
   =============== */
.footer {
    background: linear-gradient(to top, #090314, #130a21);
    padding: 70px 0 30px;
    margin-top: 80px;
    border-top: 2px solid #ff007f;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 25px;
    color: var(--primary-color);
    text-shadow: var(--glow);
    text-transform: uppercase;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a {
    color: #ccc;
    font-size: 15px;
}

.footer-col a:hover {
    color: #ff007f;
    padding-left: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #888;
    font-size: 14px;
}

/* ===============
   RESPONSIVE
   =============== */
@media (max-width: 992px) {
    .nav-list {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav-list {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(26, 11, 46, 0.98);
        backdrop-filter: blur(10px);
        padding: 0 20px;
        border-bottom: 2px solid #ff007f;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease, padding 0.4s ease;
    }

    .nav-list.active {
        max-height: 500px;
        padding: 20px;
    }

    .nav-list a {
        padding: 15px 0;
        background: transparent;
        border: none;
        border-radius: 0;
        box-shadow: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        text-align: center;
        letter-spacing: 1px;
    }

    .nav-list a:hover {
        background: rgba(255, 0, 127, 0.1);
        transform: none;
        box-shadow: none;
        border-color: rgba(255, 255, 255, 0.05);
    }

    .footer {
        padding: 50px 0 20px;
        margin-top: 50px;
    }

    .footer-grid {
        gap: 30px;
    }
}