:root {
    --bg-primary: #0A0A0D;
    --bg-secondary: #141417;
    --bg-card: rgba(255, 255, 255, 0.03);
    --accent-primary: #00FF88;
    --accent-secondary: #00FFCC;
    --text-primary: #F5F5F5;
    --text-secondary: #9CA3AF;
    --border-light: rgba(255, 255, 255, 0.1);
    --border-accent: rgba(0, 255, 136, 0.3);
    
    --glow-subtle: 0 0 15px rgba(0, 255, 136, 0.15);
    --glow-strong: 0 0 25px rgba(0, 255, 136, 0.4);
    
    --container-max: 1400px;
    --space-desktop: 100px;
    --space-tablet: 70px;
    --space-mobile: 50px;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a:hover {
    color: var(--accent-secondary);
    text-shadow: 0 0 8px rgba(0, 255, 204, 0.5);
}

ul {
    list-style: none;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
p { margin-bottom: 1rem; color: var(--text-secondary); }

/* Layout & Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

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

.text-center {
    text-align: center;
}

/* Glass Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 13, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-accent);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), 0 1px 15px rgba(0, 255, 136, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand span {
    color: var(--accent-primary);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-primary);
    box-shadow: 0 0 10px var(--accent-primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Mobile Menu Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-toggle span {
    width: 30px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--bg-primary);
    box-shadow: var(--glow-subtle);
}

.btn-primary:hover {
    color: var(--bg-primary);
    transform: translateY(-3px);
    box-shadow: var(--glow-strong);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--accent-primary);
    box-shadow: inset 0 0 10px rgba(0, 255, 136, 0.1);
}

.btn-outline:hover {
    background: rgba(0, 255, 136, 0.1);
    box-shadow: inset 0 0 15px rgba(0, 255, 136, 0.2), 0 0 15px rgba(0, 255, 136, 0.2);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
    background-color: var(--bg-primary);
    background-image: linear-gradient(to bottom, rgba(10, 10, 13, 0.7), rgba(10, 10, 13, 0.95), var(--bg-primary)), url('images/wild-west-desert-night.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-align: center;
}

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

.hero h1 {
    font-size: 4.5rem;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
}

.legal-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 2rem;
}

.badge {
    background: rgba(20, 20, 23, 0.8);
    border: 1px solid var(--border-light);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 1px;
    text-transform: uppercase;
    backdrop-filter: blur(5px);
}

.badge.highlight {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

/* Page Headers */
.page-header {
    padding: 150px 0 80px;
    background-color: var(--bg-primary);
    background-image: linear-gradient(to bottom, rgba(10, 10, 13, 0.8), var(--bg-primary)), url('images/saloon-neon-sign-interior.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
}

/* Main Game Section */
.game-section {
    background: var(--bg-primary);
    padding: var(--space-desktop) 0;
    position: relative;
}

.game-wrapper {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-secondary);
    box-shadow: 0 20px 50px rgba(0,0,0,0.8), var(--glow-strong);
    border: 2px solid var(--accent-primary);
    aspect-ratio: 16 / 9;
    position: relative;
}

.game-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* Glass Cards & Grids */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-accent);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), var(--glow-subtle);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-primary);
    display: inline-block;
}

/* Content Pages (Terms, Privacy, About) */
.content-section {
    background: var(--bg-secondary);
}

.content-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.content-wrapper h2 {
    color: var(--accent-primary);
    margin-top: 2rem;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 0.5rem;
}

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

.content-wrapper p {
    margin-bottom: 1.5rem;
}

.content-wrapper ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.content-wrapper li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    position: relative;
}

.content-wrapper li::before {
    content: '•';
    color: var(--accent-primary);
    position: absolute;
    left: -1.5rem;
    font-size: 1.2rem;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.form-control {
    width: 100%;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: inherit;
    transition: var(--transition);
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.2);
}

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

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    padding: 4rem 0 2rem;
}

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

.footer-col h4 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

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

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

.footer-disclaimer {
    background: rgba(0,0,0,0.3);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    text-align: center;
    margin-bottom: 2rem;
}

.footer-disclaimer p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    :root {
        --space-desktop: var(--space-tablet);
    }
    
    .hero h1 {
        font-size: 3.5rem;
    }
    
    .game-wrapper {
        width: 95%;
    }
}

@media (max-width: 768px) {
    :root {
        --space-desktop: var(--space-mobile);
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 13, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border-accent);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .game-wrapper {
        width: 100%;
        border-radius: 12px;
    }

    .content-wrapper {
        padding: 1.5rem;
    }
}