@import url('https://fonts.googleapis.com/css2?family=Changa+One:ital@0;1&family=Inter:wght@300;400;500;700&display=swap');

:root {
    /* Color System */
    --bg-primary: #10150F;
    --bg-secondary: #1A2415;
    --surface: rgba(255,255,255,0.06);
    --jungle-green: #16A34A;
    --luxury-gold: #FBBF24;
    --deep-gold: #B45309;
    --monkey-brown: #78350F;
    --adventure-orange: #F97316;
    --text-primary: #FFFFFF;
    --text-secondary: #FDECC8;
    --muted: #A3A58A;

    /* Typography */
    --font-heading: 'Changa One', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Layout */
    --sidebar-width: 270px;
    --max-width: 1320px;
    --spacing-desktop: 120px;
    --spacing-tablet: 80px;
    --spacing-mobile: 60px;
    
    /* Effects */
    --glass-bg: rgba(26, 36, 21, 0.65);
    --glass-border: rgba(251, 191, 36, 0.2);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    --glow: 0 0 20px rgba(251, 191, 36, 0.4);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--luxury-gold);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

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

ul {
    list-style: none;
}

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

/* Glassmorphism Utilities */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-top: 1px solid rgba(251, 191, 36, 0.4);
    box-shadow: var(--glass-shadow);
    border-radius: 16px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    border-radius: 8px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border: none;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(to bottom, var(--luxury-gold), var(--deep-gold));
    color: var(--bg-primary);
    border: 2px solid #FFD700;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.3);
}

.btn-primary:hover {
    box-shadow: var(--glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--luxury-gold);
    border: 2px solid var(--luxury-gold);
}

.btn-secondary:hover {
    background: rgba(251, 191, 36, 0.1);
    box-shadow: var(--glow);
}

/* --- LAYOUT: Fixed Left Sidebar --- */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: linear-gradient(to bottom, #151d10 0%, #0d120c 100%);
    border-right: 2px solid var(--deep-gold);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    overflow-y: auto;
    box-shadow: 5px 0 25px rgba(0,0,0,0.8);
}

.sidebar-logo {
    padding: 30px 20px;
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
}

.sidebar-logo img {
    margin: 0 auto;
    filter: drop-shadow(0 0 10px rgba(251, 191, 36, 0.2));
}

.sidebar-nav {
    flex-grow: 1;
    padding: 20px 0;
}

.sidebar-nav ul li a {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-secondary);
    border-left: 4px solid transparent;
}

.sidebar-nav ul li a:hover,
.sidebar-nav ul li a.active {
    background: linear-gradient(90deg, rgba(22, 163, 74, 0.15) 0%, transparent 100%);
    border-left-color: var(--jungle-green);
    color: var(--luxury-gold);
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.5);
}

.sidebar-nav ul li a span {
    margin-right: 15px;
    font-size: 1.4rem;
}

.sidebar-cta {
    padding: 20px;
}

.sidebar-cta .btn {
    width: 100%;
}

.sidebar-compliance-widget {
    padding: 20px;
    background: rgba(0,0,0,0.5);
    border-top: 1px solid var(--glass-border);
    text-align: center;
}

.badge-18 {
    display: inline-block;
    width: 40px;
    height: 40px;
    line-height: 36px;
    border: 2px solid var(--text-primary);
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.sidebar-compliance-widget p {
    font-size: 0.75rem;
    color: var(--muted);
    line-height: 1.4;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background: var(--bg-secondary);
    border: 2px solid var(--luxury-gold);
    color: var(--luxury-gold);
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

/* --- MAIN CONTENT AREA --- */
.main-wrapper {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.page-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Compliance Bar */
.top-compliance-bar {
    background: rgba(0, 0, 0, 0.8);
    color: var(--muted);
    text-align: center;
    padding: 8px 15px;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
    z-index: 100;
}
.top-compliance-bar span {
    display: inline-block;
    white-space: nowrap;
}
.top-compliance-bar .separator {
    color: var(--jungle-green);
    margin: 0 6px;
    font-weight: bold;
}

section {
    padding: var(--spacing-desktop) 0;
}

/* --- HERO SECTION --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    padding: 0;
    overflow: hidden;
}

/* Dark gradient overlay to ensure text readability over artwork */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(16, 21, 15, 0.9) 0%, rgba(16, 21, 15, 0.4) 50%, rgba(16, 21, 15, 0.8) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero h1 {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: 20px;
    background: linear-gradient(to bottom, #FFF, var(--luxury-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 15px rgba(0,0,0,0.8));
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.hero-compliance {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 15px;
    background: rgba(0,0,0,0.6);
    padding: 15px 25px;
    border-radius: 8px;
    border: 1px solid var(--glass-border);
}

.hero-compliance span {
    font-size: 0.85rem;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
}

.hero-compliance span::before {
    content: '•';
    color: var(--jungle-green);
    margin-right: 8px;
    font-size: 1.2rem;
}

/* --- GAME SHOWCASE SECTION --- */
.game-showcase-section {
    background: linear-gradient(to bottom, var(--bg-primary), var(--bg-secondary));
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.game-container {
    padding: 30px;
    position: relative;
}

/* Decorative slot machine frame */
.game-container::before {
    content: '';
    position: absolute;
    top: -10px; left: -10px; right: -10px; bottom: -10px;
    border: 4px solid var(--deep-gold);
    border-radius: 20px;
    pointer-events: none;
    box-shadow: inset 0 0 20px rgba(251, 191, 36, 0.2), 0 0 30px rgba(0,0,0,0.8);
}

.iframe-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(255,255,255,0.1);
}

.iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.game-meta {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.game-info h3 {
    font-size: 1.8rem;
    color: var(--text-primary);
}

.game-info p {
    color: var(--muted);
}

/* --- FEATURES SECTION --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
    background: linear-gradient(to bottom, var(--luxury-gold), var(--deep-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* --- INTERNAL PAGES (About, Terms, etc.) --- */
.page-header {
    padding: 100px 0 60px;
    text-align: center;
    background-size: cover;
    background-position: center;
    position: relative;
    border-bottom: 1px solid var(--glass-border);
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(16, 21, 15, 0.85); /* Dark overlay */
    backdrop-filter: blur(5px);
}

.page-header h1 {
    position: relative;
    z-index: 2;
    font-size: 4rem;
}

.content-section {
    padding: 60px 0;
}

.text-content-panel {
    padding: 50px;
}

.text-content-panel h2 {
    font-size: 2rem;
    margin: 40px 0 20px;
    color: var(--text-primary);
}

.text-content-panel h2:first-child {
    margin-top: 0;
}

.text-content-panel p, .text-content-panel ul {
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.text-content-panel ul {
    padding-left: 20px;
    list-style-type: disc;
}

.text-content-panel ul li {
    margin-bottom: 10px;
}

/* Contact Form */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--luxury-gold);
    font-family: var(--font-heading);
    letter-spacing: 1px;
}

.form-control {
    width: 100%;
    padding: 15px;
    background: rgba(0,0,0,0.5);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--luxury-gold);
    box-shadow: inset 0 0 10px rgba(251, 191, 36, 0.2);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

/* --- FOOTER --- */
.site-footer {
    background: #0a0d09;
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 30px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--luxury-gold);
}

.footer-col p {
    color: var(--muted);
    margin-bottom: 15px;
}

.footer-links li {
    margin-bottom: 10px;
}

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

.footer-links a:hover {
    color: var(--luxury-gold);
    padding-left: 5px;
}

.footer-compliance-banner {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 30px;
}

.footer-compliance-banner p {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.footer-compliance-banner .highlight {
    color: var(--text-primary);
    font-weight: bold;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--muted);
    font-size: 0.9rem;
}

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1200px) {
    .hero h1 { font-size: 4rem; }
    .hero p { font-size: 1.1rem; }
}

@media (max-width: 992px) {
    section { padding: var(--spacing-tablet) 0; }
    
    .mobile-toggle { display: block; }
    
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-wrapper {
        margin-left: 0;
    }
    
    /* Dark overlay when mobile menu is open */
    .menu-overlay {
        display: none;
        position: fixed;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0,0,0,0.7);
        z-index: 999;
        backdrop-filter: blur(3px);
    }
    
    .menu-overlay.active {
        display: block;
    }

    .hero h1 { font-size: 3.5rem; }
    
    .page-header h1 { font-size: 3rem; }
    .text-content-panel { padding: 30px; }
}

@media (max-width: 768px) {
    section { padding: var(--spacing-mobile) 0; }
    
    .top-compliance-bar {
        font-size: 0.75rem;
    }
    
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }
    
    .hero-compliance { flex-direction: column; gap: 5px; align-items: flex-start;}
    .hero-compliance span::before { display: none; }
    
    .section-header h2 { font-size: 2.2rem; }
}