:root {
    --bg-primary: #0A0A0D;
    --bg-secondary: #141417;
    --bg-card: rgba(255, 255, 255, 0.03);
    --accent-primary: #00FF88;
    --accent-secondary: #00FFCC;
    --text-primary: #F5F5F5;
    --text-secondary: #9CA3AF;
    --font-main: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --glow-primary: rgba(0, 255, 136, 0.3);
    --glow-strong: rgba(0, 255, 136, 0.6);
    --nav-height: 80px;
}

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

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

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

ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

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

/* LAYOUT */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
}

section {
    padding: 100px 0;
}

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

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

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

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

/* BUTTONS */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: var(--bg-primary);
    box-shadow: 0 4px 15px var(--glow-primary);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--glow-strong);
    color: var(--bg-primary);
}

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

.btn-outline:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    box-shadow: 0 0 20px var(--glow-primary);
}

/* HEADER */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background: rgba(10, 10, 13, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glow-primary);
    box-shadow: 0 4px 30px rgba(0, 255, 136, 0.05);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent-primary);
    letter-spacing: 1px;
    text-shadow: 0 0 10px var(--glow-primary);
}

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

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    position: relative;
    padding: 5px 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;
    box-shadow: 0 0 8px var(--accent-primary);
}

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

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

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

/* HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-image: linear-gradient(to bottom, rgba(10, 10, 13, 0.8), rgba(10, 10, 13, 1)), url('assets/images/hero-fantasy-ancient-ruins.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding-top: var(--nav-height);
}

.hero-content {
    max-width: 800px;
    text-align: center;
    z-index: 2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.legal-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.badge {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(5px);
}

.badge.warning {
    border-color: rgba(0, 255, 136, 0.3);
    color: var(--accent-primary);
}

/* GAME SECTION */
.game-section {
    background-color: var(--bg-primary);
    position: relative;
}

.game-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--glow-primary) 0%, transparent 60%);
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

.game-wrapper {
    width: 90%;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    border-radius: 20px;
    padding: 4px;
    background: linear-gradient(135deg, rgba(0,255,136,0.5), rgba(0,255,204,0.1), rgba(0,255,136,0.5));
    box-shadow: 0 10px 40px rgba(0, 255, 136, 0.15);
}

.game-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    background-color: var(--bg-secondary);
}

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

/* PAGE HEADERS */
.page-header {
    padding: 180px 0 100px;
    background-image: linear-gradient(to bottom, rgba(10, 10, 13, 0.8), rgba(10, 10, 13, 1)), url('assets/images/page-header-mystical-forest.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* CARDS & CONTENT */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(10px);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.05);
    border-color: rgba(0, 255, 136, 0.2);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-bottom: 20px;
    display: inline-block;
    text-shadow: 0 0 15px var(--glow-primary);
}

.content-block {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 50px;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

/* FORMS */
.contact-form {
    display: grid;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
}

.form-group label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 16px;
    background: var(--bg-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    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 15px rgba(0, 255, 136, 0.1);
}

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

/* FOOTER */
.site-footer {
    background-color: var(--bg-secondary);
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--accent-primary);
}

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

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

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

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

.age-warning {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid var(--text-secondary);
    border-radius: 50%;
    font-weight: bold;
    margin-bottom: 15px;
}

/* UTILITIES & ANIMATIONS */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* MEDIA QUERIES */
@media (max-width: 1024px) {
    section { padding: 70px 0; }
    .game-wrapper { width: 95%; }
}

@media (max-width: 768px) {
    .container { padding: 0 20px; }
    section { padding: 50px 0; }
    
    .mobile-toggle { display: flex; }
    
    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--nav-height));
        background: var(--bg-secondary);
        flex-direction: column;
        justify-content: center;
        transition: left 0.3s ease;
    }
    
    .nav-links.active { left: 0; }
    
    .game-wrapper {
        width: 100%;
        border-radius: 0;
        padding: 0;
        border: none;
        border-top: 2px solid var(--accent-primary);
        border-bottom: 2px solid var(--accent-primary);
    }
    
    .game-container { border-radius: 0; }
    .content-block { padding: 30px 20px; }
}