/* ==========================================================================
   CASINO ONLINE INDONESIA - MODERN OBSIDIAN & NEON LUXURY THEME
   Font: Outfit (Headings) & Plus Jakarta Sans (Body)
   Colors: Obsidian Dark (#0d0f14), Neon Mint Green (#00f090), Amber Gold (#f59e0b)
   ========================================================================== */

@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 {
    /* Base Color Palette */
    --bg-main: #0c0e12;
    --bg-dark: #090a0d;
    --bg-surface: #12161f;
    --bg-card: #151a24;
    --bg-card-hover: #1c2230;
    --bg-card-glass: rgba(21, 26, 36, 0.75);
    
    /* Brand Accents */
    --primary-mint: #00f090;
    --primary-mint-hover: #00d680;
    --primary-mint-glow: rgba(0, 240, 144, 0.25);
    
    --accent-gold: #f59e0b;
    --accent-gold-hover: #d97706;
    --accent-gold-glow: rgba(245, 158, 11, 0.25);
    --gold-bright: #fbbf24;
    
    --accent-purple: #8b5cf6;
    --accent-cyan: #06b6d4;
    --accent-coral: #f43f5e;
    
    /* Typography Colors */
    --text-white: #ffffff;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --text-sub: #64748b;
    
    /* Borders & Dividers */
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.16);
    --border-gold: rgba(245, 158, 11, 0.5);
    --border-mint: rgba(0, 240, 144, 0.5);
    
    /* Legacy / Theme Aliases */
    --primary-color: #00f090;
    --secondary-color: #f59e0b;
    --accent-color: #f59e0b;
    --header-bg: rgba(12, 14, 18, 0.94);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.6);
    --shadow-glow-gold: 0 0 30px rgba(245, 158, 11, 0.2);
    --shadow-glow-mint: 0 0 30px rgba(0, 240, 144, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6, .brand-font {
    font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-white);
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--text-main);
    background-color: var(--bg-main);
    line-height: 1.65;
    overflow-x: hidden;
    position: relative;
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(0, 240, 144, 0.04) 0%, transparent 45%),
        radial-gradient(circle at 85% 20%, rgba(245, 158, 11, 0.05) 0%, transparent 45%),
        radial-gradient(circle at 50% 60%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);
    background-attachment: fixed;
}

.ambient-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    pointer-events: none;
}

.container {
    width: 92%;
    max-width: 1260px;
    margin: 0 auto;
}

::-webkit-scrollbar {
    width: 7px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: #262e3d;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-mint);
}

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

ul {
    list-style: none;
}

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

/* ==========================================================================
   BUTTONS & CTAS
   ========================================================================== */
.btn-primary,
.btn-signup,
.btn-mint {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00f090 0%, #00d680 100%);
    color: #061e12 !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.85rem 1.8rem;
    border-radius: 9999px;
    box-shadow: 0 4px 20px rgba(0, 240, 144, 0.35);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
}

.btn-primary:hover,
.btn-signup:hover,
.btn-mint:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 240, 144, 0.55);
    background: linear-gradient(135deg, #10f49c 0%, #05e282 100%);
}

.btn-secondary,
.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffba08 0%, #f59e0b 100%);
    color: #1a1200 !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.85rem 1.8rem;
    border-radius: 9999px;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
}

.btn-secondary:hover,
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.5);
    background: linear-gradient(135deg, #fcc21b 0%, #fbbf24 100%);
}

.btn-outline-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 158, 11, 0.08);
    color: var(--accent-gold) !important;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.75rem 1.6rem;
    border-radius: 9999px;
    border: 1px solid var(--border-gold);
    transition: var(--transition);
}

.btn-outline-gold:hover {
    background: rgba(245, 158, 11, 0.18);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
header, #main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(12, 14, 18, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 2005;
    transition: var(--transition);
    height: 76px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-subtle);
}

header.scrolled, #main-header.scrolled {
    background: rgba(9, 10, 13, 0.96);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    height: 70px;
}

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

.logo a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.logo img {
    height: 42px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(0, 240, 144, 0.3));
    transition: var(--transition);
}

.logo-brand-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 2px;
}

.logo-brand-text .dot-id {
    color: var(--primary-mint);
    font-size: 1rem;
}

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

.nav-list a {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-muted);
    transition: var(--transition);
    position: relative;
    padding: 0.4rem 0;
}

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

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

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

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

.btn-header-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #ffba08 0%, #f59e0b 100%);
    color: #1a1200 !important;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.55rem 1.4rem;
    border-radius: 9999px;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(245, 158, 11, 0.25);
}

.btn-header-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.45);
}

.btn-header-register {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00f090 0%, #00d680 100%);
    color: #061e12 !important;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 0.55rem 1.4rem;
    border-radius: 9999px;
    transition: var(--transition);
    box-shadow: 0 2px 10px rgba(0, 240, 144, 0.3);
}

.btn-header-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 240, 144, 0.5);
}

/* Mobile Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 28px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 2010;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: var(--transition);
}

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

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 2000;
}

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

/* ==========================================================================
   FOOTER
   ========================================================================== */
#main-footer {
    background: #080a0d;
    border-top: 1px solid var(--border-subtle);
    padding: 4.5rem 0 2.5rem;
    color: var(--text-muted);
    position: relative;
    overflow: hidden;
}

#main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-mint), var(--border-gold), transparent);
}

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

.footer-brand .footer-desc {
    margin-top: 1.2rem;
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--text-muted);
    max-width: 480px;
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.footer-social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-social-btn:hover {
    background: var(--primary-mint);
    color: #000;
    border-color: var(--primary-mint);
    transform: translateY(-3px);
}

.footer-nav h4, .footer-contact h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

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

.footer-nav ul li, .footer-contact ul li {
    margin-bottom: 0.7rem;
    font-size: 0.9rem;
}

.footer-nav a {
    color: var(--text-muted);
}

.footer-nav a:hover {
    color: var(--primary-mint);
    padding-left: 4px;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-muted);
}

/* Payment Methods */
.footer-payments-bar {
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    padding: 1.75rem 0;
    margin: 2rem 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.payment-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.payment-title i {
    color: var(--accent-gold);
}

.payment-badges-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.payment-pill {
    background: #141822;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    font-weight: 700;
    font-size: 0.78rem;
    padding: 0.35rem 0.9rem;
    border-radius: 6px;
    letter-spacing: 0.04em;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
}

.payment-pill:hover {
    border-color: var(--primary-mint);
    color: var(--primary-mint);
    transform: translateY(-2px);
}

/* Legal Disclaimer */
.footer-disclaimer {
    background: #0f121a;
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 1.5rem 1.75rem;
    margin-bottom: 2rem;
    font-size: 0.8rem;
    line-height: 1.7;
    color: var(--text-sub);
}

.footer-disclaimer strong {
    color: var(--text-muted);
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.82rem;
    color: var(--text-sub);
}

.footer-links-row {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.footer-links-row a {
    color: var(--text-muted);
}

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

/* Mobile Bottom Fixed Bar */
.mobile-bottom-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(12, 14, 18, 0.96);
    backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-subtle);
    padding: 0.75rem 1rem;
    z-index: 1999;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.8);
    gap: 0.75rem;
}

.mobile-bottom-bar a {
    flex: 1;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.92rem;
    font-weight: 700;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.mobile-bottom-bar .btn-login {
    background: linear-gradient(135deg, #ffba08 0%, #f59e0b 100%);
    color: #1a1200 !important;
}

.mobile-bottom-bar .btn-register {
    background: linear-gradient(135deg, #00f090 0%, #00d680 100%);
    color: #061e12 !important;
}

/* ==========================================================================
   RESPONSIVE DESIGN (COMMON)
   ========================================================================== */
@media (max-width: 991px) {
    .nav-list {
        position: fixed;
        top: 76px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 76px);
        background: #0f1219;
        border-left: 1px solid var(--border-subtle);
        padding: 2rem;
        transition: right 0.35s ease;
        z-index: 2004;
        overflow-y: auto;
    }

    .nav-list.active {
        right: 0;
    }

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

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

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

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

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

    .mobile-bottom-bar {
        display: flex;
    }

    body {
        padding-bottom: 65px;
    }
}
