/* ===== CSS VARIABLES & DESIGN SYSTEM ===== */
:root {
    /* Colors */
    --bg-primary: #040406;
    --bg-secondary: #0c0f14;
    --card-bg: rgba(255, 255, 255, 0.04);
    
    --toxic-green: #00ff9f;
    --plasma-purple: #6a00f4;
    --monster-red: #ff3d5a;
    --electric-blue: #00d9ff;
    
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    
    /* Gradients */
    --grad-main: linear-gradient(135deg, var(--toxic-green), var(--plasma-purple));
    --grad-energy: linear-gradient(135deg, var(--electric-blue), var(--toxic-green));
    
    /* Typography */
    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    /* Effects */
    --glass-blur: blur(20px);
    --border-glow: 1px solid rgba(255, 255, 255, 0.08);
    --shadow-neon-green: 0 0 40px rgba(0, 255, 159, 0.2);
    --shadow-neon-purple: 0 0 40px rgba(106, 0, 244, 0.2);
    --shadow-neon-blue: 0 0 40px rgba(0, 217, 255, 0.2);
    
    /* Layout */
    --nav-height: 80px;
    --container-w: 1200px;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

body {
    overflow-x: hidden;
    position: relative;
}

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

ul {
    list-style: none;
}

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 800;
}

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

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 2rem;
}

.section-desc.centered {
    margin-inline: auto;
}

/* ===== UTILITIES ===== */
.container {
    width: 100%;
    max-width: var(--container-w);
    margin: 0 auto;
    padding: 0 2rem;
}

.max-w-800 { max-width: 800px; }
.text-center { text-align: center; }
.relative { position: relative; }
.z-10 { z-index: 10; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.w-100 { width: 100%; }

.section-padding {
    padding: 8rem 0;
}

.glass-card {
    background: var(--card-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: var(--border-glow);
    border-radius: 20px;
    padding: 2.5rem;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
}

.glow-border-purple:hover { box-shadow: var(--shadow-neon-purple); border-color: rgba(106, 0, 244, 0.4); }
.glow-border-green:hover { box-shadow: var(--shadow-neon-green); border-color: rgba(0, 255, 159, 0.4); }
.glow-border-blue:hover { box-shadow: var(--shadow-neon-blue); border-color: rgba(0, 217, 255, 0.4); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-primary);
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1rem;
}

.btn-primary {
    background: var(--toxic-green);
    color: var(--bg-primary);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--toxic-green);
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(0, 255, 159, 0.5);
    transform: scale(1.05);
}

.btn-secondary:hover {
    background: rgba(0, 255, 159, 0.1);
}

/* ===== BACKGROUND PARTICLES ===== */
.particles-container {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(circle at 50% 50%, #0c0f14 0%, #040406 100%);
}

.particle {
    position: absolute;
    background: var(--toxic-green);
    border-radius: 50%;
    opacity: 0.2;
    filter: blur(2px);
}

/* ===== HEADER (APPLE STYLE FLOATING) ===== */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    height: var(--nav-height);
    z-index: 100;
    transition: all 0.4s ease;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(4, 4, 6, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

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

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
}

.logo-icon {
    background: var(--grad-main);
    color: var(--bg-primary);
    width: 36px; height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 900;
}

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

.nav-links a {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
}

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

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

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

.hero-img {
    width: 100%; height: 115%;
    object-fit: cover;
    object-position: center;
    transform-origin: center;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(4,4,6,0.3) 0%, rgba(4,4,6,1) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    margin-bottom: 1.5rem;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 300;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0.6;
}

.scroll-indicator span {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 50%;
    background: var(--toxic-green);
    animation: scrollDown 2s infinite ease-in-out;
}

@keyframes scrollDown {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(200%); }
}

/* ===== MONSTER WORLD (SPLIT SECTION) ===== */
.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.feature-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.125rem;
    color: var(--text-primary);
}

.feature-list li::before {
    content: '→';
    color: var(--plasma-purple);
    font-weight: bold;
}

.image-wrapper {
    padding: 1rem;
    overflow: hidden;
}

.monster-art {
    border-radius: 12px;
    width: 100%;
    height: auto;
    object-fit: cover;
    filter: contrast(1.1) saturate(1.2);
}

/* ===== GAME SHOWCASE ===== */
.game-showcase {
    position: relative;
    z-index: 10;
    background: radial-gradient(circle at center, rgba(106, 0, 244, 0.05) 0%, transparent 70%);
}

.game-container-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px;
    margin: 4rem auto 0;
    aspect-ratio: 16/9;
}

.game-glow-aura {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 105%; height: 105%;
    background: var(--grad-main);
    filter: blur(50px);
    opacity: 0.15;
    z-index: 1;
    border-radius: 30px;
    animation: pulseAura 4s infinite alternate;
}

@keyframes pulseAura {
    0% { opacity: 0.1; transform: translate(-50%, -50%) scale(0.98); }
    100% { opacity: 0.25; transform: translate(-50%, -50%) scale(1.02); }
}

.game-frame {
    position: relative;
    z-index: 2;
    width: 100%; height: 100%;
    padding: 0;
    overflow: hidden;
    border: 2px solid rgba(0, 255, 159, 0.2);
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

.game-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: #000;
}

/* ===== FEATURES GRID ===== */
.features-grid {
    position: relative;
    z-index: 10;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    padding: 2.5rem 2rem;
    text-align: left;
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    background: var(--card-bg);
    padding: 1rem;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
}

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

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

.feature-card:hover {
    box-shadow: var(--shadow-neon-blue);
    border-color: rgba(0, 217, 255, 0.3);
}

/* ===== PARALLAX SECTION ===== */
.parallax-section {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.parallax-bg::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(4, 4, 6, 0.7);
}

.parallax-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    padding: 2rem;
}

/* ===== TRUST & LEGAL SECTION ===== */
.trust-legal {
    position: relative;
    z-index: 10;
    background: linear-gradient(to bottom, transparent, rgba(12, 15, 20, 1));
}

.trust-card {
    padding: 2rem;
}

.trust-card h4 {
    font-size: 1.1rem;
    color: var(--toxic-green);
    margin-bottom: 0.5rem;
}

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

/* ===== FOOTER ===== */
.main-footer {
    background: var(--bg-primary);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    position: relative;
    z-index: 10;
}

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

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

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

.footer-links a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

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

.legal-disclaimer {
    padding: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
    border-color: rgba(255, 61, 90, 0.2);
}

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

/* ===== INNER PAGES ===== */
.page-header {
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: var(--nav-height);
}

.page-header-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}

.text-content h1, .text-content h2, .text-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

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

.legal-page h1 { font-size: 2.5rem; }
.legal-page h2 { font-size: 1.5rem; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 0.5rem; }

/* Contact Form */
.contact-form-wrapper { padding: 3rem; }
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; color: var(--text-secondary); font-size: 0.9rem; }
.form-group input, .form-group textarea {
    width: 100%; padding: 1rem;
    background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px; color: var(--text-primary); font-family: var(--font-primary);
    transition: border-color 0.3s ease;
}
.form-group input:focus, .form-group textarea:focus {
    outline: none; border-color: var(--electric-blue);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .split-layout { grid-template-columns: 1fr; text-align: center; }
    .feature-list { align-items: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
    .footer-brand p { margin: 1rem auto; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .section-padding { padding: 4rem 0; }
    .game-container-wrapper { width: 95%; aspect-ratio: auto; height: 60vh; }
    .grid-4 { grid-template-columns: 1fr; }
    .page-header { height: 40vh; }
}

@media (max-width: 480px) {
    .nav-container { padding: 0 1rem; }
    .game-container-wrapper { width: 100%; height: 75vh; }
    .btn-large { padding: 1rem 2rem; }
}