/* ============================================
   COMMON.CSS — Luxury Dark Gold Theme
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Playfair+Display:wght@700;800&display=swap');

:root {
    --gold:        #c9a84c;
    --gold-light:  #e8c97a;
    --gold-dim:    rgba(201,168,76,0.15);
    --gold-border: rgba(201,168,76,0.25);
    --crimson:     #e05252;
    --bg-base:     #0d0d0d;
    --bg-surface:  #141414;
    --bg-raised:   #1a1a1a;
    --bg-overlay:  rgba(13,13,13,0.88);
    --text-primary:#f0ece4;
    --text-muted:  #8a8070;
    --text-dim:    #5a5248;
    --border:      rgba(255,255,255,0.07);
    --radius-sm:   8px;
    --radius-md:   14px;
    --radius-lg:   22px;
    --radius-xl:   32px;
    --ease:        cubic-bezier(0.4,0,0.2,1);
    --transition:  all 0.35s var(--ease);
    --shadow-card: 0 8px 32px rgba(0,0,0,0.5);
    --shadow-glow: 0 0 30px rgba(201,168,76,0.2);
}

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.65;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }
a { text-decoration:none; color:inherit; transition: var(--transition); }
ul { list-style:none; }
img { max-width:100%; height:auto; display:block; }

.container {
    width: 92%;
    max-width: 1360px;
    margin: 0 auto;
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 10px; }

/* ── HEADER ── */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-overlay);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gold-border);
    transition: var(--transition);
}

header.scrolled {
    background: rgba(10,10,10,0.97);
    box-shadow: 0 4px 24px rgba(0,0,0,0.6);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.9rem 5%;
    max-width: 1360px;
    margin: 0 auto;
    gap: 1.5rem;
}

.logo img {
    height: 42px;
    filter: drop-shadow(0 0 10px rgba(201,168,76,0.4));
}

.nav-list ul {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-list a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.4px;
    position: relative;
    padding-bottom: 3px;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--gold);
    transition: width 0.3s var(--ease);
}

.nav-list a:hover { color: var(--gold-light); }
.nav-list a:hover::after { width: 100%; }

.header-auth .btn-signup {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: linear-gradient(135deg, var(--gold), #a8722a);
    color: #0d0d0d;
    padding: 0.6rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 16px rgba(201,168,76,0.3);
    white-space: nowrap;
}

.header-auth .btn-signup:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201,168,76,0.45);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ── MOBILE NAV ── */
@media (max-width: 992px) {
    .nav-list {
        display: none;
        position: fixed;
        top: 0; right: 0;
        width: 280px;
        height: 100vh;
        background: #111;
        padding: 5rem 2rem 2rem;
        z-index: 999;
        border-left: 1px solid var(--gold-border);
        box-shadow: -10px 0 40px rgba(0,0,0,0.7);
    }
    .nav-list.active { display: block; }
    .nav-list ul { flex-direction: column; gap: 1.8rem; }
    .mobile-menu-toggle { display: flex; z-index: 1001; }
    .mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
    .mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
}

/* ── FOOTER ── */
footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--gold-border);
    padding: 5rem 5% 2.5rem;
    margin-top: 6rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.4fr repeat(2, 1fr);
    gap: 4rem;
    margin-bottom: 3.5rem;
}

.footer-brand .footer-logo { height: 40px; margin-bottom: 1.2rem; }
.footer-desc { color: var(--text-muted); font-size: 0.9rem; line-height: 1.8; max-width: 300px; }

.footer-nav h4,
.footer-contact h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--gold-light);
    margin-bottom: 1.2rem;
    letter-spacing: 0.5px;
}

.footer-nav ul { display: flex; flex-direction: column; gap: 0.7rem; }
.footer-nav a { color: var(--text-muted); font-size: 0.9rem; }
.footer-nav a:hover { color: var(--gold); padding-left: 4px; }

.footer-contact .contact-list { display: flex; flex-direction: column; gap: 0.8rem; }
.footer-contact .contact-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dim);
    font-size: 0.82rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links a {
    color: var(--gold);
    margin-left: 1.5rem;
    font-size: 0.82rem;
}
.footer-links a:hover { color: var(--gold-light); }

/* ── AD CONTAINER ── */
.ad-container {
    max-width: 1200px;
    margin: 2.5rem auto;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--gold-border);
    box-shadow: var(--shadow-glow);
}

/* ── SECTION TITLE ── */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 3.5rem;
    color: var(--text-primary);
}

.section-title .accent {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ── MOBILE BOTTOM BAR ── */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0; left: 0;
    width: 100%;
    background: rgba(13,13,13,0.97);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--gold-border);
    padding: 10px 16px;
    z-index: 1005;
    gap: 12px;
    justify-content: space-between;
}

.mobile-bottom-bar a {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.3px;
}

.mobile-bottom-bar .btn-login {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold-border);
}

.mobile-bottom-bar .btn-register {
    background: linear-gradient(135deg, var(--gold), #a8722a);
    color: #0d0d0d;
    border: 1px solid transparent;
}

@media (max-width: 768px) {
    .mobile-bottom-bar { display: flex; }
    body { padding-bottom: 64px; }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    .footer-brand { display: flex; flex-direction: column; align-items: center; }
    .footer-desc { margin: 0 auto; }
    .footer-nav ul, .footer-contact .contact-list { align-items: center; }
    .footer-contact .contact-list li { justify-content: center; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.8rem; }
    .footer-links a { margin-left: 0; }

    .header-container { padding: 0.8rem 5%; }
    .header-auth .btn-signup { padding: 0.5rem 1rem; font-size: 0.8rem; }
    .header-auth .arrow { display: none; }
}
