/* ==========================================================================
   CSS Variables - Design System
   ========================================================================== */
   :root {
    /* Backgrounds */
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-surface: #1a1a1a;
    
    /* Gold Palette */
    --gold-primary: #d4af37;
    --gold-soft: #f5d76e;
    --gold-deep: #b8962e;
    --gold-glow: #ffd700;
    
    /* Gradients */
    --gold-gradient: linear-gradient(135deg, #d4af37, #f5d76e);
    --dark-gold-gradient: linear-gradient(135deg, #b8962e, #d4af37);
    --glass-bg: rgba(17, 17, 17, 0.75);
    
    /* Text */
    --text-primary: #f9fafb;
    --text-secondary: #a1a1aa;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    
    /* Structure */
    --container-max: 1400px;
    --border-radius: 14px;
    --border-radius-lg: 18px;
    
    /* Shadows */
    --shadow-gold: 0 4px 30px rgba(212, 175, 55, 0.15);
    --shadow-gold-hover: 0 8px 40px rgba(255, 215, 0, 0.3);
    --shadow-dark: 0 10px 30px rgba(0, 0, 0, 0.5);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
}

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

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

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

ul {
    list-style: none;
}

/* Typography */
h1, h2, h3, h4, .logo {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
}

.gold-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* ==========================================================================
   Utilities
   ========================================================================== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.mt-20 { margin-top: 20px; }
.w-100 { width: 100%; }
.inline-block { display: inline-block; }

.section-padding {
    padding: 100px 0;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-primary {
    display: inline-block;
    background: var(--gold-gradient);
    color: var(--bg-primary);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    box-shadow: var(--shadow-gold);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: skewX(-20deg);
    transition: 0.5s;
    z-index: -1;
}

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

.btn-primary:hover::before {
    left: 150%;
}

.btn-primary.large {
    padding: 16px 40px;
    font-size: 1rem;
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--gold-primary);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: var(--border-radius);
    border: 2px solid var(--gold-primary);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn-outline:hover {
    background: var(--gold-primary);
    color: var(--bg-primary);
    box-shadow: var(--shadow-gold);
}

/* ==========================================================================
   Header Navigation
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

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

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

.nav-link {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
    position: relative;
    padding-bottom: 4px;
}

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

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

.nav-link:hover, .nav-link.active {
    color: var(--gold-soft);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.mobile-toggle .bar {
    width: 28px;
    height: 2px;
    background-color: var(--gold-primary);
    transition: var(--transition);
}

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

.hero-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -2;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(10,10,10,0.7), rgba(10,10,10,0.95));
    z-index: -1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 24px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 24px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.hero-actions {
    margin-bottom: 24px;
}

.legal-badge {
    display: inline-block;
    background: rgba(26,26,26,0.8);
    border: 1px solid var(--gold-deep);
    color: var(--gold-soft);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.legal-notice-small {
    font-size: 0.85rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   Game Section
   ========================================================================== */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 48px auto;
}

.game-container {
    max-width: 1200px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    background: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--gold-deep);
    box-shadow: var(--shadow-gold);
    overflow: hidden;
    position: relative;
    padding: 4px;
}

.game-container::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: var(--dark-gold-gradient);
    z-index: -1;
    border-radius: var(--border-radius-lg);
    filter: blur(10px);
    opacity: 0.5;
}

.game-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 14px;
    background: #000;
}

/* ==========================================================================
   Split Section
   ========================================================================== */
.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.rounded-image {
    border-radius: var(--border-radius-lg);
    width: 100%;
    height: auto;
}

.shadow-gold {
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.15);
}

.split-content .section-title {
    margin-bottom: 24px;
}

.split-content .section-desc {
    margin: 0 0 32px 0;
}

.feature-list {
    margin-bottom: 32px;
}

.feature-list li {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.gold-bullet {
    color: var(--gold-primary);
    font-size: 1.2rem;
}

/* ==========================================================================
   Full Width Banner
   ========================================================================== */
.banner-section {
    position: relative;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.banner-image {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    z-index: -2;
}

.banner-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(10, 10, 10, 0.8);
    z-index: -1;
}

.banner-content {
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.text-light {
    color: #fff;
}

/* ==========================================================================
   Gallery Section
   ========================================================================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 4/5;
    cursor: pointer;
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    opacity: 0.8;
    transition: var(--transition);
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-caption {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    z-index: 2;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--gold-soft);
    text-align: left;
    transform: translateY(10px);
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
    opacity: 1;
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features-section {
    background: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-surface);
    padding: 40px 32px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--gold-deep);
    box-shadow: var(--shadow-gold);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 24px;
    color: var(--gold-primary);
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.feature-card h3 {
    margin-bottom: 16px;
    font-size: 1.25rem;
}

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

/* ==========================================================================
   Legal Banner
   ========================================================================== */
.legal-banner {
    background: var(--bg-primary);
    padding: 60px 0;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.legal-banner h3 {
    color: var(--gold-primary);
    margin-bottom: 16px;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1rem;
}

.legal-banner p {
    color: var(--text-secondary);
    max-width: 900px;
    margin: 0 auto;
    font-size: 0.9rem;
}

/* ==========================================================================
   Interior Pages (About, Contact, Privacy, Terms)
   ========================================================================== */
.page-hero {
    padding: 160px 0 80px;
    background: linear-gradient(to bottom, var(--bg-secondary), var(--bg-primary));
}

.prose-container {
    max-width: 900px;
}

.card {
    background: var(--bg-surface);
    padding: 48px;
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(212, 175, 55, 0.1);
    box-shadow: var(--shadow-dark);
}

.prose-card h2 {
    color: var(--gold-primary);
    margin: 32px 0 16px;
    font-size: 1.8rem;
}

.prose-card h2:first-child {
    margin-top: 0;
}

.prose-card h3 {
    color: var(--text-primary);
    margin: 24px 0 16px;
}

.prose-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 1.05rem;
}

.text-list {
    margin-bottom: 24px;
    padding-left: 20px;
}

.text-list li {
    color: var(--text-secondary);
    margin-bottom: 12px;
    list-style-type: disc;
}

.text-list li strong {
    color: var(--text-primary);
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 24px;
}

.contact-info p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.info-block {
    margin-bottom: 24px;
    padding-left: 16px;
    border-left: 2px solid var(--gold-primary);
}

.info-block h4 {
    margin-bottom: 8px;
    font-family: var(--font-body);
}

.info-block p {
    margin-bottom: 0;
    color: var(--text-primary);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    background: var(--bg-primary);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    padding: 14px 16px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background: var(--bg-secondary);
    padding: 80px 0 0 0;
}

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

.footer-brand .footer-desc {
    color: var(--text-secondary);
    margin-top: 16px;
    max-width: 300px;
}

.footer-links h4 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

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

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-title { font-size: 3rem; }
    .split-grid { gap: 40px; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .section-padding { padding: 60px 0; }
    .section-title { font-size: 2rem; }
    
    /* Mobile Nav */
    .mobile-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: 0; left: -100%;
        width: 100%; height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transition: var(--transition);
        z-index: 1000;
    }
    .nav-menu.active { left: 0; }
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 24px;
    }
    .nav-link { font-size: 1.25rem; }
    .nav-cta { display: none; } /* Hide in center, maybe show somewhere else or adapt */
    .mobile-toggle.active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .mobile-toggle.active .bar:nth-child(2) { opacity: 0; }
    .mobile-toggle.active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    
    /* Layouts */
    .split-grid, .contact-grid, .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .gallery-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: 1fr; }
    
    .hero-title { font-size: 2.5rem; }
    .card { padding: 32px 24px; }
}