@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

:root {
    /* Main Palette - Luxury Dark Theme (Midnight Emerald & Gold) */
    --bg-page: #061110;
    --bg-card: #0c1e1c;
    --bg-card-hover: #122926;
    --bg-header: rgba(6, 17, 16, 0.95);
    --bg-footer: #030a09;
    
    /* Branding Colors */
    --color-primary: #d4af7a; /* Radiant Warm Gold */
    --color-primary-hover: #edd1a6;
    --color-secondary: #1a635b; /* Rich Emerald Accent */
    --color-accent: #ebd2ab; /* Champagne Gold */
    --color-success: #00e676; /* Emerald Green Success */
    --color-warning: #ffb300;
    
    /* Text Colors */
    --color-white: #ffffff;
    --color-dark: #ffffff; /* Headings are bright white in dark mode */
    --color-muted: #9eb8b4; /* Soft readable jade-slate for body text */
    --color-text-dim: #6c8a85;
    
    /* Effects - Deep Luminous Shadows & Glass */
    --glass: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(212, 175, 122, 0.2);
    --border-light: rgba(212, 175, 122, 0.14);
    --shadow-sm: 0 4px 15px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.55);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.7);
    --glow-primary: 0 0 20px rgba(212, 175, 122, 0.25);
    
    /* Fonts */
    --font-heading: 'Playfair Display', 'DM Serif Display', serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-page);
    color: var(--color-muted);
    font-family: var(--font-body);
    margin: 0;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    line-height: 1.6;
}

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: 20px;
    display: block;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.banner-wrapper img:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), var(--glow-primary);
}

/* Header - Deep Emerald & Gold Details */
.main-header {
    background: var(--bg-header);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--color-primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.logo img {
    height: 38px;
    display: block;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.desktop-nav {
    display: none;
    background: transparent;
    padding: 10px 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: #091c1a;
        box-shadow: var(--shadow-lg);
        border-bottom: 2px solid var(--color-primary);
        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: 14px;
        font-weight: 700;
        color: var(--color-white);
        text-transform: uppercase;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 12px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(212, 175, 122, 0.15);
        transition: all 0.3s ease;
    }
    
    .desktop-nav.active a:active {
        background: var(--color-primary);
        color: #061110;
    }
}

body.no-scroll {
    overflow: hidden;
}

.menu-toggle {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    width: 36px;
    height: 34px;
    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: var(--glow-primary);
}

.menu-toggle svg {
    width: 20px;
    height: 20px;
    fill: var(--color-primary);
    transition: all 0.3s ease;
}

.menu-toggle.active svg {
    fill: #061110;
}

.header-auth {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-login {
    background: transparent;
    color: var(--color-white);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: rgba(212, 175, 122, 0.15);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.btn-register {
    background: linear-gradient(135deg, var(--color-primary) 0%, #ba9560 100%);
    color: #061110;
    padding: 7px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 800;
    box-shadow: 0 4px 15px rgba(212, 175, 122, 0.35);
    transition: all 0.3s ease;
}

.btn-register:hover {
    background: var(--color-white);
    color: #061110;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* Enhanced 4-Column Footer */
.main-footer {
    background-color: var(--bg-footer);
    border-top: 2px solid var(--color-primary);
    padding: 50px 20px 30px;
    margin-top: 50px;
    position: relative;
    overflow: hidden;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(212, 175, 122, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.footer-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 35px;
    padding-bottom: 40px;
}

.footer-brand .footer-logo {
    height: 42px;
    margin-bottom: 16px;
    display: block;
    filter: drop-shadow(0 2px 10px rgba(212, 175, 122, 0.2));
}

.footer-desc {
    color: var(--color-muted);
    font-size: 13px;
    line-height: 1.65;
    margin: 0 0 18px 0;
    max-width: 360px;
}

.footer-trust-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.trust-tag {
    font-size: 11px;
    font-weight: 700;
    color: #f7dfbe;
    background: rgba(212, 175, 122, 0.1);
    border: 1px solid rgba(212, 175, 122, 0.25);
    padding: 4px 10px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.trust-tag i {
    color: var(--color-primary);
}

.footer-col h4 {
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 18px;
    margin: 0 0 16px 0;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col a {
    color: var(--color-muted);
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.footer-col a i {
    font-size: 10px;
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.footer-col a:hover {
    color: var(--color-white);
    padding-left: 4px;
}

.footer-col a:hover i {
    transform: translateX(2px);
}

.contact-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--color-white);
    background: rgba(0, 230, 118, 0.08);
    border: 1px solid rgba(0, 230, 118, 0.25);
    padding: 6px 12px;
    border-radius: 8px;
    margin-bottom: 12px;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00e676;
    box-shadow: 0 0 8px #00e676;
    display: inline-block;
}

.contact-email {
    font-size: 13px;
    color: var(--color-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 16px 0;
}

.contact-email i {
    color: var(--color-primary);
    font-size: 13px;
}

.footer-payments-mini {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.pay-chip {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.pay-chip i {
    color: var(--color-primary);
    font-size: 10px;
}

.footer-bottom {
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}

.footer-copyright {
    color: var(--color-muted);
    font-size: 13px;
    letter-spacing: 0.5px;
}

.footer-copyright strong {
    color: var(--color-white);
}

.footer-security-badges {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

.badge-age {
    font-size: 11px;
    font-weight: 900;
    color: #ff5252;
    border: 1.5px solid #ff5252;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-item {
    font-size: 11px;
    font-weight: 700;
    color: var(--color-muted);
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.badge-item i {
    color: var(--color-primary);
    font-size: 11px;
}

/* Tablet / Desktop Sizing */
@media (min-width: 600px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (min-width: 768px) {
    .header-container {
        padding: 15px 20px;
    }

    .logo img {
        height: 48px;
    }

    .menu-toggle {
        display: none;
    }

    .desktop-nav {
        display: flex;
        align-items: center;
        padding: 0;
        background: transparent;
        border: none;
    }

    .desktop-nav ul {
        display: flex;
        justify-content: center;
        gap: 36px;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .desktop-nav a {
        font-size: 13px;
        font-weight: 700;
        color: rgba(255, 255, 255, 0.85);
        text-transform: uppercase;
        letter-spacing: 1.5px;
        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: var(--glow-primary);
    }

    .desktop-nav a:hover {
        color: var(--color-primary);
    }
    
    .desktop-nav a:hover::after {
        width: 100%;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

@media (min-width: 992px) {
    .main-footer {
        padding: 60px 20px 35px;
        margin-top: 60px;
    }

    .footer-grid {
        grid-template-columns: 2fr 1.2fr 1.2fr 1.6fr;
        gap: 40px;
    }
}