/* ===================================== */
/* 1️⃣ RESET */
/* ===================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===================================== */
/* 2️⃣ GLOBAL BODY */
/* ===================================== */
body {
    font-family: 'Poppins', sans-serif;
    background: #f5f0ff;
    color: #3b2f63;
}

html {
    scroll-behavior: smooth;
}

/* ===================================== */
/* 3️⃣ HEADER */
/* ===================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    padding: 0.6rem 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(124,58,237,0.15);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo img {
    height: 60px;
}

.logo h3 {
    font-weight: bold;
    font-size: 1.2rem;
}

.earn { color: #D4AF37; }
.rakesh { color: #6d28d9; }

/* Wallet */
.wallet-box {
    padding: 6px;
    border-radius: 50px;
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    box-shadow: 0 8px 20px rgba(124,58,237,0.35);
    cursor: pointer;
    transition: 0.3s ease;
}

.wallet-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(124,58,237,0.5);
}

.wallet-inner {
    background: #ffffff;
    padding: 6px 18px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.wallet-label {
    font-size: 12px;
    color: #6d28d9;
}

.wallet-amount {
    font-size: 16px;
    font-weight: 700;
    color: #111;
}

/* Desktop Nav */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    font-weight: 500;
    color: #5b21b6;
    transition: 0.3s;
}

.nav-links a:hover {
    color: #a855f7;
}

/* ===================================== */
/* 4️⃣ HAMBURGER */
/* ===================================== */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: #5b21b6;
    border-radius: 3px;
    transition: 0.4s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* 📱 MOBILE FIX */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
    }
}

/* ===================================== */
/* 5️⃣ HERO */
/* ===================================== */
.hero {
    position: relative;
    overflow: hidden;
    padding: 12rem 2rem 7rem 2rem;
    background: linear-gradient(135deg, #7c3aed, #6d28d9, #4c1d95);
    background-size: 200% 200%;
    animation: gradientMove 10s ease infinite;
    color: #fff;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: auto;
    flex-wrap: wrap;
    gap: 2rem;
}

.hero-text h1 {
    font-size: 3.2rem;
    line-height: 1.3;
}

.btn-primary {
    cursor: pointer;
    display: inline-block;
    margin-top: 2rem;
    padding: 0.9rem 2.2rem;
    background: linear-gradient(45deg, #c084fc, #9333ea);
    border-radius: 50px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    transition: 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-4px);
}

.hero-image img {
    width: 420px;
    max-width: 100%;
}

/* Wave */
.wave {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
}

.wave svg {
    width: 100%;
    display: block;
}

/* ===================================== */
/* 7️⃣ TASK SECTION */
/* ===================================== */

.task-list {
    padding: 5rem 2rem;
    background: #f3e8ff;
    text-align: center;
}

.task-list h2 {
    font-size: 2.5rem;
    color: #5b21b6;
    margin-bottom: 1rem;
}

.task-list .section-desc {
    max-width: 700px;
    margin: 0 auto 3rem auto;
    color: #6b5ca5;
}

/* Task Grid */
.tasks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: auto;
}

/* Individual Task Card */
.task-item {
    background: #ffffff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(124,58,237,0.15);
    transition: 0.3s ease;
    text-decoration: none;
    color: #5b21b6;
    font-weight: 600;
}

.task-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(124,58,237,0.25);
}

/* ===================================== */
/* 8️⃣ FOOTER */
/* ===================================== */
.site-footer {
    background: linear-gradient(135deg, #6d28d9, #7c3aed);
    padding: 4rem 2rem;
    color: #fff;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li a {
    color: #e9d5ff;
    text-decoration: none;
}


/* ===================================== */
/* 9️⃣ MOBILE RESPONSIVE */
/* ===================================== */
@media (max-width: 768px) {

    /* Show Hamburger */
    .menu-toggle {
        display: flex;
    }

    /* Hide nav by default */
    .nav-links {
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 1.5rem;
        display: none;
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    }

    /* Show when active */
    .nav-links.active {
        display: flex;
    }

    /* Hero */
    .hero {
        padding: 8rem 1rem 5rem 1rem;
        text-align: center;
    }

    .hero-content {
        flex-direction: column;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-image img {
        width: 280px;
        margin-top: 2rem;
    }

    /* Steps */
    .steps {
        flex-direction: column;
        align-items: center;
    }


    .stat h3 {
        font-size: 2.5rem;
    }

    /* Tasks */
    .tasks {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
}

.telegram-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #0088cc;
    color: #fff;
    padding: 12px 18px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: 0.3s ease;
}

.telegram-float i {
    font-size: 18px;
}

.telegram-float:hover {
    background: #006699;
    transform: scale(1.05);
}



