:root {
    /* Colors */
    --bg-primary: #0b1410;
    --bg-secondary: #12241b;
    --surface-glass: rgba(255, 255, 255, 0.05);
    --surface-glass-hover: rgba(255, 255, 255, 0.08);
    --border-glass: rgba(255, 255, 255, 0.1);
    
    --accent-red: #dc2626;
    --accent-red-glow: rgba(220, 38, 38, 0.4);
    --accent-green: #16a34a;
    --accent-gold: #facc15;
    --accent-gold-glow: rgba(250, 204, 21, 0.3);
    --accent-white: #ffffff;
    
    --text-primary: #f9fafb;
    --text-secondary: #d1fae5;
    --text-muted: #86efac;

    /* Typography */
    --font-main: 'Poppins', system-ui, -apple-system, sans-serif;
    
    /* Layout */
    --max-width: 1320px;
    --radius-sm: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 24px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-primary);
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(22, 163, 74, 0.15) 0%, transparent 60%),
        url('images/deep-winter-night-snowy-forest-bg.webp');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
    border-radius: var(--radius-md);
}

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

/* Typography */
h1, h2, h3, h4 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    background: linear-gradient(135deg, var(--text-primary), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 20px rgba(250, 204, 21, 0.1);
}

h2 {
    font-size: clamp(2rem, 3vw, 2.5rem);
    color: var(--text-primary);
}

h3 {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

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

.text-muted {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Header & Nav */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: background 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    background: rgba(11, 20, 16, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-shadow: 0 2px 10px rgba(255,255,255,0.2);
}

.logo-icon {
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.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-gold);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px var(--accent-gold-glow);
}

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

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--accent-red), #b91c1c);
    color: var(--text-primary);
    box-shadow: 0 4px 15px var(--accent-red-glow);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.6);
    filter: brightness(1.1);
}

.btn-secondary {
    background: var(--surface-glass);
    color: var(--text-primary);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--surface-glass-hover);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.05);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px; /* Offset for header */
    position: relative;
    z-index: 2;
}

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

.hero-content {
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.hero-visual {
    position: relative;
    border-radius: var(--radius-xl);
    padding: 20px;
    background: var(--surface-glass);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    animation: floatLift 6s ease-in-out infinite;
}

.hero-visual::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, var(--accent-gold), transparent, var(--accent-red));
    z-index: -1;
    opacity: 0.3;
    filter: blur(10px);
}

/* Game Section */
.game-section {
    padding: 100px 0;
    position: relative;
    z-index: 2;
}

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

.game-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    background: var(--surface-glass);
    border: 1px solid rgba(250, 204, 21, 0.2);
    padding: 16px;
    backdrop-filter: blur(15px);
    animation: glowPulse 4s infinite ease-in-out;
    position: relative;
    overflow: hidden;
}

.game-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #000;
}

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

/* Features Section */
.features-section {
    padding: 100px 0;
    background: linear-gradient(to bottom, transparent, rgba(18, 36, 27, 0.8), transparent);
    position: relative;
    z-index: 2;
}

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

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

.feature-card:hover {
    transform: translateY(-10px);
    background: var(--surface-glass-hover);
    border-color: rgba(250, 204, 21, 0.3);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4), 0 0 20px var(--accent-gold-glow);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 24px;
    display: inline-block;
    filter: drop-shadow(0 4px 8px rgba(250, 204, 21, 0.2));
}

/* Interior Pages (About, Legal, Contact) */
.page-header {
    padding: 180px 0 80px;
    text-align: center;
    background: linear-gradient(to bottom, rgba(11, 20, 16, 0.9), transparent);
}

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

.glass-panel {
    background: var(--surface-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-xl);
    padding: 60px;
    backdrop-filter: blur(12px);
    max-width: 900px;
    margin: 0 auto;
}

.glass-panel h2 {
    color: var(--accent-gold);
    margin-top: 2rem;
}

.glass-panel ul {
    list-style: disc inside;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.glass-panel li {
    margin-bottom: 0.5rem;
}

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

.form-group 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 var(--border-glass);
    border-radius: var(--radius-sm);
    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-gold);
    box-shadow: 0 0 10px var(--accent-gold-glow);
    background: rgba(0, 0, 0, 0.4);
}

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

/* Footer */
.site-footer {
    background: rgba(8, 15, 12, 0.95);
    border-top: 1px solid var(--border-glass);
    padding: 80px 0 32px;
    position: relative;
    z-index: 2;
}

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

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

.footer-links h4 {
    color: var(--accent-white);
    margin-bottom: 24px;
}

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

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

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

.footer-bottom {
    border-top: 1px solid var(--border-glass);
    padding-top: 32px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.age-warning {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 50%;
    font-weight: bold;
    color: var(--text-muted);
    font-size: 1.2rem;
}