:root {
    /* Base Layers */
    --bg-primary: #1a0f0a;
    --bg-secondary: #2b160c;
    --surface: rgba(255, 244, 229, 0.05);
    
    /* Accents */
    --accent-primary: #eab308;
    --accent-secondary: #f59e0b;
    --accent-highlight: #fcd34d;
    
    /* Typography Colors */
    --text-primary: #fff8f0;
    --text-secondary: #fef3c7;
    --text-muted: #fde68a;
    
    /* Layout & Styling */
    --font-main: 'Poppins', sans-serif;
    --border-radius: 20px;
    --border-radius-sm: 16px;
    --max-width: 1320px;
    --header-height: 90px;
    
    /* Shadows & Glows */
    --glow-primary: 0 0 20px rgba(234, 179, 8, 0.15);
    --glow-strong: 0 0 30px rgba(245, 158, 11, 0.3);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.5);
    --glass-border: 1px solid rgba(234, 179, 8, 0.15);
}

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

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;
}

/* Background Elements */
.bg-texture {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: radial-gradient(circle at top right, rgba(234, 179, 8, 0.05) 0%, transparent 40%),
                      radial-gradient(circle at bottom left, rgba(245, 158, 11, 0.05) 0%, transparent 40%);
    z-index: -1;
    pointer-events: none;
}

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

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
p { margin-bottom: 1rem; color: var(--text-secondary); }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }

/* Layout Containers */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 32px;
}

.section {
    padding: 120px 0;
    position: relative;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--accent-highlight), var(--accent-secondary));
    color: #1a0f0a;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.2);
}

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

.btn-outline {
    background: transparent;
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
}

.btn-outline:hover {
    background: rgba(234, 179, 8, 0.1);
    transform: translateY(-2px);
    box-shadow: var(--glow-primary);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(26, 15, 10, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: var(--glass-border);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(26, 15, 10, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.logo-icon {
    width: 32px;
    height: 32px;
    fill: var(--accent-primary);
    filter: drop-shadow(0 0 8px rgba(234, 179, 8, 0.5));
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

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

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

.nav-links a:hover {
    color: var(--accent-highlight);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--accent-primary);
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: var(--header-height);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    background: linear-gradient(to right, var(--text-primary), var(--accent-highlight));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.disclaimer {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.8;
}

.hero-visual {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.hero-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--border-radius);
    box-shadow: inset 0 0 40px rgba(26, 15, 10, 0.8);
    border: var(--glass-border);
    pointer-events: none;
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    transform: scale(1.05);
    transition: transform 10s ease;
}

.hero:hover .hero-image {
    transform: scale(1);
}

/* Game Hero Section */
.game-section {
    background: var(--bg-secondary);
    border-top: var(--glass-border);
    border-bottom: var(--glass-border);
    text-align: center;
}

.game-header {
    margin-bottom: 40px;
}

.game-header h2 {
    color: var(--accent-primary);
}

.game-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    background: var(--surface);
    border-radius: var(--border-radius);
    padding: 10px;
    border: var(--glass-border);
    box-shadow: var(--glow-primary), var(--shadow-soft);
    position: relative;
    transition: all 0.4s ease;
}

.game-container:hover {
    box-shadow: var(--glow-strong), var(--shadow-soft);
    transform: translateY(-5px);
}

.game-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--border-radius-sm);
    background: #000;
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.feature-card {
    background: var(--surface);
    border: var(--glass-border);
    border-radius: var(--border-radius);
    padding: 40px 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 244, 229, 0.08);
    border-color: rgba(234, 179, 8, 0.4);
    box-shadow: var(--glow-primary);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.2), rgba(245, 158, 11, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(234, 179, 8, 0.3);
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--accent-highlight);
}

/* Internal Page Headers */
.page-header {
    padding: 180px 0 80px;
    text-align: center;
    background: linear-gradient(to bottom, var(--bg-secondary), var(--bg-primary));
    border-bottom: var(--glass-border);
}

.page-header h1 {
    color: var(--accent-highlight);
    margin-bottom: 16px;
}

/* Content Pages (Legal, About, Contact) */
.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--surface);
    border: var(--glass-border);
    border-radius: var(--border-radius);
    padding: 60px;
    box-shadow: var(--shadow-soft);
}

.content-wrapper h2 {
    color: var(--accent-secondary);
    margin-top: 40px;
    border-bottom: 1px solid rgba(234, 179, 8, 0.2);
    padding-bottom: 10px;
}

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

.content-wrapper ul {
    margin-left: 20px;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.content-wrapper li {
    margin-bottom: 10px;
}

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

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

.form-control {
    width: 100%;
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(234, 179, 8, 0.2);
    border-radius: var(--border-radius-sm);
    color: var(--text-primary);
    font-family: var(--font-main);
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 10px rgba(234, 179, 8, 0.2);
    background: rgba(0, 0, 0, 0.4);
}

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

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: var(--glass-border);
    padding: 80px 0 40px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand p {
    margin-top: 20px;
    max-width: 400px;
}

.footer-title {
    color: var(--accent-highlight);
    margin-bottom: 24px;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

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

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

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.rg-warning {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(234, 179, 8, 0.1);
    padding: 10px 20px;
    border-radius: 30px;
    border: 1px solid rgba(234, 179, 8, 0.2);
    font-size: 0.85rem;
    color: var(--accent-highlight);
    margin-top: 20px;
}

.age-badge {
    background: var(--accent-primary);
    color: #000;
    font-weight: 700;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}