:root {
    --bg-primary: #0A0A0D;
    --bg-secondary: #141417;
    --card-bg: rgba(255, 255, 255, 0.03);
    
    --accent-primary: #00FF88;
    --accent-secondary: #00FFCC;
    
    --text-primary: #F5F5F5;
    --text-secondary: #9CA3AF;
    
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    
    --section-spacing: 100px;
}

@media (max-width: 1024px) {
    :root {
        --section-spacing: 70px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-spacing: 50px;
    }
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

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

/* Layout Constraints */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.section {
    padding: var(--section-spacing) 0;
    text-align: center;
}

/* Typography */
h1, h2, h3, h4 {
    color: var(--text-primary);
    line-height: 1.2;
    margin-bottom: 24px;
    font-weight: 700;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -1px; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 24px;
}

/* Header & Navigation */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 13, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 255, 136, 0.15);
    padding: 20px 0;
    transition: background 0.3s ease;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

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

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

.nav-item a {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

.nav-item a:hover,
.nav-item a.active {
    color: var(--text-primary);
}

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

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

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
}

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

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--bg-primary);
    padding: 16px 48px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.125rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.2);
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 255, 136, 0.4);
    color: var(--bg-primary);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, rgba(10, 10, 13, 0.6), var(--bg-primary)), 
                url('images/premium-abstract-neon-casino-background.jpg') center/cover no-repeat;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(0, 255, 136, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    animation: fadeIn 1s ease-out;
}

.legal-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    backdrop-filter: blur(4px);
}

.hero-legal-text {
    font-size: 0.9rem;
    color: var(--accent-secondary);
    margin-top: 32px;
    opacity: 0.8;
}

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

.game-wrapper {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    background: var(--bg-secondary);
    border: 1px solid rgba(0, 255, 136, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 255, 136, 0.05);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-wrapper:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 50px rgba(0, 255, 136, 0.15);
}

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

/* Legal & Responsible Gaming */
.glass-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 60px 40px;
    margin: 0 auto;
    max-width: 1000px;
    text-align: center;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.info-card {
    background: var(--bg-secondary);
    padding: 40px 30px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.02);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 136, 0.2);
}

.info-card h4 {
    color: var(--accent-primary);
    margin-bottom: 16px;
}

.strict-warning-bar {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px 0;
    text-align: center;
}

.strict-warning-bar p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Page Banner */
.page-banner {
    padding: 120px 0 80px;
    background: linear-gradient(to bottom, rgba(10, 10, 13, 0.8), var(--bg-primary)), 
                url('images/luxury-dark-neon-interior-background.jpg') center/cover no-repeat;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.page-content p {
    margin-bottom: 24px;
}

.page-content h2, .page-content h3 {
    margin-top: 48px;
    color: var(--text-primary);
}

/* Forms */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-primary);
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    background: var(--bg-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.3s ease;
}

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

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

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 40px;
}

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

.footer-col h4 {
    color: var(--text-primary);
    margin-bottom: 24px;
}

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

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

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

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

.age-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 50%;
    font-weight: bold;
    margin-bottom: 16px;
    color: var(--text-secondary);
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Media Queries */
@media (max-width: 1024px) {
    .game-wrapper {
        width: 95%;
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 768px) {
    .nav-list {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 24px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

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

    .mobile-toggle {
        display: flex;
    }

    .game-wrapper {
        width: 100%;
        aspect-ratio: auto;
        height: 600px;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    h1 { font-size: 2.5rem; }
}

@media (max-width: 480px) {
    .game-wrapper {
        height: 500px;
    }
    
    .btn-primary {
        width: 100%;
    }
}