/* ============================================
   COMMON.CSS — Neon Vegas Nightlife Theme
   Font: Montserrat + Open Sans
   Palette: Deep Purple, Neon Pink, Electric Blue, Bright Yellow
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&family=Open+Sans:wght@400;500;600&display=swap');

:root {
    --deep-purple:    #1a0a2e;
    --purple-dark:    #12061f;
    --purple-light:   #2d1b4e;
    --neon-pink:      #ff0080;
    --neon-cyan:      #00fff2;
    --neon-yellow:    #ffd700;
    --neon-green:     #00ff88;
    --electric-blue:  #7b2ff7;
    --text-light:     #ffffff;
    --text-gray:      #b8a9d9;
    --bg-primary:     #0d0215;
    --bg-secondary:   #16082a;
    --bg-card:        #1e1136;
    --border-neon:    rgba(255, 0, 128, 0.3);
    --transition:     all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm:      6px;
    --radius-md:      12px;
    --radius-lg:      20px;
    --radius-xl:      30px;
    --shadow-neon:    0 0 20px rgba(255, 0, 128, 0.3);
    --shadow-cyan:    0 0 20px rgba(0, 255, 242, 0.3);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ── Ambient Background ── */
.ambient-background {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: var(--bg-primary);
    overflow: hidden;
}

.ambient-background::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 50% at 80% 20%, rgba(123, 47, 247, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 40% 40% at 20% 80%, rgba(255, 0, 128, 0.1) 0%, transparent 40%),
        radial-gradient(ellipse 30% 30% at 50% 50%, rgba(0, 255, 242, 0.05) 0%, transparent 40%);
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
}

.orb-1 {
    width: 50vw; height: 50vw;
    background: rgba(255, 0, 128, 0.08);
    top: -20%; right: -15%;
    animation: orb-drift 15s infinite alternate ease-in-out;
}

.orb-2 {
    width: 40vw; height: 40vw;
    background: rgba(0, 255, 242, 0.06);
    bottom: -15%; left: -10%;
    animation: orb-drift 20s infinite alternate-reverse ease-in-out;
}

.orb-3 {
    width: 60vw; height: 20vh;
    background: rgba(123, 47, 247, 0.04);
    bottom: 0; left: 20%;
    filter: blur(120px);
}

@keyframes orb-drift {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(30px, 40px) scale(1.1); }
}

html.no-scroll, body.no-scroll { overflow: hidden; }

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

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

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--neon-pink); border-radius: 4px; }

/* ── Header ── */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(180deg, rgba(13, 2, 21, 0.98) 0%, rgba(13, 2, 21, 0.9) 100%);
    border-bottom: 1px solid var(--border-neon);
    z-index: 1005;
    height: 80px;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

header.scrolled {
    height: 65px;
    background: rgba(13, 2, 21, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    transition: var(--transition);
}

.logo img {
    height: 45px;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(255, 0, 128, 0.5));
}

header.scrolled .logo img { height: 38px; }
.logo img:hover {
    filter: drop-shadow(0 0 20px rgba(255, 0, 128, 0.8));
    transform: scale(1.05);
}

.nav-list ul { display: flex; gap: 2.5rem; }

.nav-list a {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-gray);
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 4px;
    text-transform: uppercase;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: linear-gradient(90deg, var(--neon-pink), var(--neon-cyan));
    transition: var(--transition);
}

.nav-list a:hover { color: var(--neon-cyan); }
.nav-list a:hover::after { width: 100%; }

.header-auth .btn-signup {
    background: linear-gradient(135deg, var(--neon-pink), #d4006a);
    color: white;
    padding: 0.7rem 1.8rem;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-neon);
    border: none;
    transition: var(--transition);
    text-transform: uppercase;
}

.header-auth .btn-signup:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(255, 0, 128, 0.6);
    filter: brightness(1.1);
}

/* ── Mobile Toggle ── */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    z-index: 2001;
}

.mobile-menu-toggle span {
    display: block;
    width: 26px; height: 2px;
    background: var(--neon-cyan);
    transition: var(--transition);
    border-radius: 2px;
}

@media (max-width: 1024px) {
    .nav-list {
        position: fixed;
        top: 0; right: -100%;
        width: 300px; height: 100vh;
        background: var(--bg-secondary);
        padding: 7rem 2rem;
        z-index: 2000;
        box-shadow: -10px 0 50px rgba(0,0,0,0.8);
        transition: right 0.4s ease;
        visibility: hidden;
        display: flex;
        flex-direction: column;
        border-left: 1px solid var(--border-neon);
    }

    .nav-list.active { right: 0; visibility: visible; }
    .nav-list ul { flex-direction: column; gap: 2rem; }

    .mobile-menu-overlay {
        display: none;
        position: fixed; inset: 0;
        background: rgba(0,0,0,0.8);
        z-index: 998;
    }

    .mobile-menu-overlay.active { display: block; }
    .mobile-menu-toggle { display: flex; }

    .mobile-menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ── Footer ── */
footer {
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    padding: 5rem 4% 2.5rem;
    margin-top: 5rem;
    border-top: 1px solid var(--border-neon);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-pink), var(--neon-cyan), var(--neon-yellow), transparent);
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-nav h4, .footer-contact h4 {
    color: var(--neon-cyan);
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
}

.footer-nav ul { display: flex; flex-direction: column; gap: 0.8rem; }
.footer-nav a { color: var(--text-gray); font-size: 0.9rem; }
.footer-nav a:hover { color: var(--neon-pink); padding-left: 8px; }

.footer-bottom {
    border-top: 1px solid rgba(255, 0, 128, 0.15);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-gray);
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links ul { display: flex; gap: 1.5rem; list-style: none; padding: 0; margin: 0; }
.footer-links li { margin: 0; padding: 0; }
.footer-links a { color: var(--neon-cyan); font-size: 0.85rem; }
.footer-links a:hover { color: var(--neon-pink); }

/* ── Ad Container ── */
.ad-container {
    max-width: 1200px;
    margin: 80px auto 1rem auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 2px solid var(--neon-pink);
    box-shadow: 0 0 30px rgba(255, 0, 128, 0.4), 0 0 60px rgba(255, 215, 0, 0.2);
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
}

.ad-container img {
    width: 100%;
    height: auto;
    min-height: 10px;
    display: block;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.ad-container img:hover {
    transform: scale(1.02);
}

/* ── Section Title ── */
.section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-light);
    letter-spacing: -1px;
    text-transform: uppercase;
}

.section-prefix {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--neon-pink);
    margin-bottom: 0.8rem;
    display: block;
}

/* ── Buttons ── */
.btn-primary {
    background: linear-gradient(135deg, var(--neon-cyan), #00c4b4);
    color: var(--deep-purple);
    padding: 14px 35px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: var(--shadow-cyan);
    letter-spacing: 0.5px;
    border: none;
    text-transform: uppercase;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(0, 255, 242, 0.6);
    filter: brightness(1.1);
}

.btn-secondary {
    background: transparent;
    color: var(--neon-pink);
    padding: 14px 35px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid var(--neon-pink);
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--neon-pink);
    color: white;
    box-shadow: var(--shadow-neon);
    transform: translateY(-3px);
}

/* ── Utility Classes ── */
.text-muted-light { color: var(--text-gray); font-size: 0.9rem; font-weight: 500; }
.text-white  { color: #fff; }
.text-gold   { color: var(--neon-yellow); }
.text-cyan   { color: var(--neon-cyan); }
.text-pink   { color: var(--neon-pink); }
.text-center { text-align: center; }
.text-start  { text-align: left; }
.fw-bold     { font-weight: 700; }
.fs-4        { font-size: 1.5rem; }
.d-flex      { display: flex; }
.d-none      { display: none; }
.flex-column { flex-direction: column; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; } .gap-3 { gap: 1rem; } .gap-4 { gap: 1.5rem; } .gap-5 { gap: 3rem; }
.me-2 { margin-right: 0.5rem; } .ms-2 { margin-left: 0.5rem; }
.m-0 { margin: 0 !important; }
.mt-3 { margin-top: 1rem; } .mt-4 { margin-top: 1.5rem; } .mt-5 { margin-top: 3rem; }
.mb-3 { margin-bottom: 1rem; } .mb-4 { margin-bottom: 1.5rem; } .mb-5 { margin-bottom: 3rem; }
.pb-5 { padding-bottom: 3rem; }
.p-3 { padding: 1rem; }
.border-top-dark { border-top: 1px solid rgba(255, 0, 128, 0.15); }

@media (min-width: 992px) { .d-lg-flex { display: flex; } }

/* ── Mobile Bottom Bar ── */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0; left: 0;
    width: 100%;
    background: linear-gradient(180deg, rgba(13, 2, 21, 0.98) 0%, rgba(13, 2, 21, 1) 100%);
    border-top: 1px solid var(--border-neon);
    padding: 12px 16px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    z-index: 1005;
    gap: 12px;
    justify-content: space-between;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.6);
}

.mobile-bottom-bar a {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mobile-bottom-bar .btn-login {
    background: transparent;
    color: var(--neon-cyan);
    border: 2px solid var(--neon-cyan);
}

.mobile-bottom-bar .btn-register {
    background: linear-gradient(135deg, var(--neon-pink), #d4006a);
    color: white;
    border: none;
}

@media (max-width: 1024px) {
    header { height: 70px; }
}

@media (max-width: 768px) {
    .mobile-bottom-bar { display: flex; }
    body { padding-bottom: max(75px, calc(60px + env(safe-area-inset-bottom, 0px))); }

    .section-title { font-size: 1.6rem; letter-spacing: -0.5px; margin-bottom: 2rem; }

    footer { padding: 3.5rem 5% 2rem; margin-top: 3rem; }

    .footer-top { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .footer-brand { display: flex; flex-direction: column; align-items: center; }
    .footer-brand .footer-desc { text-align: center; 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; gap: 1.2rem; }
    .footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
    .footer-links a { margin-left: 0; min-height: 44px; display: inline-flex; align-items: center; }

    .header-container { padding: 0 1.25rem; gap: 0.8rem; }
    .logo { flex-grow: 1; }
    .logo img { height: 38px; }
    .logo a { min-height: 44px; min-width: 44px; display: inline-flex; align-items: center; }
    .header-auth .btn-signup { padding: 0.7rem 1rem; font-size: 0.75rem; min-height: 44px; }

    /* .ad-container { margin: 1.5rem auto; } */
    .container { padding: 0 1.5rem; }
}

@media (max-width: 480px) {
    body { padding-bottom: 70px; }
    .logo img { height: 32px; }
    .header-container { padding: 0 1rem; gap: 0.5rem; }
    .mobile-menu-toggle { width: 44px; height: 44px; }
    .mobile-bottom-bar { padding: 12px 14px; gap: 10px; }
    .mobile-bottom-bar a { padding: 12px 0; font-size: 0.8rem; min-height: 48px; }
    .container { padding: 0 1.25rem; }
    .section-title { font-size: 1.4rem; }
    footer { padding: 3rem 5% 1.75rem; }
    .header-auth .btn-signup { padding: 0.6rem 0.8rem; font-size: 0.7rem; white-space: nowrap; }
}

@media (max-width: 400px) {
    body { padding-bottom: 65px; }
    .logo img { height: 28px; }
    .mobile-bottom-bar { padding: 10px 12px; gap: 10px; }
    .mobile-bottom-bar a { padding: 10px 0; font-size: 0.78rem; min-height: 46px; }
    .container { padding: 0 1rem; }
    .section-prefix { font-size: 0.65rem; letter-spacing: 2px; }
    .section-title { font-size: 1.3rem; }
    .header-auth .btn-signup { padding: 0.5rem 0.6rem; font-size: 0.65rem; }
}