/* ============================================
   COMMON.CSS — Luxury Royal Gold & Midnight Onyx Casino Theme
   Authentic High-Roller Casino Design System
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Royal Gold Casino Brand Accents */
    --primary:          #FFB800;
    --primary-hover:    #E5A500;
    --primary-light:    #FFF8E7;
    --primary-dim:      rgba(255, 184, 0, 0.14);
    --primary-border:   rgba(255, 184, 0, 0.35);
    --primary-gradient: linear-gradient(135deg, #FFD000 0%, #FF9500 100%);
    --gold-metallic:    linear-gradient(135deg, #FFE066 0%, #F59E0B 50%, #D97706 100%);
    --amber-gold:       #FFD700;
    --amber-gradient:   linear-gradient(135deg, #FFD700 0%, #FB8500 100%);
    
    /* Casino Luck Accents */
    --crimson-accent:   #E11D48;
    --emerald-accent:   #10B981;
    
    /* Luxury Dark Surfaces (Full Casino Night Mode) */
    --dark-bg:          #080B11;
    --dark-surface:     #0F1420;
    --dark-elevated:    #161E30;
    --dark-border:      rgba(255, 215, 0, 0.14);
    --dark-border-hover:rgba(255, 184, 0, 0.45);
    
    --text-white:       #FFFFFF;
    --text-light:       #F1F5F9;
    --text-light-muted: #94A3B8;
    --text-light-dim:   #64748B;
    
    /* Consistent Dark Mode Surfaces for All Sections */
    --light-bg:         #0A0D16;
    --light-surface:    #111724;
    --light-elevated:   #182133;
    --light-border:     rgba(255, 255, 255, 0.08);
    --text-dark:        #FFFFFF;
    --text-dark-muted:  #94A3B8;
    --text-dark-dim:    #64748B;

    /* Geometry & Effects */
    --radius-sm:        6px;
    --radius-md:        12px;
    --radius-lg:        20px;
    --radius-xl:        30px;
    --radius-full:      9999px;
    
    --shadow-sm:        0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-md:        0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-lg:        0 20px 45px rgba(0, 0, 0, 0.6);
    --shadow-orange:    0 10px 25px rgba(255, 184, 0, 0.35);
    --shadow-orange-lg: 0 16px 36px rgba(255, 184, 0, 0.5);
    
    --ease:             cubic-bezier(0.16, 1, 0.3, 1);
    --transition:       all 0.3s var(--ease);
    --header-height:    80px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
    font-size: 16px;
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.65;
    overflow-x: hidden;
    max-width: 100vw;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    padding-top: var(--header-height);
}

body.no-scroll {
    overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.25;
    color: var(--text-white);
    overflow-wrap: break-word;
    word-break: break-word;
}

p, a, span {
    overflow-wrap: break-word;
}

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: 1280px;
    margin: 0 auto;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #06080D;
}
::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-hover);
}

/* ============================================
   HEADER & NAVBAR
   ============================================ */
body > header,
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(8, 11, 17, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 184, 0, 0.15);
    transition: var(--transition);
}

body > header.scrolled,
.site-header.scrolled {
    background: rgba(8, 11, 17, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    border-bottom-color: rgba(255, 184, 0, 0.3);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    gap: 2rem;
}

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

.logo a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--text-white);
    letter-spacing: -0.5px;
}

.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

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

.nav-list a {
    font-family: 'Outfit', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-light-muted);
    letter-spacing: 0.4px;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 0;
}

.nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2.5px;
    background: var(--primary-gradient);
    border-radius: var(--radius-full);
    transition: width 0.3s var(--ease);
}

.nav-list a:hover {
    color: var(--primary);
}

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

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

.btn-header-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-gradient);
    color: #080B11;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 0.75rem 1.6rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 15px rgba(255, 184, 0, 0.35);
    transition: var(--transition);
    white-space: nowrap;
}

.btn-header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 184, 0, 0.5);
    background: linear-gradient(135deg, #FFE066 0%, #FFB800 100%);
    color: #080B11;
}

.btn-header-cta .arrow {
    font-size: 1.1rem;
    transition: transform 0.25s var(--ease);
}

.btn-header-cta:hover .arrow {
    transform: translateX(4px);
}

.mobile-menu-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 184, 0, 0.25);
    border-radius: var(--radius-sm);
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    border-color: var(--primary);
    background: rgba(255, 184, 0, 0.12);
}

.mobile-menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-white);
    border-radius: 2px;
    transition: var(--transition);
}

/* Backdrop Overlay for Mobile Drawer */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(4, 6, 10, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Mobile Nav Drawer */
.nav-drawer-cta {
    display: none;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 184, 0, 0.2);
    width: 100%;
    flex-direction: column;
    gap: 0.85rem;
}

.nav-drawer-cta a {
    text-align: center;
    justify-content: center;
    width: 100%;
}

@media (max-width: 992px) {
    .nav-list {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 85vw);
        height: 100vh;
        height: 100dvh;
        background: #0B0F18;
        padding: 5.5rem 1.75rem calc(2rem + env(safe-area-inset-bottom, 0px));
        z-index: 999;
        border-left: 1px solid rgba(255, 184, 0, 0.25);
        box-shadow: -15px 0 45px rgba(0, 0, 0, 0.85);
        transform: translateX(105%);
        transition: transform 0.35s var(--ease);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-list.active {
        transform: translateX(0);
    }
    
    .nav-list ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
        width: 100%;
    }

    .nav-list a {
        font-size: 1.05rem;
        color: var(--text-light);
        display: block;
        width: 100%;
        padding: 0.4rem 0;
    }
    
    .nav-drawer-cta {
        display: flex;
    }
    
    .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);
    }
}

/* ============================================
   GLOBAL BUTTONS & COMPONENTS
   ============================================ */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--primary-gradient);
    color: #080B11;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 0.95rem 2.2rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 8px 24px rgba(255, 184, 0, 0.35);
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(255, 184, 0, 0.5);
    color: #080B11;
    background: linear-gradient(135deg, #FFE066 0%, #FFB800 100%);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.95rem 2.2rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 184, 0, 0.3);
    transition: var(--transition);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(255, 184, 0, 0.12);
    color: var(--primary);
    transform: translateY(-3px);
}

.btn-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-gradient);
    color: #080B11;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 6px 20px rgba(255, 184, 0, 0.3);
    transition: var(--transition);
}

.btn-learn-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(255, 184, 0, 0.45);
    color: #080B11;
    background: linear-gradient(135deg, #FFE066 0%, #FFB800 100%);
}

.btn-learn-more i {
    transition: transform 0.2s var(--ease);
}

.btn-learn-more:hover i {
    transform: translateX(4px);
}

/* Eyebrow Label */
.eyebrow-label {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--primary);
    margin-bottom: 0.75rem;
}

/* ============================================
   3-BOX CONTACT INFO BAND (Royal Gold Casino Cards)
   ============================================ */
.contact-band {
    background: #080B11;
    padding: 4rem 0 0;
    position: relative;
    z-index: 2;
}

.contact-band-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    transform: translateY(2.5rem);
}

.contact-band-card {
    background: linear-gradient(145deg, #131A28 0%, #0F1522 100%);
    border: 1px solid rgba(255, 184, 0, 0.3);
    color: var(--text-white);
    padding: 2rem 1.8rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 184, 0, 0.1);
    transition: var(--transition);
}

.contact-band-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 184, 0, 0.25);
}

.contact-band-icon {
    width: 58px;
    height: 58px;
    min-width: 58px;
    background: var(--primary-gradient);
    color: #080B11;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    box-shadow: 0 4px 15px rgba(255, 184, 0, 0.4);
}

.contact-band-info h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 0.92rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.contact-band-info p {
    font-size: 1.05rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.3;
}

/* ============================================
   FOOTER (Midnight Onyx Theme)
   ============================================ */
footer {
    background: #05070C;
    color: var(--text-light-muted);
    padding: 6rem 0 2.5rem;
    border-top: 1px solid rgba(255, 184, 0, 0.12);
    position: relative;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand .footer-logo {
    height: 42px;
    margin-bottom: 1.25rem;
}

.footer-brand p {
    color: var(--text-light-muted);
    font-size: 0.92rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    max-width: 320px;
}

.footer-col h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

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

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

.footer-col a {
    color: var(--text-light-muted);
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.footer-subscribe p {
    font-size: 0.88rem;
    color: var(--text-light-muted);
    margin-bottom: 1rem;
}

.footer-subscribe-form {
    display: flex;
    position: relative;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid rgba(255, 184, 0, 0.25);
    background: rgba(255, 255, 255, 0.04);
}

.footer-subscribe-form input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.8rem 1rem;
    color: #FFFFFF;
    font-size: 0.88rem;
    outline: none;
    font-family: inherit;
}

.footer-subscribe-form input::placeholder {
    color: var(--text-light-dim);
}

.footer-subscribe-form button {
    background: var(--primary-gradient);
    border: none;
    color: #080B11;
    padding: 0 1.2rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.82rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.footer-subscribe-form button:hover {
    background: linear-gradient(135deg, #FFE066 0%, #FFB800 100%);
}

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

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

.footer-links a {
    color: var(--text-light-dim);
    font-size: 0.85rem;
}

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

/* ============================================
   MOBILE BOTTOM STICKY BAR
   ============================================ */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(8, 11, 17, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 184, 0, 0.25);
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    z-index: 1005;
    gap: 12px;
}

.mobile-bottom-bar a {
    flex: 1;
    text-align: center;
    padding: 11px 0;
    border-radius: var(--radius-sm);
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-bottom-bar .btn-login {
    background: rgba(255, 255, 255, 0.06);
    color: var(--primary);
    border: 1px solid rgba(255, 184, 0, 0.4);
}

.mobile-bottom-bar .btn-register {
    background: var(--primary-gradient);
    color: #080B11;
    box-shadow: 0 4px 15px rgba(255, 184, 0, 0.35);
}

/* ============================================
   RESPONSIVE BREAKPOINTS (COMMON)
   ============================================ */
@media (max-width: 992px) {
    :root {
        --header-height: 72px;
    }

    .header-container {
        padding: 0.85rem 0;
        gap: 1rem;
    }

    .contact-band-grid {
        grid-template-columns: 1fr;
        transform: translateY(0);
        margin-bottom: 2rem;
        gap: 1rem;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

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

    .contact-band {
        padding: 2.5rem 0 0;
    }

    .contact-band-card {
        padding: 1.25rem 1.1rem;
        gap: 1rem;
    }

    .contact-band-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
        font-size: 1.4rem;
    }

    .contact-band-info h4 {
        font-size: 0.82rem;
    }

    .contact-band-info p {
        font-size: 0.95rem;
    }
    
    footer {
        padding: 3.5rem 0 calc(2rem + env(safe-area-inset-bottom, 0px));
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2.5rem;
    }

    .footer-brand p {
        max-width: 100%;
    }

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

    .footer-links {
        justify-content: center;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .header-auth {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        width: 93%;
    }

    .logo img {
        height: 32px;
    }

    .btn-primary, .btn-secondary, .btn-learn-more {
        padding: 0.85rem 1.6rem;
        font-size: 0.88rem;
    }

    .footer-subscribe-form {
        flex-direction: column;
    }

    .footer-subscribe-form button {
        padding: 0.75rem 1rem;
    }
}
