/* ===============
   GOOGLE FONTS
   =============== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800;900&family=Montserrat:wght@400;500;600;700&display=swap');

/* ===============
   CSS VARIABLES
   =============== */
:root {
    --primary: #ffd700;
    --primary-dark: #c9a227;
    --secondary: #8b0000;
    --accent: #9400d3;
    --bg: #0a0a0a;
    --bg-2: #141414;
    --bg-card: #1a1a1a;
    --text: #ffffff;
    --text-muted: #a0a0a0;
    --border: rgba(255, 215, 0, 0.2);
    --glow: 0 0 20px rgba(255, 215, 0, 0.4);
    --radius: 8px;
    --speed: 0.3s;
    --font-head: 'Playfair Display', serif;
    --font-body: 'Montserrat', sans-serif;
}

/* ===============
   RESET
   =============== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    font-family: var(--font-body);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--speed);
}

ul { list-style: none; }

img { display: block; max-width: 100%; }

/* ===============
   CONTAINER
   =============== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===============
   HEADER
   =============== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.98) 0%, rgba(10, 10, 10, 0.9) 100%);
    border-bottom: 2px solid var(--border);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: 20px;
}

.logo img {
    height: 44px;
    width: auto;
    object-fit: contain;
}

nav { flex: 1; display: flex; justify-content: center; }

.nav-list {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-list a {
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
    transition: color var(--speed);
}

.nav-list a:hover {
    color: var(--primary);
}

.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(--primary-dark) 100%);
    color: var(--bg) !important;
    padding: 12px 32px;
    border-radius: 4px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: transform var(--speed), box-shadow var(--speed);
    white-space: nowrap;
}

.btn-signup:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: 2px solid var(--border);
    color: var(--text);
    font-size: 24px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 4px;
    transition: border-color var(--speed);
}

.mobile-menu-toggle:hover { border-color: var(--primary); }

/* ===============
   AD BANNER
   =============== */
.ad-banner-container {
    margin-top: 80px;
    padding: 20px;
}

.ad-banner-container img {
    max-width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

/* ===============
   FOOTER
   =============== */
.footer {
    background: var(--bg-2);
    border-top: 2px solid var(--border);
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 20px;
}

.footer-col p,
.footer-col a {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.8;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 13px;
}

/* ===============
   RESPONSIVE
   =============== */
@media (max-width: 900px) {
    .mobile-menu-toggle { display: block; }

    nav {
        display: block;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--bg-2);
        border-bottom: 2px solid var(--border);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        flex: unset;
        justify-content: unset;
    }

    nav.active {
        max-height: 500px;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 20px;
        align-items: flex-start;
    }

    .nav-list a {
        display: block;
        width: 100%;
        padding: 14px 0;
        border-bottom: 1px solid var(--border);
        font-size: 15px;
    }

    .nav-list li:last-child a {
        border-bottom: none;
    }
}

@media (max-width: 768px) {
    .container { padding: 0 16px; }
    .footer { padding: 48px 0 24px; margin-top: 60px; }
    .footer-grid { gap: 28px; }
}

/* ===============
   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: 12px 16px;
        gap: 12px;
        background: var(--bg-2);
        border-top: 2px solid var(--border);
    }

    .mobile-sticky-bar .btn {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 50px;
        border-radius: 4px;
        font-family: var(--font-head);
        font-weight: 700;
        font-size: 14px;
        letter-spacing: 1px;
        text-transform: uppercase;
        transition: opacity 0.2s, transform 0.2s;
    }

    .mobile-sticky-bar .btn:active {
        opacity: 0.85;
        transform: scale(0.97);
    }

    .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(--primary-dark) 100%);
        color: var(--bg);
    }

    body {
        padding-bottom: 80px;
    }
}
