/* ========================================================
   Money Mania - Premium Dark Theme CSS
   ======================================================== */
:root {
    --bg-dark: #0F0C29;
    --bg-darker: #0d0a1b;
    --bg-slate: #24243E;
    --primary-neon: #00f2fe;
    --secondary-neon: #ff0844;
    --accent-gold: #f9d423;

    --text-main: #FFFFFF;
    --text-muted: #A0ABC0;

    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, var(--bg-dark), var(--bg-slate));
    color: var(--text-main);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background animated element orbs */
.background-orbs {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.5;
    animation: float 20s infinite ease-in-out alternate;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-neon);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary-neon);
    bottom: 10%;
    right: -50px;
    animation-delay: -5s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: var(--accent-gold);
    top: 40%;
    left: 30%;
    opacity: 0.3;
    animation-delay: -10s;
}

/* Glassmorphism Utilities */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Typography styles */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    letter-spacing: -1px;
}

.neon-text {
    background: linear-gradient(90deg, var(--primary-neon), #4facfe);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.navbar .logo {
    font-size: 1.8rem;
    font-family: var(--font-heading);
    font-weight: 800;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-neon);
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12rem 5% 5rem;
    min-height: 100vh;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.cta-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 35px;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: var(--font-heading);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    border: none;
    max-width: 350px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-neon), #00c6ff);
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 242, 254, 0.5);
}

.version-info {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-left: 10px;
}

/* Stats Row */
.stats-row {
    display: flex;
    gap: 1.5rem;
    margin-top: 4rem;
}

.stat-box {
    padding: 1.5rem;
    text-align: center;
    flex: 1;
}

.stat-box h3 {
    font-size: 2rem;
    color: var(--accent-gold);
}

.stat-box p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 5px;
}

/* CSS Phone Mockup */
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    perspective: 1000px;
}

.phone-mockup {
    width: 320px;
    height: 650px;
    border-radius: 40px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transform: rotateY(-15deg) rotateX(5deg);
    box-shadow: -20px 20px 50px rgba(0, 0, 0, 0.5), inset 0 0 10px rgba(255, 255, 255, 0.1);
    position: relative;
}

.screen {
    background: var(--bg-darker);
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.8);
}

.mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: var(--glass-bg);
    border-radius: 12px;
}

.header-logo {
    font-weight: bold;
    color: var(--primary-neon);
    font-size: 1.2rem;
}

.header-balance {
    font-weight: bold;
    color: var(--accent-gold);
}

.m-game {
    width: 100%;
    height: 120px;
    border-radius: 15px;
    display: flex;
    align-items: flex-end;
    padding: 15px;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.card-1 {
    background: linear-gradient(to top right, #ff0844, #ffb199);
}

.card-2 {
    background: linear-gradient(to top right, #00c6ff, #0072ff);
}

.card-3 {
    background: linear-gradient(to top right, #f9d423, #ff4e50);
}

.mockup-btn {
    background: var(--text-main);
    color: var(--bg-dark);
    text-align: center;
    padding: 12px;
    border-radius: 10px;
    font-weight: bold;
    margin-top: auto;
}

/* Animations */
@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(50px, 30px) rotate(15deg);
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite alternate;
}

.animate-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.document-ready .animate-up {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
}

/* Responsive */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .cta-group {
        align-items: center;
    }

    .stats-row {
        justify-content: center;
    }

    .phone-mockup {
        transform: rotateY(0) rotateX(0);
        margin-top: 3rem;
    }

    .nav-links {
        display: none;
    }

    /* Simple mobile menu fix */
}

/* How It Works Section */
.how-it-works {
    padding: 8rem 5%;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.4));
    position: relative;
    z-index: 10;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.step-card {
    padding: 3rem 2rem;
    text-align: center;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.step-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.2);
}

.step-icon {
    font-size: 2.5rem;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.step-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-main);
}

.step-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

footer {
    padding: 3rem 5%;
}

.footer-content {
    padding: 2rem;
    text-align: center;
}

.footer-content .logo {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-support {
    margin-top: 12px;
    font-size: 0.95rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.support-link {
    color: var(--primary-neon);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s;
}

.support-link:hover {
    opacity: 0.75;
    text-decoration: underline;
}

.copyright {
    margin-top: 15px;
    font-size: 0.8rem;
    color: var(--text-muted);
}