@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    /* Savannah Earth Palette */
    --bg-primary: #2A2722;
    --bg-secondary: #36322B;
    --bg-sand: #8A7E66;
    --card-bg: rgba(244, 241, 234, 0.04);
    --card-border: rgba(244, 241, 234, 0.08);
    
    /* Accents */
    --accent-gold: #DDAA44;
    --accent-gold-hover: #EBC168;
    --accent-green: #687059;
    --accent-clay: #A85A3A;
    
    /* Text */
    --text-primary: #F4F1EA;
    --text-secondary: #BDB7AA;
    --text-muted: #8F8A7D;
    
    /* Structural */
    --container-max: 1400px;
    --spacing-section: 100px;
    --radius-btn: 16px;
    --radius-card: 20px;
    --radius-game: 22px;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Effects */
    --shadow-diffused: 0 15px 35px rgba(0, 0, 0, 0.25);
    --glow-ambient: 0 0 40px rgba(221, 170, 68, 0.08);
    --glass-blur: blur(12px);
}

/* 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-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    color: var(--text-primary);
}

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

ul {
    list-style: none;
}

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

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

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

.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    border-radius: var(--radius-btn);
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-gold), #B88A30);
    color: #1A1815;
    box-shadow: 0 4px 15px rgba(221, 170, 68, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--accent-gold-hover), var(--accent-gold));
    box-shadow: 0 8px 25px rgba(221, 170, 68, 0.35);
}

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

.btn-secondary:hover {
    background: rgba(244, 241, 234, 0.08);
    transform: translateY(-2px);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(42, 39, 34, 0.7);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: background 0.3s ease, padding 0.3s ease;
    padding: 20px 0;
}

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

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

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

.main-nav ul {
    display: flex;
    gap: 40px;
}

.main-nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
}

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

.main-nav a:hover {
    color: var(--accent-gold);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

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

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

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/savannah-golden-sunset-landscape.jpg') center/cover no-repeat;
    z-index: -2;
}

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

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

.hero-subtitle {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-gold);
    margin-bottom: 20px;
    display: block;
    font-weight: 500;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 30px;
    letter-spacing: -1px;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-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: 30px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    backdrop-filter: var(--glass-blur);
    margin-top: 40px;
}

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

.game-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(221, 170, 68, 0.05) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.game-container-inner {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
}

.game-wrapper {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-game);
    overflow: hidden;
    background: var(--bg-secondary);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(221, 170, 68, 0.15);
    position: relative;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.game-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.7), 0 0 40px rgba(221, 170, 68, 0.1);
}

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

/* Feature Highlights */
.features-section {
    background: var(--bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-secondary);
}

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

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-card);
    padding: 40px 30px;
    transition: all 0.3s ease;
    backdrop-filter: var(--glass-blur);
}

.feature-card:hover {
    background: rgba(244, 241, 234, 0.08);
    transform: translateY(-5px);
    border-color: rgba(221, 170, 68, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(221, 170, 68, 0.1);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--accent-gold);
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

.feature-title {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

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

/* Statistics */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

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

.stat-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Experience Layout */
.experience-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.experience-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.experience-content p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.experience-image {
    border-radius: var(--radius-card);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-diffused);
}

.experience-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.7s ease;
}

.experience-image:hover img {
    transform: scale(1.03);
}

/* CTA Banner */
.cta-banner {
    position: relative;
    padding: 100px 0;
    text-align: center;
    background: url('images/acacia-tree-horizon-dusk.jpg') center/cover no-repeat;
    border-radius: var(--radius-game);
    overflow: hidden;
    margin: var(--spacing-section) auto;
    max-width: var(--container-max);
    width: calc(100% - 80px);
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(42, 39, 34, 0.9) 0%, rgba(104, 112, 89, 0.8) 100%);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

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

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

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 20px;
    max-width: 350px;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--text-primary);
}

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

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

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.legal-warning {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 12px;
    border-left: 3px solid var(--accent-clay);
    margin-bottom: 30px;
}

.legal-warning p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.legal-warning strong {
    color: var(--text-primary);
}

/* Interior Pages */
.interior-hero {
    padding: 180px 0 100px;
    text-align: center;
    background: linear-gradient(to bottom, #1E1B17 0%, var(--bg-primary) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.interior-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.content-section {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-section) 40px;
}

.content-block {
    margin-bottom: 40px;
}

.content-block h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--accent-gold);
}

.content-block h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    margin-top: 30px;
}

.content-block p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 1.05rem;
}

.content-block ul {
    list-style: disc;
    margin-left: 20px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

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

/* Contact Form */
.contact-form {
    background: var(--card-bg);
    padding: 40px;
    border-radius: var(--radius-card);
    border: 1px solid var(--card-border);
}

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

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

.form-control {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: var(--font-body);
    transition: border-color 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-gold);
}

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

/* Media Queries */
@media (max-width: 1024px) {
    :root {
        --spacing-section: 70px;
    }
    .hero-title { font-size: 3.5rem; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .experience-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .game-wrapper { width: 95%; }
}

@media (max-width: 768px) {
    :root {
        --spacing-section: 50px;
    }
    .container { padding: 0 20px; }
    
    .main-nav { display: none; }
    .mobile-menu-toggle { display: flex; }
    
    .hero-title { font-size: 2.5rem; }
    .hero-description { font-size: 1.1rem; }
    
    .game-wrapper { width: 100%; aspect-ratio: 1 / 1; }
    
    .features-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; gap: 40px; }
    
    .cta-banner { width: calc(100% - 40px); padding: 60px 20px; }
    .cta-content h2 { font-size: 2rem; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 15px; }
    
    .interior-hero h1 { font-size: 2.5rem; }
}