/* ===============
   LUXURY DARK MODE RESORT CASINO THEME
   Tailored for High-End Online Casino Aesthetics (Obsidian & Navy Dark + Royal Sapphire & Gold)
   =============== */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@500;600;700;800;900&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,400;1,600;1,700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Royal Sapphire & Electric Accents */
    --primary-color: #3b82f6;
    --primary-hover: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #60a5fa;
    --primary-soft: rgba(59, 130, 246, 0.12);
    --primary-glow: rgba(59, 130, 246, 0.4);

    /* Champagne Gold Accents */
    --gold-color: #fbbf24;
    --gold-light: #fde68a;
    --gold-hover: #f59e0b;
    --gold-soft: rgba(251, 191, 36, 0.12);
    --gold-gradient: linear-gradient(135deg, #fbbf24 0%, #d97706 100%);

    /* Deep Luxury Dark Palette */
    --bg-color: #080c16;
    --bg-surface: #0d1424;
    --bg-surface-alt: #111a2e;
    --bg-card: #131e36;
    --bg-card-hover: #182645;
    --bg-card-light: #1c2b4d;

    /* Text Colors */
    --text-color: #94a3b8;
    --text-heading: #ffffff;
    --text-muted: #cbd5e1;
    --text-dim: #64748b;
    --text-white: #ffffff;

    /* Borders */
    --border-color: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.12);
    --border-accent: rgba(59, 130, 246, 0.35);

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-display: 'Cinzel', 'Playfair Display', serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Radii */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Shadows & Glows */
    --shadow-xs: 0 2px 6px rgba(0, 0, 0, 0.3);
    --shadow-soft: 0 6px 20px rgba(0, 0, 0, 0.4);
    --shadow-medium: 0 12px 36px rgba(0, 0, 0, 0.5);
    --shadow-large: 0 20px 50px rgba(0, 0, 0, 0.65);
    --shadow-floating: 0 25px 60px -15px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.08);
    --glow-primary: 0 0 25px rgba(59, 130, 246, 0.35);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    --gradient-vibrant: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    --gradient-card: linear-gradient(180deg, #131e36 0%, #0d1424 100%);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-speed: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

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

body {
    min-height: 100vh;
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--bg-color);
    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-speed);
}

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

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

ul, ol {
    list-style: none;
}

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

/* ===============
   TOP BAR (Dark Luxury)
   =============== */
.top-bar {
    background: #050810;
    color: #94a3b8;
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 101;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #94a3b8;
}

.top-bar-item .badge-live {
    display: inline-block;
    width: 7px;
    height: 7px;
    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 10px #22c55e;
    animation: live-pulse 1.8s infinite;
}

@keyframes live-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.top-bar-link {
    color: #cbd5e1;
    transition: color 0.2s;
}

.top-bar-link:hover {
    color: var(--primary-light);
}

.top-bar-currency {
    padding: 2px 8px;
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.25);
    border-radius: var(--radius-xs);
    color: #fbbf24;
    font-weight: 600;
}

/* ===============
   HEADER & NAVIGATION (Dark Glassmorphic)
   =============== */
.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(8, 12, 22, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 100;
    transition: all var(--transition-speed);
}

.header.scrolled {
    background: rgba(8, 12, 22, 0.98);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    border-bottom-color: rgba(59, 130, 246, 0.2);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: height var(--transition-speed);
}

.header.scrolled .header-inner {
    height: 70px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
    transition: transform var(--transition-speed);
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

.logo:hover img {
    transform: scale(1.04);
}

.logo-brand-text {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #ffffff;
    text-transform: uppercase;
}

.logo-brand-text span {
    color: var(--primary-light);
}

/* Hero Logo */
.hero-logo {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.hero-logo img {
    height: 64px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    filter: drop-shadow(0 4px 16px rgba(59, 130, 246, 0.4));
    transition: transform var(--transition-fast);
}

.hero-logo:hover img {
    transform: scale(1.05);
}

/* Navigation */
.header-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-list li a {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 600;
    color: #cbd5e1;
    letter-spacing: 0.02em;
    position: relative;
    padding: 6px 0;
    transition: color var(--transition-fast);
}

.nav-list li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-light);
    box-shadow: 0 0 8px var(--primary-light);
    transition: width var(--transition-speed);
}

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

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

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

.btn-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    transition: all var(--transition-speed);
    letter-spacing: 0.02em;
}

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

.btn-signup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
    background: var(--gradient-vibrant);
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
    transition: all var(--transition-speed);
    letter-spacing: 0.02em;
}

.btn-signup:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.65);
    color: #ffffff;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    color: #ffffff;
    padding: 6px 10px;
    border-radius: var(--radius-xs);
    background: rgba(255, 255, 255, 0.08);
}

/* ===============
   GLOBAL SECTION TITLES (Dark Mode)
   =============== */
.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px;
}

.section-kicker {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--primary-light);
    margin-bottom: 12px;
    position: relative;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.25;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: #94a3b8;
    line-height: 1.7;
    margin: 0 auto;
}

/* Standard Button */
.btn-primary-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 34px;
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    background: var(--gradient-vibrant);
    border-radius: var(--radius-sm);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    transition: all var(--transition-speed);
}

.btn-primary-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.6);
    color: #ffffff;
}

/* Ad Banner Container */
.ad-banner-container {
    margin: 40px auto;
    text-align: center;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.ad-banner-container img {
    width: 100%;
    border-radius: var(--radius-md);
    transition: transform 0.4s ease;
}

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

/* ===============
   FOOTER (Dark Luxury Grand Style)
   =============== */
.footer {
    background: #050810;
    color: #94a3b8;
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 80px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563eb 0%, #38bdf8 50%, #fbbf24 100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
    position: relative;
    padding-bottom: 12px;
}

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

.footer-about p {
    font-size: 0.92rem;
    line-height: 1.75;
    color: #94a3b8;
    margin-bottom: 20px;
}

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

.footer-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xs);
    font-size: 0.78rem;
    color: #cbd5e1;
    font-weight: 600;
}

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

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

.footer-col ul li a::before {
    content: '›';
    color: var(--primary-light);
    font-size: 1.1rem;
    line-height: 1;
    transition: transform var(--transition-fast);
}

.footer-col ul li a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-col ul li a:hover::before {
    color: #38bdf8;
}

/* Footer Newsletter */
.footer-newsletter p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 16px;
    color: #94a3b8;
}

.newsletter-form {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.newsletter-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xs);
    padding: 10px 14px;
    color: #ffffff;
    font-size: 0.88rem;
    outline: none;
    transition: border-color var(--transition-fast);
}

.newsletter-input:focus {
    border-color: var(--primary-light);
    background: rgba(255, 255, 255, 0.1);
}

.newsletter-btn {
    background: var(--gradient-vibrant);
    color: #ffffff;
    padding: 10px 18px;
    border-radius: var(--radius-xs);
    font-weight: 700;
    font-size: 0.88rem;
    transition: all var(--transition-fast);
}

.newsletter-btn:hover {
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

/* Footer Gallery Grid */
.footer-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.footer-gallery-item {
    aspect-ratio: 1/1;
    border-radius: var(--radius-xs);
    overflow: hidden;
    background: #111a2e;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
}

.footer-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.footer-gallery-item:hover img {
    transform: scale(1.15);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #64748b;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: #94a3b8;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.footer-social-link:hover {
    background: var(--primary-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.5);
}

/* ===============
   MOBILE BOTTOM AUTH BAR (Dark Mode)
   =============== */
.mobile-bottom-auth {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #0d1424;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 -6px 25px rgba(0, 0, 0, 0.6);
    padding: 10px 16px;
    z-index: 999;
    gap: 12px;
}

.mob-btn-login,
.mob-btn-signup {
    flex: 1;
    text-align: center;
    padding: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    letter-spacing: 0.02em;
}

.mob-btn-login {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.mob-btn-signup {
    background: var(--gradient-vibrant);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.5);
}

/* ===============
   RESPONSIVE DESIGN (COMMON)
   =============== */
@media (max-width: 1024px) {
    .nav-list {
        gap: 20px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }
    .header-inner {
        height: 64px;
    }
    .nav-list {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        background: #0d1424;
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
        gap: 18px;
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: none;
        max-height: calc(100vh - 64px);
        overflow-y: auto;
    }
    .nav-list.active {
        display: flex;
    }
    .nav-list li {
        width: 100%;
    }
    .nav-list li a {
        display: block;
        padding: 10px 0;
        font-size: 1.05rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
    .mobile-menu-toggle {
        display: block;
    }
    .header-actions .btn-login,
    .header-actions .btn-signup {
        display: none;
    }
    .section-title {
        font-size: 2rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    .mobile-bottom-auth {
        display: flex;
    }
    body {
        padding-bottom: 70px;
    }
}
