/* ===============
   GOOGLE FONTS
   =============== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;800;900&family=Raleway:wght@400;500;600;700;800&display=swap');

/* ===============
   CSS VARIABLES
   =============== */
:root {
    --primary: #c9a227;
    --primary-light: #f0c84a;
    --primary-dark: #9a7a1a;
    --accent: #e8003d;
    --accent2: #ff6b35;
    --bg: #0a0a0a;
    --bg-2: #111111;
    --bg-3: #0f0f0f;
    --bg-card: rgba(255,255,255,0.03);
    --bg-card-solid: #161616;
    --text: #f0e6d0;
    --text-muted: #8a7a5a;
    --text-light: #c8b890;
    --border: rgba(201,162,39,0.15);
    --border-light: rgba(201,162,39,0.08);
    --glow: 0 0 24px rgba(201,162,39,0.3);
    --glow-red: 0 0 24px rgba(232,0,61,0.3);
    --radius: 4px;
    --radius-lg: 8px;
    --speed: 0.28s;
    --font-head: 'Playfair Display', serif;
    --font-body: 'Raleway', 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.65;
    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: 1200px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ===============
   HEADER
   =============== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(8,8,8,0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

/* Gold top accent line */
.header::before {
    content: '';
    display: block;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--primary-light), var(--primary), transparent);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
    gap: 20px;
}

.logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.logo img {
    height: 52px;
    max-height: 56px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
    display: block;
}

nav { 
    flex: 1; 
    display: flex; 
    justify-content: center; 
    min-width: 0;
}

.nav-list {
    display: flex;
    gap: 2px;
    align-items: center;
    flex-wrap: nowrap;
}

.nav-list a {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 8px 12px;
    border-radius: 2px;
    transition: color var(--speed), background var(--speed);
    position: relative;
    white-space: nowrap;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--speed);
}

.nav-list a:hover {
    color: var(--primary-light);
}

.nav-list a:hover::after {
    width: 60%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.btn-signup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #080808 !important;
    padding: 9px 24px;
    border-radius: 2px;
    font-family: var(--font-body);
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: background var(--speed), box-shadow var(--speed), transform var(--speed);
    white-space: nowrap;
    clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}

.btn-signup:hover {
    background: var(--primary-light);
    box-shadow: var(--glow);
    transform: translateY(-1px);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    color: var(--primary);
    font-size: 20px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 2px;
    transition: border-color var(--speed);
}

.mobile-menu-toggle:hover {
    border-color: var(--primary);
    background: rgba(201,162,39,0.08);
}

/* ===============
   AD BANNER
   =============== */
.ad-banner-container {
    margin-top: 72px;
    padding: 16px 28px;
}

.ad-banner-container img {
    max-width: 100%;
    border-radius: var(--radius);
    box-shadow: 0 4px 24px rgba(0,0,0,0.5);
}

/* ===============
   DIVIDER ORNAMENT
   =============== */
.divider-ornament {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 auto 8px;
    width: fit-content;
}

.divider-ornament::before,
.divider-ornament::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary));
}

.divider-ornament::after {
    background: linear-gradient(90deg, var(--primary), transparent);
}

.divider-ornament span {
    color: var(--primary);
    font-size: 1.1rem;
}

/* ===============
   FOOTER
   =============== */
.footer {
    background: #080808;
    border-top: 1px solid var(--border);
    padding: 72px 0 0;
    margin-top: 0;
    position: relative;
}

.footer::before {
    content: '';
    display: block;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--primary-light), var(--primary), transparent);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 52px;
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.footer-col p,
.footer-col a {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.8;
    font-weight: 500;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-col a:hover {
    color: var(--primary-light);
}

.footer-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.footer-badge {
    background: rgba(201,162,39,0.1);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 2px;
}

.footer-bottom {
    text-align: center;
    padding: 24px 28px;
    border-top: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
    background: rgba(0,0,0,0.3);
}

/* ===============
   RESPONSIVE
   =============== */
@media (max-width: 1024px) {
    .mobile-menu-toggle { display: block; }

    nav {
        display: block;
        position: absolute;
        top: 76px;
        left: 0;
        width: 100%;
        background: rgba(8,8,8,0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-bottom: 1px 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: 12px 28px 20px;
        align-items: flex-start;
    }

    .nav-list a {
        display: block;
        width: 100%;
        padding: 13px 0;
        border-bottom: 1px solid var(--border-light);
        border-radius: 0;
        font-size: 13px;
    }

    .nav-list a::after { display: none; }
    .nav-list li:last-child a { border-bottom: none; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    .logo img {
        height: 44px;
        max-height: 48px;
    }
    .header .container {
        height: 68px;
    }
    nav {
        top: 68px;
    }
    .container { padding: 0 16px; }
    .footer { padding: 52px 0 0; }
    .footer-grid { gap: 24px; }
    .ad-banner-container img { height: 50px !important; }
}

@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ===============
   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: 10px 16px;
        gap: 10px;
        background: rgba(8,8,8,0.97);
        backdrop-filter: blur(20px);
        -webkit-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: 48px;
        border-radius: 2px;
        font-family: var(--font-body);
        font-weight: 800;
        font-size: 13px;
        letter-spacing: 1.5px;
        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: transparent;
        color: var(--primary);
        border: 1px solid var(--primary);
    }

    .mobile-sticky-bar .btn-register {
        background: var(--primary);
        color: #080808;
    }

    body { padding-bottom: 72px; }
}

/* ===============
   BREADCRUMB
   =============== */
.breadcrumb {
    padding: 16px 0;
    font-size: 0.86rem;
    color: var(--text-muted);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-list li a {
    color: var(--text-light);
    transition: color var(--speed);
}

.breadcrumb-list li a:hover {
    color: var(--primary);
}

.breadcrumb-list .separator {
    color: var(--primary);
    font-size: 0.75rem;
    user-select: none;
}

.breadcrumb-list .current {
    color: var(--primary-light);
    font-weight: 600;
}
