@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* ─── CSS Variables ─────────────────────────────────────────────────── */
:root {
    --bg:       #f0f4ff;
    --accent:   #6c3aff;
    --accent-2: #ff3a7c;
    --accent-3: #ffb800;
    --accent-4: #00c9a7;
    --card:     #ffffff;
    --text:     #1a1035;
    --sub:      #6b6b8a;
    --muted:    #b0b0cc;
    --radius:   20px;
}

/* ─── Reset & Base ───────────────────────────────────────────────────── */
*, *::before, *::after {
    margin: 0; padding: 0; box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ─── Mesh Background ────────────────────────────────────────────────── */
body::before {
    content: '';
    position: fixed; inset: 0; z-index: 0;
    background:
        radial-gradient(ellipse 55% 45% at 10% 5%,  rgba(108,58,255,0.18) 0%, transparent 65%),
        radial-gradient(ellipse 45% 40% at 90% 15%, rgba(255,58,124,0.16) 0%, transparent 60%),
        radial-gradient(ellipse 50% 35% at 50% 95%, rgba(0,201,167,0.13)  0%, transparent 60%),
        radial-gradient(ellipse 40% 30% at 80% 80%, rgba(255,184,0,0.12)  0%, transparent 55%);
    pointer-events: none;
}

/* ─── Floating Blobs ─────────────────────────────────────────────────── */
.blob { position:fixed; border-radius:50%; filter:blur(70px); pointer-events:none; z-index:0; animation:float 8s ease-in-out infinite alternate; }
.blob-1 { width:340px; height:340px; background:rgba(108,58,255,0.13); top:-80px; left:-80px; animation-delay:0s; }
.blob-2 { width:280px; height:280px; background:rgba(255,58,124,0.12); top:20%; right:-60px; animation-delay:2s; }
.blob-3 { width:240px; height:240px; background:rgba(0,201,167,0.10); bottom:10%; left:20%; animation-delay:4s; }

@keyframes float {
    from { transform: translate(0,0) scale(1); }
    to   { transform: translate(20px,20px) scale(1.07); }
}

/* ─── Layout ─────────────────────────────────────────────────────────── */
.page-wrap { position:relative; z-index:2; padding:40px 20px 80px; }
.container { max-width:1060px; margin:0 auto; }

/* ─── Hero Card ──────────────────────────────────────────────────────── */
.hero-card {
    position: relative;
    background: linear-gradient(135deg, #6c3aff 0%, #9b59ff 45%, #ff3a7c 100%);
    border-radius: 28px;
    padding: 56px 40px 52px;
    text-align: center;
    margin-bottom: 28px;
    overflow: hidden;
    box-shadow: 0 20px 70px rgba(108,58,255,0.35), 0 4px 20px rgba(255,58,124,0.2);
    animation: fadeUp .6s ease both;
}

.hero-card::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='600' height='600' viewBox='0 0 600 600' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.06)' stroke-width='1'%3E%3Ccircle cx='300' cy='300' r='100'/%3E%3Ccircle cx='300' cy='300' r='180'/%3E%3Ccircle cx='300' cy='300' r='260'/%3E%3Ccircle cx='300' cy='300' r='340'/%3E%3C/g%3E%3C/svg%3E") center/cover;
    pointer-events: none;
}
.hero-card::after {
    content: ''; position: absolute;
    width:250px; height:250px; border-radius:50%;
    background: rgba(255,255,255,0.07);
    top:-80px; right:-60px; pointer-events:none;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.35);
    backdrop-filter: blur(10px);
    border-radius: 999px; padding: 7px 18px;
    font-family: 'Nunito', sans-serif; font-size: 12px; font-weight: 800;
    letter-spacing: .08em; text-transform: uppercase;
    color: #fff; margin-bottom: 22px;
}
.hero-badge svg { width:15px; height:15px; fill:#fff; }

.hero-card h1 {
    font-family: 'Nunito', sans-serif;
    font-size: clamp(30px, 5vw, 52px); font-weight: 900;
    letter-spacing: -.02em; line-height: 1.1;
    color: #fff; margin-bottom: 16px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.hero-text {
    font-size: 16px; color: rgba(255,255,255,0.82);
    font-weight: 400; max-width: 440px; margin: 0 auto; line-height: 1.65;
}

.stats-strip {
    display: flex; justify-content: center; gap: 0;
    margin-top: 40px; padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.2);
}
.stat { flex:1; max-width:160px; text-align:center; position:relative; }
.stat + .stat::before {
    content:''; position:absolute; left:0; top:20%; height:60%; width:1px;
    background: rgba(255,255,255,0.2);
}
.stat-num  { font-family:'Nunito',sans-serif; font-size:26px; font-weight:900; color:#fff; line-height:1; }
.stat-label { font-size:11px; color:rgba(255,255,255,0.65); margin-top:5px; letter-spacing:.05em; text-transform:uppercase; }

/* ─── Section Label ──────────────────────────────────────────────────── */
.section-label {
    font-family: 'Nunito', sans-serif; font-size:12px; font-weight:800;
    letter-spacing:.1em; text-transform:uppercase; color:var(--accent);
    margin-bottom:16px; display:flex; align-items:center; gap:10px;
}
.section-label::after {
    content:''; flex:1; height:1px;
    background: linear-gradient(90deg, rgba(108,58,255,0.2), transparent);
}

/* ─── Task Grid ──────────────────────────────────────────────────────── */
.task-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(300px,1fr)); gap:20px; }

/* ─── Task Card ──────────────────────────────────────────────────────── */
.task-card {
    background: #fff; border-radius: var(--radius);
    padding: 30px 26px;
    box-shadow: 0 8px 40px rgba(108,58,255,0.08), 0 2px 8px rgba(0,0,0,0.04);
    border: 1.5px solid rgba(108,58,255,0.08);
    position: relative; overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
    animation: fadeUp .6s ease both;
}
.task-card:nth-child(1) { animation-delay:.1s; }
.task-card:nth-child(2) { animation-delay:.2s; }

.task-card::before {
    content:''; position:absolute; top:0; left:0; right:0; height:4px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    border-radius: var(--radius) var(--radius) 0 0;
}
.task-card:nth-child(2)::before { background:linear-gradient(90deg,var(--accent-2),var(--accent-3)); }

.task-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(108,58,255,0.16), 0 4px 16px rgba(0,0,0,0.06);
    border-color: rgba(108,58,255,0.2);
}

.task-card::after { content:'✦'; position:absolute; bottom:18px; right:20px; font-size:28px; color:rgba(108,58,255,0.07); pointer-events:none; transition:color .3s; }
.task-card:nth-child(2)::after { color:rgba(255,58,124,0.07); }
.task-card:hover::after { color:rgba(108,58,255,0.14); }

.card-icon { width:52px; height:52px; border-radius:14px; display:flex; align-items:center; justify-content:center; margin-bottom:18px; }
.card-icon-1 { background:linear-gradient(135deg,#ede8ff,#d4c7ff); }
.card-icon-2 { background:linear-gradient(135deg,#ffe8f2,#ffc7df); }
.card-icon svg { width:24px; height:24px; }
.icon-purple { fill:#6c3aff; }
.icon-pink   { fill:#ff3a7c; }

.task-card h2 { font-family:'Nunito',sans-serif; font-size:20px; font-weight:800; color:var(--text); margin-bottom:8px; letter-spacing:-.01em; }
.task-card > p { font-size:13.5px; color:var(--sub); line-height:1.7; margin-bottom:22px; }

/* ─── Reward Box ─────────────────────────────────────────────────────── */
.reward-box { border-radius:14px; padding:16px 18px; margin-bottom:22px; }
.reward-box-1 { background:linear-gradient(135deg,#f5f0ff,#ece4ff); }
.reward-box-2 { background:linear-gradient(135deg,#fff0f6,#ffe4ef); }
.reward-box h3 { font-family:'Nunito',sans-serif; font-size:10px; font-weight:800; letter-spacing:.1em; text-transform:uppercase; color:var(--muted); margin-bottom:12px; }
.reward-box ul { list-style:none; padding:0; }
.reward-box ul li { display:flex; align-items:center; justify-content:space-between; font-size:13px; padding:8px 0; border-bottom:1px solid rgba(0,0,0,0.05); color:var(--sub); transition:color .2s; }
.reward-box ul li:last-child { border-bottom:none; }
.reward-box ul li:hover { color:var(--text); }
.network-name { display:flex; align-items:center; gap:8px; font-weight:600; }
.dot        { width:8px; height:8px; border-radius:50%; flex-shrink:0; }
.dot-mtn    { background:#f59e0b; }
.dot-airtel { background:#ef4444; }
.dot-glo    { background:#22c55e; }
.dot-9mob   { background:#3b82f6; }
.reward-pill { font-family:'Nunito',sans-serif; font-size:12px; font-weight:800; padding:3px 12px; border-radius:999px; }
.pill-purple { color:#6c3aff; background:rgba(108,58,255,0.1); }
.pill-pink   { color:#ff3a7c; background:rgba(255,58,124,0.1); }

/* ─── Buttons ────────────────────────────────────────────────────────── */
.btn-1, .btn-2 {
    display:inline-flex; align-items:center; gap:9px; text-decoration:none;
    color:#fff; padding:13px 22px; border-radius:12px;
    font-family:'Nunito',sans-serif; font-size:14px; font-weight:800;
    border:none; cursor:pointer;
    transition:transform .2s, box-shadow .3s;
}
.btn-1 { background:linear-gradient(135deg,#6c3aff,#9b59ff); box-shadow:0 6px 24px rgba(108,58,255,0.35); }
.btn-2 { background:linear-gradient(135deg,#ff3a7c,#ff6fa3); box-shadow:0 6px 24px rgba(255,58,124,0.35); }
.btn-1:hover { transform:translateY(-2px); box-shadow:0 12px 35px rgba(108,58,255,0.45); }
.btn-2:hover { transform:translateY(-2px); box-shadow:0 12px 35px rgba(255,58,124,0.45); }

.btn-arrow { width:16px; height:16px; stroke:#fff; fill:none; stroke-width:2.5; stroke-linecap:round; stroke-linejoin:round; transition:transform .2s; }
.btn-1:hover .btn-arrow, .btn-2:hover .btn-arrow { transform:translateX(4px); }

/* ─── Trust Bar ──────────────────────────────────────────────────────── */
.trust-bar {
    display:flex; justify-content:center; align-items:center; gap:24px;
    margin-top:28px; padding:18px 24px;
    background:#fff; border-radius:16px;
    box-shadow:0 4px 20px rgba(108,58,255,0.07);
    border:1.5px solid rgba(108,58,255,0.07);
    animation:fadeUp .6s .3s ease both; flex-wrap:wrap;
}
.trust-item { display:flex; align-items:center; gap:8px; font-size:13px; font-weight:600; color:var(--sub); }
.trust-icon { width:30px; height:30px; border-radius:8px; display:flex; align-items:center; justify-content:center; font-size:15px; }
.ti-green  { background:#dcfce7; }
.ti-blue   { background:#dbeafe; }
.ti-yellow { background:#fef9c3; }

/* ─── Alerts ─────────────────────────────────────────────────────────── */
.alert { padding:14px 18px; border-radius:12px; margin-bottom:20px; font-size:13.5px; font-weight:500; display:flex; align-items:flex-start; gap:10px; border:1.5px solid transparent; }
.alert-success { background:#f0fdf4; border-color:#bbf7d0; color:#166534; }
.alert-error   { background:#fff1f2; border-color:#fecdd3; color:#9f1239; }

/* ─── Animation ──────────────────────────────────────────────────────── */
@keyframes fadeUp {
    from { opacity:0; transform:translateY(22px); }
    to   { opacity:1; transform:translateY(0); }
}

/* ─── Responsive ─────────────────────────────────────────────────────── */
@media (max-width:640px) {
    .page-wrap { padding:20px 14px 60px; }
    .hero-card { padding:40px 20px 36px; }
    .stats-strip { gap:0; }
    .task-card { padding:22px 18px; }
    .btn-1, .btn-2 { width:100%; justify-content:center; }
    .trust-bar { gap:16px; }
}





/* TASK PAGE MAIN CARD */
.task-detail-card {
    max-width: 900px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 22px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* BACK LINK */
.back-link {
    display: inline-block;
    margin-bottom: 25px;
    font-size: 15px;
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}

/* HEADER */
.task-header {
    margin-bottom: 30px;
}

.task-badge {
    display: inline-block;
    background: #eef2ff;
    color: #4338ca;
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.task-header h1 {
    font-size: 48px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 15px;
    line-height: 1.2;
}

.task-description {
    font-size: 22px;
    color: #4b5563;
    line-height: 1.7;
}

/* INSTRUCTION BOX */
.instruction-box {
    background: #f9fafb;
    border-radius: 18px;
    padding: 28px;
    margin: 30px 0;
    border: 1px solid #e5e7eb;
}

.instruction-box h3 {
    font-size: 26px;
    margin-bottom: 18px;
    color: #111827;
}

.instruction-box ol {
    padding-left: 24px;
}

.instruction-box li {
    margin-bottom: 14px;
    font-size: 22px;
    color: #374151;
    line-height: 1.6;
}

/* REWARD BOX */
.reward-box {
    background: #f9fafb;
    border-radius: 18px;
    padding: 28px;
    margin: 30px 0;
    border: 1px solid #e5e7eb;
}

.reward-box h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.reward-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.reward-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 18px;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
}

.reward-row span {
    font-size: 18px;
    color: #374151;
    font-weight: 500;
}

.reward-row strong {
    font-size: 20px;
    color: #111827;
}

/* BUTTONS */
.task-actions {
    display: flex;
    gap: 16px;
    margin-top: 35px;
    flex-wrap: wrap;
}

.task-btn {
    text-decoration: none;
    padding: 18px 26px;
    border-radius: 14px;
    font-size: 18px;
    font-weight: 600;
    transition: 0.3s ease;
    display: inline-block;
}

/* YouTube Button */
.youtube-btn {
    background: #ff0000;
    color: white;
    box-shadow: 0 8px 20px rgba(255,0,0,0.18);
}

.youtube-btn:hover {
    background: #e60000;
    transform: translateY(-2px);
}

/* Verify Button */
.verify-btn {
    background: #111827;
    color: white;
    box-shadow: 0 8px 20px rgba(17,24,39,0.15);
}

.verify-btn:hover {
    background: #000000;
    transform: translateY(-2px);
}

/* MOBILE */
@media (max-width: 768px) {
    .task-detail-card {
        padding: 24px;
        margin: 20px auto;
    }

    .task-header h1 {
        font-size: 34px;
    }

    .task-description {
        font-size: 18px;
    }

    .instruction-box li {
        font-size: 18px;
    }

    .task-actions {
        flex-direction: column;
    }

    .task-btn {
        width: 100%;
        text-align: center;
    }
}




.verify-card {
    max-width: 760px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 22px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.verify-header {
    margin-bottom: 25px;
}

.verify-header h1 {
    font-size: 40px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
    line-height: 1.2;
}

.verify-text {
    font-size: 18px;
    color: #4b5563;
    line-height: 1.7;
}

.verify-form {
    margin-top: 25px;
}

.form-label {
    display: block;
    font-size: 17px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 12px;
}

.form-input {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    padding: 16px 18px;
    font-size: 16px;
    color: #111827;
    margin-bottom: 18px;
    outline: none;
    transition: 0.3s ease;
    background: #ffffff;
}

.form-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}

.full-btn {
    width: 100%;
    text-align: center;
    border: none;
    cursor: pointer;
}

.verify-card .instruction-box p {
    font-size: 17px;
    color: #4b5563;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .verify-card {
        padding: 24px;
        margin: 20px auto;
    }

    .verify-header h1 {
        font-size: 30px;
    }

    .verify-text {
        font-size: 16px;
    }
}




.claim-card,
.success-card {
    max-width: 760px;
    margin: 40px auto;
    background: #ffffff;
    border-radius: 22px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.claim-header h1,
.success-card h1 {
    font-size: 38px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
    line-height: 1.2;
}

.claim-text,
.success-text {
    font-size: 18px;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 24px;
}

.claim-form {
    margin-top: 24px;
}

.form-select {
    appearance: none;
    background: #ffffff;
}

.success-icon,
.error-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.success-icon {
    background: #dcfce7;
    color: #166534;
}

.error-icon {
    background: #fee2e2;
    color: #991b1b;
}

.success-card {
    text-align: center;
}

.success-details {
    margin: 28px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

.error-card {
    text-align: center;
}

@media (max-width: 768px) {
    .claim-card,
    .success-card {
        padding: 24px;
        margin: 20px auto;
    }

    .claim-header h1,
    .success-card h1 {
        font-size: 30px;
    }

    .claim-text,
    .success-text {
        font-size: 16px;
    }
}