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

:root {
    --bg-dark: #010201;
    --forest-shadow: #050805;
    --mist-overlay: rgba(255, 255, 255, 0.025);
    --toxic-moss: #00ff87;
    --forest-cyan: #00c2a8;
    --shadow-violet: #5a2cff;
    --ember-red: #ff3b3b;
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    
    --grad-energy: linear-gradient(135deg, var(--toxic-moss), var(--shadow-violet));
    --grad-mist: radial-gradient(circle at center, rgba(0, 255, 135, 0.15) 0%, transparent 70%);
    
    --font-heading: 'Cinzel', serif;
    --font-body: 'Inter', sans-serif;
    
    --glass-bg: rgba(5, 8, 5, 0.6);
    --glass-border: rgba(255, 255, 255, 0.05);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    cursor: none; /* Custom cursor */
}

/* Custom Cursor */
.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 255, 135, 0.08) 0%, transparent 60%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.3s, height 0.3s, background 0.3s;
}

.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 6px;
    height: 6px;
    background-color: var(--toxic-moss);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10000;
    box-shadow: 0 0 10px var(--toxic-moss);
    transition: transform 0.1s ease-out;
}

/* Cinematic Grain */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9998;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(images/%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Typography */
h1, h2, h3, h4, .cinematic-heading {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #ffffff;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Header & Nav */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, rgba(1, 2, 1, 0.9), transparent);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--mist-overlay);
    opacity: 0;
    transform: translateY(-20px);
}

.brand-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--text-main);
    text-shadow: 0 0 20px rgba(0, 255, 135, 0.2);
}

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

.nav-links li {
    opacity: 0;
}

.nav-links a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--toxic-moss);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--toxic-moss);
}

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--bg-dark);
    background: var(--grad-energy);
    border: none;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 0 20px rgba(0, 255, 135, 0.2);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 255, 135, 0.4);
}

.btn:hover::before {
    left: 100%;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0 5%;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background-image: url('images/photo-1511497584788-876760111969.png');
    background-size: cover;
    background-position: center;
    z-index: -3;
    filter: brightness(0.3) contrast(1.2);
}

.fog-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background-image: url('images/photo-1485189255015-f5b2b2dfcc15.png');
    background-size: cover;
    opacity: 0.15;
    mix-blend-mode: screen;
    z-index: -2;
    animation: fogPan 60s linear infinite;
    pointer-events: none;
}

.fog-layer.layer-2 {
    background-image: url('images/photo-1542273917363-3b1817f69a2d.png');
    opacity: 0.1;
    animation: fogPan 90s linear infinite reverse;
    z-index: -1;
}

@keyframes fogPan {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

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

.hero-subtext {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    letter-spacing: 0.05em;
}

/* Floating Legal Box */
.hero-legal-box {
    position: absolute;
    bottom: 5vh;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(5, 8, 5, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 2.5rem;
    border-radius: 8px;
    display: flex;
    gap: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 20px rgba(255,255,255,0.02);
    z-index: 20;
    animation: float 6s ease-in-out infinite;
}

.hero-legal-box::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px; right: -1px; bottom: -1px;
    border-radius: 9px;
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
    z-index: -1;
}

.legal-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.legal-item span {
    color: var(--toxic-moss);
}

@keyframes float {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, -10px); }
}

/* Shadow Reveal Section (Broken Grid) */
.shadow-reveal {
    padding: 10rem 5%;
    position: relative;
    background: linear-gradient(to bottom, var(--bg-dark), var(--forest-shadow));
}

.reveal-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.reveal-image-wrapper {
    position: relative;
    width: 100%;
    height: 600px;
}

.reveal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(80%) sepia(20%) hue-rotate(120deg) contrast(1.2);
    box-shadow: 20px 20px 60px rgba(0,0,0,0.8);
}

.reveal-text-overlay {
    position: absolute;
    bottom: -2rem;
    right: -4rem;
    background: var(--bg-dark);
    padding: 3rem;
    border: 1px solid var(--mist-overlay);
    width: 80%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.9);
}

.reveal-content h2 {
    color: var(--toxic-moss);
    font-size: 2.5rem;
}

.reveal-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

/* Game Showcase */
.game-showcase {
    padding: 5rem 5%;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.showcase-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 80vh;
    background: radial-gradient(circle, rgba(0, 255, 135, 0.05) 0%, transparent 60%);
    pointer-events: none;
}

.game-altar {
    max-width: 1100px;
    margin: 0 auto;
    background: #000;
    border-radius: 20px;
    padding: 10px;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 255, 135, 0.1), inset 0 0 20px rgba(0, 255, 135, 0.05);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
    z-index: 10;
}

.game-altar::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(135deg, var(--forest-cyan), var(--shadow-violet));
    border-radius: 22px;
    z-index: -1;
    opacity: 0.3;
    animation: breathingGlow 4s ease-in-out infinite;
}

.game-altar:hover {
    transform: scale(1.02);
    box-shadow: 0 0 80px rgba(0, 255, 135, 0.2), inset 0 0 30px rgba(0, 255, 135, 0.1);
}

@keyframes breathingGlow {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.5; }
}

.game-iframe-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    background: #0a0a0a;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

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

/* Organic Features Section */
.features-scatter {
    padding: 10rem 5%;
    background: var(--forest-shadow);
    position: relative;
    min-height: 800px;
}

.features-title {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 2;
}

.features-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    height: 500px;
}

.feature-card {
    position: absolute;
    background: rgba(1, 2, 1, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 135, 0.1);
    padding: 2.5rem;
    width: 300px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.feature-card:hover {
    box-shadow: 0 15px 40px rgba(0, 255, 135, 0.15);
    border-color: rgba(0, 255, 135, 0.3);
    z-index: 10;
}

.feature-card h3 {
    color: var(--forest-cyan);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

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

/* Asymmetrical positioning */
.fc-1 { top: 0; left: 5%; animation: floatItem 7s infinite ease-in-out; }
.fc-2 { top: 30%; right: 5%; animation: floatItem 8s infinite ease-in-out reverse; }
.fc-3 { bottom: 0; left: 30%; animation: floatItem 6s infinite ease-in-out 1s; }
.fc-4 { top: -10%; left: 45%; animation: floatItem 9s infinite ease-in-out 0.5s; }

@keyframes floatItem {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
}

/* Parallax Realm Shift */
.realm-shift {
    height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.realm-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 150%;
    background-image: url('images/photo-1518495973542-4542c06a5843.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
    filter: brightness(0.2) contrast(1.5);
}

.realm-text {
    text-align: center;
    z-index: 1;
}

.realm-text h2 {
    font-size: 4rem;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.3);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

/* Legal Reality Check */
.reality-check {
    padding: 8rem 5%;
    background: var(--bg-dark);
    text-align: center;
    border-top: 1px solid var(--mist-overlay);
}

.reality-box {
    max-width: 800px;
    margin: 0 auto;
}

.reality-box h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
}

.reality-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.reality-item {
    padding: 2rem 1rem;
    border: 1px solid rgba(255,255,255,0.05);
    background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent);
}

.reality-item span {
    display: block;
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--ember-red);
    margin-bottom: 1rem;
}

.reality-item p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

/* Footer */
.site-footer {
    background: #000;
    padding: 6rem 5% 2rem;
    border-top: 1px solid var(--mist-overlay);
}

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

.footer-brand h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-col h5 {
    color: #fff;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 0.8rem;
}

.footer-col a {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--toxic-moss);
}

.footer-global-legal {
    background: rgba(255,255,255,0.02);
    padding: 2rem;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,0.05);
    margin-bottom: 2rem;
}

.footer-global-legal p {
    font-size: 0.75rem;
    color: #64748b;
    text-align: justify;
    line-height: 1.6;
}

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

/* Interior Pages General */
.page-header {
    padding: 12rem 5% 6rem;
    background: linear-gradient(to bottom, var(--forest-shadow), var(--bg-dark));
    text-align: center;
    border-bottom: 1px solid var(--mist-overlay);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top, rgba(0, 255, 135, 0.05), transparent 70%);
    pointer-events: none;
}

.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 6rem 5%;
}

.page-content h2 {
    color: var(--toxic-moss);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.page-content h3 {
    color: #fff;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

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

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

.page-content li {
    margin-bottom: 0.5rem;
}

/* Map Visual for Contact */
.map-visual {
    width: 100%;
    height: 400px;
    background-image: url('images/photo-1524661135-423995f22d0b.png');
    background-size: cover;
    background-position: center;
    position: relative;
    margin-top: 4rem;
    border-radius: 4px;
    filter: grayscale(100%) brightness(0.4) contrast(1.2);
}

.map-pin {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: var(--toxic-moss);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--toxic-moss);
}

.map-pin::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 1px solid var(--toxic-moss);
    border-radius: 50%;
    animation: ping 2s infinite;
}

@keyframes ping {
    0% { width: 20px; height: 20px; opacity: 1; }
    100% { width: 100px; height: 100px; opacity: 0; }
}

/* Responsive */
@media (max-width: 1024px) {
    .reveal-container { grid-template-columns: 1fr; }
    .reveal-text-overlay { position: relative; bottom: 0; right: 0; width: 100%; margin-top: -3rem; }
    .features-container { height: auto; display: flex; flex-direction: column; gap: 2rem; align-items: center; }
    .feature-card { position: relative; top: 0 !important; left: 0 !important; right: 0 !important; width: 100%; max-width: 400px; animation: none !important; }
}

@media (max-width: 768px) {
    .nav-links { display: none; } /* Mobile menu simplified out for scope, kept minimal */
    .hero-legal-box { flex-direction: column; gap: 1rem; width: 90%; padding: 1.5rem; }
    .reality-grid { grid-template-columns: 1fr 1fr; }
    .footer-top { grid-template-columns: 1fr; gap: 2rem; }
    .footer-links-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .reality-grid { grid-template-columns: 1fr; }
    .footer-links-grid { grid-template-columns: 1fr; }
}