:root {
    --primary: #0EA5E9;
    --primary-dark: #0284C7;
    --background: #0E1820;
    --surface: #1E1E2E;
    --text: #F8FAFC;
    --text-muted: #94A3B8;
    --white: #FFFFFF;
    
    --stock: #2563EB;
    --crypto: #9333EA;
    --property: #DC2626;
    --business: #EA580C;
    --wellness: #16A34A;
    
    --container: 1100px;
    --radius: 16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--background);
    overflow-x: hidden;
}

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

/* Navbar */
.navbar {
    padding: 24px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(14, 24, 32, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--primary);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
}

.discord-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

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

/* Navbar scrolled state */
.navbar.scrolled {
    background: rgba(14, 24, 32, 0.96);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

/* Hamburger button */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-muted);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 768px) {
    .hamburger { display: flex; }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--background);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 36px;
        z-index: 1000;
    }

    .nav-links.nav-open { display: flex; }

    .nav-links a {
        font-size: 1.4rem;
        font-weight: 600;
    }

    .nav-links .btn-sm {
        font-size: 1rem;
        padding: 12px 32px;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
    color: var(--white) !important; /* Force white text for all buttons */
}

.btn-discord {
    background: #5865F2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.btn-discord:hover {
    background: #4752C4;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(88, 101, 242, 0.3);
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


/* Nav Link Contrast */
.nav-links a.btn-sm {
    color: var(--white) !important;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.3);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
}

/* Hero Section */
.hero {
    padding: 160px 0 60px;
    min-height: auto;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Atmospheric background glow */
.hero-glow {
    position: absolute;
    top: -150px;
    left: -250px;
    width: 900px;
    height: 700px;
    background: radial-gradient(ellipse at center, rgba(14, 165, 233, 0.07) 0%, transparent 68%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    display: block;
    position: relative;
    z-index: 1;
}

.hero-main {
    max-width: 800px;
}

.hero-title-container {
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: 24px;
}

.game-logo {
    height: 140px;
    width: auto;
}

.hero-text-style {
    font-size: 4.5rem; /* Increased size to match the 'impact' of the previous version */
    line-height: 1.0;
    margin-bottom: 0;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

/* Showcase Section */
.showcase-intro {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.showcase-intro p {
    color: var(--text-muted);
    font-size: 0.9rem;
    max-width: 480px;
}

.wip-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: rgba(234, 179, 8, 0.1);
    border: 1px solid rgba(234, 179, 8, 0.3);
    border-radius: 100px;
    color: #EAB308;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.wip-badge::before {
    content: '🚧';
    font-size: 0.8rem;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.showcase-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 9 / 19.5;
    border-radius: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    /* Remove clipping to allow soft shadow bleed */
    overflow: visible; 
    border: none;
    background-size: cover;
    background-position: center;
    background-color: transparent;
    /* 25% Reduced Haze: Sharper image with still-soft transitions */
    mask-image: 
        linear-gradient(to right, transparent, black 5%, black 95%, transparent),
        linear-gradient(to bottom, transparent, black 3%, black 97%, transparent);
    mask-composite: intersect;
    -webkit-mask-image: 
        linear-gradient(to right, transparent, black 5%, black 95%, transparent),
        linear-gradient(to bottom, transparent, black 3%, black 97%, transparent);
    -webkit-mask-composite: source-in;
    
    /* Shadow for depth */
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}

/* Subtler Intensified Haze */
.image-placeholder::after {
    display: block;
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    box-shadow: inset 0 0 90px 30px var(--background),
                0 0 30px 10px var(--background);
    pointer-events: none;
    border-radius: 54px; 
    z-index: 2;
}

.preview-dark {
    background-image: url('assets/game_preview_dark.png');
}

.preview-light {
    background-image: url('assets/game_preview_light.png');
}

.mode-label {
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
    border: 1px solid rgba(255, 255, 255, 0.1);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.light .mode-label {
    background: rgba(255, 255, 255, 0.5);
    color: #1e1e2e;
}

@media (max-width: 900px) {
    .hero-title-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .game-logo {
        height: 80px;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .showcase-grid {
        grid-template-columns: 1fr;
    }
}

.highlight {
    background: linear-gradient(135deg, var(--primary) 0%, #38BDF8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 16px;
}



/* Studio Logo */
.studio-logo-img {
    height: 32px;
    width: auto;
    filter: invert(1) brightness(2); /* Make black SVG white for dark theme */
}

/* Badge */
.badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid var(--primary);
    border-radius: 100px;
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Waitlist Card */
.waitlist-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px; /* Increased padding for more 'air' */
    border-radius: 32px;
    margin-top: 60px;
    width: 100%;
    max-width: 800px; /* Matches hero-main width */
    text-align: center;
}

.waitlist-card h3 {
    font-size: 2.5rem; /* Larger title to match the header's energy */
    margin-bottom: 16px;
    font-weight: 800;
}

.waitlist-card p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    color: var(--text-muted);
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 500px;
    margin: 0 auto; /* Center the actions within the card */
}


/* Phone Teaser Mode */
.explorer-mode {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blurred {
    filter: blur(8px);
    opacity: 0.5;
}

.teaser-overlay {
    position: absolute;
    z-index: 10;
    text-align: center;
}

.teaser-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 10px;
}

.teaser-overlay p {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--primary);
}

/* Pillars Section */
.pillars-section {
    padding: 80px 0 60px;
}

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

.pillar {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition);
}

.pillar:hover {
    border-color: rgba(14, 165, 233, 0.25);
    background: rgba(14, 165, 233, 0.04);
    transform: translateY(-4px);
}

.pillar-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1;
}

.pillar h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.pillar p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

@media (max-width: 768px) {
    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .pillar {
        padding: 28px 24px;
    }
}

/* About Section */
.about-section {
    padding: 100px 0;
}

.card-glass {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 60px;
    border-radius: 40px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.card-glass h2 {
    font-size: 2rem;
    margin-bottom: 24px;
}

.card-glass p {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.about-p2 {
    margin-top: 20px;
}

.text-center { text-align: center; }
.muted { color: var(--text-muted); font-size: 0.8rem; margin-top: 10px; }


/* Footer */
.footer {
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0,0,0,0.2);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

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

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-btns {
        justify-content: center;
    }
    .hero-text h1 {
        font-size: 3rem;
    }
}
