:root {
    --bg-primary: #0b1f14;
    --bg-secondary: #123524;
    --surface-glass: rgba(255, 255, 255, 0.05);
    --surface-glass-hover: rgba(255, 255, 255, 0.08);
    --color-primary: #2ecc71;
    --color-secondary: #27ae60;
    --color-gold: #f4d03f;
    --color-brown: #6e4b2a;
    --text-primary: #ecfdf5;
    --text-secondary: #bbf7d0;
    --text-muted: #6ee7b7;
    
    --font-main: 'Poppins', sans-serif;
    --radius: 20px;
    --radius-btn: 16px;
    --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s ease-in-out;
    --max-width: 1320px;
    
    --section-spacing-desktop: 110px;
}

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

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

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(46, 204, 113, 0.05) 0%, transparent 40%),
                radial-gradient(circle at bottom right, rgba(244, 208, 63, 0.03) 0%, transparent 40%);
    z-index: -1;
    pointer-events: none;
}

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

ul {
    list-style: none;
}

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

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 31, 20, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(46, 204, 113, 0.2);
    transition: var(--transition);
}

header.scrolled {
    background: rgba(11, 31, 20, 0.95);
    box-shadow: var(--shadow-soft);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-gold);
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

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

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

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-btn);
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: var(--bg-primary);
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.5);
    filter: brightness(1.1);
}

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

.btn-outline:hover {
    background: rgba(46, 204, 113, 0.1);
    transform: translateY(-2px);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: var(--transition);
}

/* Sections */
section {
    padding: var(--section-spacing-desktop) 0;
}

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

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/images/dense-jungle-background-layer.webp');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: -1;
}

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

.hero-content h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.hero-content h1 span {
    color: var(--color-gold);
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius);
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.5));
}

/* Game Section */
.game-section {
    background: linear-gradient(to bottom, transparent, var(--bg-secondary), transparent);
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.game-container {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--surface-glass);
    border-radius: 24px;
    padding: 1.5rem;
    border: 1px solid rgba(46, 204, 113, 0.2);
    box-shadow: 0 0 50px rgba(46, 204, 113, 0.05);
    transition: var(--transition);
}

.game-container:hover {
    box-shadow: 0 0 60px rgba(46, 204, 113, 0.1);
    transform: scale(1.005);
}

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

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

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--surface-glass);
    padding: 2.5rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    text-align: left;
}

.feature-card:hover {
    background: var(--surface-glass-hover);
    transform: translateY(-10px);
    border-color: rgba(46, 204, 113, 0.3);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(46, 204, 113, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon img {
    width: 32px;
    height: 32px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-gold);
}

.feature-card p {
    color: var(--text-muted);
}

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

.page-header h1 {
    font-size: 3rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
}

/* Content Pages (Legal, About, etc) */
.content-section {
    padding: 4rem 0;
}

.content-box {
    background: var(--surface-glass);
    padding: 3rem;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.05);
    max-width: 900px;
    margin: 0 auto;
}

.content-box h2 {
    color: var(--color-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

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

.content-box p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.content-box ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    color: var(--text-secondary);
}

.content-box ul li {
    margin-bottom: 0.5rem;
    list-style-type: disc;
    color: var(--text-muted);
}

/* Form */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    color: var(--text-secondary);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: var(--font-main);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: rgba(0,0,0,0.3);
}

/* Footer */
footer {
    background: var(--bg-secondary);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(46, 204, 113, 0.1);
    margin-top: 4rem;
}

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

.footer-col h4 {
    color: var(--color-gold);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer-col p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

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

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

/* Mobile Menu Panel */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg-secondary);
    z-index: 1000;
    padding: 100px 2rem 2rem;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
    transition: var(--transition);
    border-left: 1px solid rgba(46, 204, 113, 0.2);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.mobile-menu-links a {
    font-size: 1.25rem;
    color: var(--text-primary);
    font-weight: 500;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}