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

:root {
    --bg-dark: #0a0e17; /* Deep casino blue-black */
    --bg-dark-card: #151a28;
    --bg-light: #111520; /* Dark theme entirely */
    --bg-light-card: #1a2033;
    --color-primary: #ffd700; /* Casino Gold */
    --color-primary-hover: #e6c200;
    --color-secondary: #e91e63; /* Casino Pink/Red accent */
    --color-text-light: #ffffff;
    --color-text-dark: #e2e8f0; /* Light gray text for better readability on dark */
    --color-muted-light: rgba(255, 255, 255, 0.7);
    --color-muted-dark: #94a3b8;
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --shadow-light: 0 10px 30px rgba(0,0,0,0.5);
    --shadow-dark: 0 10px 30px rgba(0,0,0,0.8);
    --border-dark: rgba(255, 255, 255, 0.1);
    --border-light: rgba(255, 255, 255, 0.05);
    
    /* Resources.css variables */
    --bg-card: #151a28;
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass: rgba(255, 255, 255, 0.05);
    --color-white: #ffffff;
    --color-muted: #94a3b8;
    --font-heading: 'Outfit', sans-serif;
    --color-accent: #e91e63;
    --shadow-lg: 0 15px 35px rgba(0,0,0,0.6);
}

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-light);
    color: var(--color-text-dark);
    font-family: var(--font-main);
    margin: 0;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.main-container {
    width: 100%;
    margin: 0;
}

.dark-top-section {
    background-color: var(--bg-dark);
    color: var(--color-text-light);
    background-image: radial-gradient(circle at 50% 0%, rgba(255, 215, 0, 0.15) 0%, transparent 50%);
    padding-bottom: 60px;
}

.light-bottom-section {
    background-color: var(--bg-light);
    color: var(--color-text-dark);
}

/* Header */
.main-header {
    background: var(--bg-dark);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-dark);
}

.no-sticky .main-header {
    position: relative !important;
    background: transparent;
}

.header-top {
    padding: 15px 0;
}

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

.logo img {
    height: 40px;
    display: block;
}

.desktop-nav {
    display: none;
}

.mobile-nav-strip {
    display: block;
    border-top: 1px solid var(--border-dark);
}

/* Mobile Menu Overlay Styles */
@media (max-width: 767px) {
    .desktop-nav {
        display: block;
        position: fixed;
        top: 110px; /* Adjust based on header height */
        left: -100%;
        width: 100%;
        height: calc(100vh - 110px);
        background: var(--bg-dark);
        z-index: 999;
        transition: left 0.3s ease;
        padding: 40px 20px;
        overflow-y: auto;
    }

    .desktop-nav.active {
        left: 0;
    }

    .desktop-nav ul {
        flex-direction: column;
        gap: 20px;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .desktop-nav ul li a {
        font-size: 18px;
        font-weight: 700;
        color: var(--color-text-light);
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid var(--border-dark);
        text-transform: uppercase;
    }

    body.no-scroll {
        overflow: hidden;
    }
}

.mobile-nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 25px;
}

.menu-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.menu-toggle.active svg {
    fill: var(--color-primary);
}

.menu-toggle.active {
    transform: rotate(90deg);
}

.menu-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.menu-toggle svg {
    width: 24px;
    height: 24px;
    fill: var(--color-text-light);
}

.header-auth {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-login {
    color: var(--color-text-light);
    font-weight: 600;
    font-size: 15px;
    border: 1px solid var(--border-dark);
    padding: 8px 20px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.btn-login:hover {
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-register {
    background-color: var(--color-primary);
    color: #111; /* Dark text on gold */
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 15px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3); /* Gold glow */
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-register:hover {
    background-color: var(--color-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

/* Banner */
.banner-wrapper {
    padding: 60px 25px;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

@media (min-width: 768px) {
    .banner-wrapper {
        flex-direction: column;
        padding: 80px 25px;
    }
    
    .banner-content {
        text-align: center;
        padding-right: 0;
        max-width: 800px;
        margin: 0 auto;
    }
    
    .banner-content h1 {
        font-size: 56px;
    }
    
    .banner-content p {
        font-size: 18px;
    }
}

.banner-content {
    flex: none;
    width: 100%;
    text-align: center;
}

.banner-content h1 {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.banner-content h1 span {
    color: var(--color-primary);
}

.banner-content p {
    font-size: 16px;
    color: var(--color-muted-light);
    margin-bottom: 30px;
}

.banner-content .btn-register {
    display: inline-block;
    padding: 15px 30px;
    font-size: 16px;
}

.banner-image {
    flex: none;
    width: 100%;
    max-width: 1000px;
    text-align: center;
}

.banner-wrapper img {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: var(--shadow-dark);
    display: block;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .banner-wrapper img {
        width: 100%;
        max-width: 100%;
    }
}

/* Trust Strip */
.trust-strip {
    border-top: 1px solid var(--border-dark);
    border-bottom: 1px solid var(--border-dark);
    padding: 20px 0;
    background: rgba(0,0,0,0.2);
}

.trust-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 25px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--color-muted-light);
    font-size: 14px;
}

.trust-item i {
    color: var(--color-primary);
    font-size: 20px;
}

/* Footer */
.main-footer {
    background-color: var(--bg-light);
    color: var(--color-text-dark);
    padding: 60px 25px 20px;
    border-top: 1px solid var(--border-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1280px;
    margin: 0 auto;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-light);
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-desc {
    color: var(--color-muted-dark);
    font-size: 15px;
}

.footer-nav h4, .footer-contact h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-text-dark);
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    color: var(--color-muted-dark);
    font-weight: 500;
}

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

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 20px;
    text-align: center;
    color: var(--color-muted-dark);
    font-size: 14px;
}

@media (min-width: 768px) {
    .mobile-nav-strip {
        display: none;
    }
    
    .desktop-nav {
        display: block;
        padding: 20px 0;
    }
    
    .desktop-nav ul {
        display: flex;
        justify-content: center;
        gap: 30px;
        list-style: none;
        margin: 0;
        padding: 0;
    }
    
    .desktop-nav a {
        font-weight: 600;
        font-size: 14px;
        color: var(--color-text-light);
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    
    .desktop-nav a:hover {
        color: var(--color-primary);
    }
    
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}
