/* =========================================================
   NEW DESIGN SYSTEM: EDITORIAL / LUXURY AGENCY CASINO
   Inspired by Reference Layout (Peterson Aesthetic)
   ========================================================= */

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

:root {
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-script: 'Great Vibes', cursive;
    --font-serif: 'Playfair Display', serif;

    /* Theme Palette - Premium Midnight Dark Mode */
    --bg-body: #090e17;
    --bg-dark-hero: #090e17;
    --bg-dark-card: #111a2e;
    --bg-dark-border: rgba(255, 255, 255, 0.08);

    --bg-services: #101a2c;
    --bg-services-card: rgba(255, 255, 255, 0.04);
    --bg-services-border: rgba(255, 255, 255, 0.08);

    /* Dark Mode Surfaces */
    --bg-light: #0d1424;
    --bg-light-alt: #0a0f1d;
    --bg-white: #121c32;
    --border-light: rgba(255, 255, 255, 0.08);

    --bg-footer: #070a12;
    --bg-footer-card: #0e1526;

    /* Brand Accents */
    --primary: #3b82f6;
    --primary-hover: #60a5fa;
    --primary-glow: rgba(59, 130, 246, 0.4);

    --cyan: #06b6d4;
    --cyan-glow: rgba(6, 182, 212, 0.35);

    --gold: #f59e0b;
    --gold-hover: #fbbf24;
    --gold-light: rgba(245, 158, 11, 0.15);
    --gold-glow: rgba(245, 158, 11, 0.35);

    /* Text Tones - High Legibility Dark Mode */
    --text-dark: #f8fafc;
    --text-muted-dark: #94a3b8;
    --text-light: #f8fafc;
    --text-muted-light: #94a3b8;

    /* Geometry & Transitions */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-pill: 9999px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.45);
    --shadow-dark: 0 20px 50px rgba(0, 0, 0, 0.6);
}

/* Custom Dark Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #090e17;
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #334155;
}

::selection {
    background: rgba(6, 182, 212, 0.3);
    color: #ffffff;
}

/* =========================================================
   GLOBAL RESET & BASE
   ========================================================= */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-body);
    color: var(--text-muted-light);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* =========================================================
   CONTAINER & LAYOUT HELPERS
   ========================================================= */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 980px;
}

.section-head-center {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 52px;
}

.section-head-center .section-badge {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--cyan);
    margin-bottom: 10px;
}

.section-head-center h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
    color: #ffffff;
}

.section-head-center p {
    font-size: 1.05rem;
    color: var(--text-muted-light);
    line-height: 1.7;
}

/* On dark sections */
.dark-section .section-head-center .section-badge {
    color: var(--cyan);
}

.dark-section .section-head-center h2 {
    color: var(--text-light);
}

.dark-section .section-head-center p {
    color: var(--text-muted-light);
}

/* =========================================================
   HEADER NAVIGATION (Clean Editorial Bar)
   ========================================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(12, 18, 30, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1000;
    transition: all var(--transition);
}

.header.scrolled {
    height: 70px;
    background: rgba(10, 14, 23, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* Signature Script Logo (Inspired by reference 'Peterson') */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-signature {
    font-family: var(--font-script);
    font-size: 2.2rem;
    color: #ffffff;
    line-height: 1;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.2);
    transition: color var(--transition);
}

.logo-signature:hover {
    color: var(--gold);
}

.logo-tag {
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--cyan);
    background: rgba(6, 182, 212, 0.12);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(6, 182, 212, 0.25);
}

.logo img {
    height: 38px;
    max-height: 38px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: transform var(--transition), opacity var(--transition);
}

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

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 8px 0;
    position: relative;
    transition: color var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--cyan));
    transition: all var(--transition);
    transform: translateX(-50%);
}

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

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

/* Header Auth Buttons */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-header-login {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #e2e8f0;
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition);
}

.btn-header-login:hover {
    color: #ffffff;
    border-color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
}

.btn-header-signup {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--primary) 0%, #1d4ed8 100%);
    padding: 9px 22px;
    border-radius: var(--radius-pill);
    box-shadow: 0 4px 14px var(--primary-glow);
    transition: all var(--transition);
}

.btn-header-signup:hover {
    background: linear-gradient(135deg, #3b82f6 0%, var(--primary) 100%);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
    color: #ffffff;
    font-size: 1.5rem;
    padding: 6px;
}

/* =========================================================
   FULL-WIDTH SLIM CTA BANNERS (Inspired by Reference)
   ========================================================= */
.cta-banner-strip {
    background: linear-gradient(90deg, #0e1e38 0%, #1b355e 50%, #0e1e38 100%);
    border-top: 1px solid rgba(6, 182, 212, 0.2);
    border-bottom: 1px solid rgba(6, 182, 212, 0.2);
    padding: 22px 0;
    position: relative;
    overflow: hidden;
}

.cta-banner-strip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.cta-banner-strip .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cta-banner-text {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.cta-banner-text span {
    color: var(--cyan);
}

.btn-banner-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: #ffffff;
    background: transparent;
    padding: 10px 26px;
    border-radius: var(--radius-pill);
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    transition: all var(--transition);
}

.btn-banner-pill:hover {
    background: #ffffff;
    color: #0c121e;
    border-color: #ffffff;
    box-shadow: 0 4px 18px rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

/* =========================================================
   AD BANNER CONTAINERS
   ========================================================= */
.ad-banner-container {
    margin: 20px auto;
    text-align: center;
    max-width: 1200px;
    padding: 0 24px;
}

.ad-banner-container img {
    width: 100%;
    max-height: 80px;
    /* object-fit: cover; */
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform var(--transition);
}

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

/* =========================================================
   DARK MULTI-COLUMN FOOTER (Inspired by Reference)
   ========================================================= */
.footer {
    background: var(--bg-footer);
    color: var(--text-muted-light);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1.1fr 1.1fr;
    gap: 56px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ffffff;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 32px;
    height: 2px;
    background: var(--cyan);
}

.footer-about p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #94a3b8;
    margin-bottom: 18px;
}

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

.footer-badge-pill {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
    color: #cbd5e1;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col ul li a {
    font-size: 0.88rem;
    color: #94a3b8;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition);
}

.footer-col ul li a::before {
    content: '—';
    font-size: 0.8rem;
    color: var(--primary);
    opacity: 0.7;
    transition: transform var(--transition);
}

.footer-col ul li a:hover {
    color: #ffffff;
    padding-left: 5px;
}

.footer-col ul li a:hover::before {
    color: var(--cyan);
    transform: translateX(3px);
}

/* Footer Quick Contact Form (Like reference "Let's Get In Touch") */
.footer-contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-form-row {
    display: flex;
    gap: 10px;
}

.footer-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 0.85rem;
    outline: none;
    transition: all var(--transition);
}

.footer-input:focus {
    border-color: var(--cyan);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 10px var(--cyan-glow);
}

.footer-input::placeholder {
    color: #64748b;
}

textarea.footer-input {
    resize: none;
    height: 70px;
}

.footer-btn-submit {
    background: linear-gradient(135deg, var(--primary) 0%, var(--cyan) 100%);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 11px 20px;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 16px var(--primary-glow);
    transition: all var(--transition);
}

.footer-btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(6, 182, 212, 0.4);
}

/* Footer Bottom Strip */
.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 0.82rem;
    color: #64748b;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

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

.footer-bottom-links a:hover {
    color: #ffffff;
}

/* =========================================================
   MOBILE FIXED BOTTOM CTA BAR
   ========================================================= */
.mobile-cta-bar {
    display: none;
}

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

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 14, 23, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        padding: 24px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        gap: 16px;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        font-size: 1.4rem;
        color: #ffffff;
        border-radius: var(--radius-sm);
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 36px;
    }

    .mobile-cta-bar {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 999;
        background: rgba(10, 14, 23, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        padding: 10px 16px;
        padding-bottom: max(10px, env(safe-area-inset-bottom, 10px));
        gap: 12px;
    }

    body {
        padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    }

    .mobile-cta-login {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 46px;
        border-radius: var(--radius-pill);
        border: 1.5px solid rgba(255, 255, 255, 0.4);
        background: transparent;
        color: #ffffff !important;
        font-family: var(--font-heading);
        font-weight: 700;
        font-size: 0.85rem;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    .mobile-cta-register {
        flex: 1.2;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 46px;
        border-radius: var(--radius-pill);
        background: linear-gradient(90deg, var(--primary) 0%, var(--cyan) 100%);
        color: #ffffff !important;
        font-family: var(--font-heading);
        font-weight: 700;
        font-size: 0.85rem;
        letter-spacing: 1px;
        text-transform: uppercase;
        box-shadow: 0 4px 16px var(--primary-glow);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 18px;
    }

    .ad-banner-container {
        margin-top: 78px !important;
        padding: 0 18px;
    }

    .ad-banner-container img {
        max-height: 60px;
    }

    .footer {
        padding: 50px 0 24px;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }

    .header-actions {
        gap: 8px;
    }

    .btn-header-login {
        display: none;
    }

    .btn-header-signup {
        padding: 7px 14px;
        font-size: 0.78rem;
    }

    .logo-signature {
        font-size: 1.65rem;
    }

    .logo img {
        height: 32px;
        max-height: 32px;
    }

    .logo-tag {
        font-size: 0.6rem;
        padding: 2px 6px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

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

    .footer-bottom-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
    }
}
