/* ═══════════════════════════════════════════════════════════
   COMMON.CSS — Full Luxury Dark Mode (Plus Jakarta Sans)
   Theme: Sleek Obsidian & Vibrant Neon Orange Casino
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600;1,700&display=swap');

:root {
    --primary: #ff6b00;
    --primary-hover: #ff8533;
    --primary-active: #ea580c;
    --primary-light: rgba(255, 107, 0, 0.12);
    --primary-dark: #c2410c;
    --primary-glow: rgba(255, 107, 0, 0.45);
    
    /* Full Dark Mode Foundations */
    --bg-main: #0a0e17;
    --bg-surface: #0f1523;
    --bg-card: #141b2d;
    --bg-card-hover: #1a233a;
    --bg-darker: #060910;
    
    --text-main: #f8fafc;
    --text-heading: #ffffff;
    --text-muted: #94a3b8;
    --text-light: #64748b;
    --text-white: #ffffff;
    
    --border: #1e293b;
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 107, 0, 0.4);
    
    --header-bg: rgba(10, 14, 23, 0.92);
    
    --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 35px -5px rgba(0, 0, 0, 0.5), 0 10px 15px -5px rgba(0, 0, 0, 0.4);
    --shadow-orange: 0 10px 30px -3px rgba(255, 107, 0, 0.45);
    --shadow-orange-sm: 0 4px 16px rgba(255, 107, 0, 0.3);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-full: 9999px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-main);
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-heading);
}

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: 90%;
    max-width: 1240px;
    margin: 0 auto;
}

/* ── Custom Dark Scrollbar ── */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0e17;
}

::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ── Header (Deep Dark Frosted Glass) ── */
body > header {
    background-color: rgba(10, 14, 23, 0.88);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

body > header.scrolled {
    padding: 0.75rem 0;
    background-color: var(--header-bg);
    border-bottom-color: rgba(255, 107, 0, 0.25);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
}

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

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo a {
    display: inline-flex;
    align-items: center;
}

.logo img {
    height: 40px;
    width: auto;
    max-height: 48px;
    max-width: 220px;
    object-fit: contain;
    display: block;
    transition: var(--transition);
}

.logo:hover img {
    opacity: 0.9;
    transform: scale(1.02);
}

.nav-list ul {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-list a {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    color: #cbd5e1;
    letter-spacing: 0.3px;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    border-radius: 2px;
    box-shadow: 0 0 8px var(--primary);
}

.nav-list a:hover,
.nav-list a.active {
    color: #ffffff;
}

.nav-list a:hover::after,
.nav-list a.active::after {
    width: 100%;
}

.header-auth {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.header-auth .btn-signup {
    font-family: 'Plus Jakarta Sans', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #ff7a1a 0%, #ff5500 100%);
    color: #ffffff;
    padding: 0.65rem 1.4rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.3px;
    transition: var(--transition);
    box-shadow: var(--shadow-orange-sm);
    border: none;
    cursor: pointer;
}

.header-auth .btn-signup svg {
    width: 14px;
    height: 14px;
    transition: transform 0.25s ease;
}

.header-auth .btn-signup:hover {
    background: linear-gradient(135deg, #ff8533 0%, #ea580c 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-orange);
}

.header-auth .btn-signup:hover svg {
    transform: translateX(3px);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 1001;
    padding: 6px;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: #ffffff;
    transition: var(--transition);
    border-radius: 3px;
}

@media (max-width: 992px) {
    .header-auth {
        margin-left: auto;
        margin-right: 0.8rem;
    }

    .header-auth .btn-signup {
        padding: 0.55rem 1.1rem;
        font-size: 0.8rem;
    }

    .nav-list {
        display: none;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: #0a0e17;
        padding: 6rem 2rem 3rem;
        z-index: 999;
        opacity: 0;
        transition: opacity 0.3s ease;
        overflow-y: auto;
        border-left: 1px solid var(--border);
    }

    .nav-list.active {
        display: block;
        opacity: 1;
    }

    .nav-list ul {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .nav-list a {
        font-size: 1.15rem;
        display: block;
        text-align: center;
        color: #f1f5f9;
        font-weight: 700;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
        background: var(--primary);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
        background: var(--primary);
    }
}

/* ── Section Title & Badge Utilities ── */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.6rem;
}

.section-tag::before,
.section-tag::after {
    content: '';
    display: inline-block;
    width: 16px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
}

.section-title {
    font-size: clamp(1.8rem, 3.8vw, 2.5rem);
    font-weight: 800;
    text-align: center;
    color: #ffffff;
    letter-spacing: -0.5px;
    line-height: 1.25;
}

.section-title span {
    color: var(--primary);
}

.section-desc {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 0.8rem;
    line-height: 1.65;
}

/* ── Ad Wrappers ── */
.ad-wrapper {
    margin: 3rem auto;
}

.ad-container {
    max-width: 1100px;
    margin: 0 auto;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-card);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.ad-container:hover {
    border-color: var(--border-hover);
    box-shadow: var(--shadow-md);
}

/* ── Footer (Deep Dark Luxury Charcoal Theme) ── */
footer {
    background: #060910;
    padding: 5rem 5% 2.5rem;
    border-top: 1px solid #1e293b;
    color: #94a3b8;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 25%;
    width: 500px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.08), transparent 70%);
    pointer-events: none;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1.2fr;
    gap: 4rem;
    margin-bottom: 3.5rem;
    position: relative;
    z-index: 1;
}

.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.2rem;
}

.footer-brand .footer-logo img {
    height: 38px;
    max-width: 180px;
    object-fit: contain;
}

.footer-brand p {
    color: #94a3b8;
    max-width: 360px;
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1rem;
}

.footer-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #111726;
    border: 1px solid #1e293b;
    color: #cbd5e1;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-full);
}

.footer-badge-pill span {
    color: var(--primary);
}

.footer-nav h4,
.footer-contact h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #ffffff;
    margin-bottom: 1.3rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    position: relative;
    padding-bottom: 0.5rem;
}

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

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-nav a {
    color: #94a3b8;
    font-size: 0.92rem;
    font-weight: 500;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-nav a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.footer-contact p {
    color: #94a3b8;
    font-size: 0.92rem;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.footer-contact p strong {
    color: #e2e8f0;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.8rem;
}

.footer-contact-item svg {
    color: var(--primary);
    width: 18px;
    height: 18px;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid #151d2c;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 1rem;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    color: #94a3b8;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #94a3b8;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary);
}

@media (max-width: 900px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

/* ── Mobile Fixed Sticky Bar ── */
.mobile-fixed-btn {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(10, 14, 23, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid #1e293b;
    z-index: 1000;
    gap: 0.75rem;
    align-items: center;
    justify-content: center;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.mobile-btn {
    flex: 1;
    max-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-align: center;
    padding: 0.75rem 1rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: var(--radius-full);
    letter-spacing: 0.3px;
    transition: var(--transition);
}

.mobile-btn--outline {
    background: #141b2d;
    color: #f1f5f9;
    border: 1px solid #28354d;
}

.mobile-btn--outline:active,
.mobile-btn--outline:hover {
    background: #1a233a;
    border-color: #3b4d6e;
}

.mobile-btn--solid {
    background: linear-gradient(135deg, #ff7a1a 0%, #ff5500 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.35);
}

.mobile-btn--solid:active,
.mobile-btn--solid:hover {
    background: linear-gradient(135deg, #ff8533 0%, #ea580c 100%);
    transform: scale(0.98);
}

@media (max-width: 992px) {
    .mobile-fixed-btn {
        display: flex;
    }

    body {
        padding-bottom: 70px;
    }
}
