/* ============================================================
   FONTS
   ============================================================ */
@font-face {
    font-family: "Poppins";
    src: url("../fonts/poppins-regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Poppins";
    src: url("../fonts/poppins-medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Poppins";
    src: url("../fonts/poppins-semibold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Poppins";
    src: url("../fonts/poppins-bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
}

img,
svg {
    display: block;
}

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

p {
    margin: 0;
    color: var(--muted);
}

h1,
h2,
h3,
h4 {
    margin: 0;
    color: var(--text);
    line-height: 1.15;
    letter-spacing: -0.015em;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

h1 {
    font-size: clamp(2rem, 4.8vw, 3.5rem);
    max-width: 860px;
}

h2 {
    font-size: clamp(1.4rem, 3.2vw, 2.3rem);
    line-height: 1.22;
}

h3 {
    font-size: 1.05rem;
    line-height: 1.35;
}

.brand-accent {
    color: var(--primary);
    background: linear-gradient(135deg, #7E22CE 0%, #A855F7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

code {
    border: 1px solid var(--border);
    border-radius: 6px;
    background: #f1edff;
    color: var(--primary);
    font-size: 0.88em;
    padding: 0.1rem 0.35rem;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
    width: 100%;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(124, 92, 246, 0.1);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.header-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 22px;
    min-height: 76px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.brand img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 24px rgba(124, 92, 246, 0.28);
}

.brand span {
    display: grid;
    min-width: 0;
}

.brand strong {
    font-size: 1rem;
    font-weight: 700;
    white-space: nowrap;
    color: var(--text);
}

.brand small {
    max-width: 260px;
    overflow: hidden;
    color: var(--muted);
    font-size: 0.72rem;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.site-nav a {
    border-radius: 8px;
    color: #6b7280;
    font-size: 0.87rem;
    font-weight: 600;
    padding: 0.62rem 0.82rem;
    white-space: nowrap;
    transition: all 160ms ease;
}

.site-nav a:hover,
.site-nav a.active {
    background: #f1edff;
    color: var(--primary);
}

.header-cta {
    display: flex;
    justify-content: flex-end;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 48px;
    border: 0;
    border-radius: 14px;
    cursor: pointer;
    font: inherit;
    font-weight: 700;
    line-height: 1;
    padding: 0.92rem 1.4rem;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 12px 28px rgba(124, 92, 246, 0.32);
}

.btn-primary:hover {
    background: #6a4ee8;
    box-shadow: 0 16px 36px rgba(124, 92, 246, 0.42);
}

.btn-dark {
    background: #1a1a2e;
    color: #fff;
    box-shadow: 0 8px 22px rgba(26, 26, 46, 0.28);
}

.btn-dark:hover {
    background: #2a2a42;
    box-shadow: 0 12px 30px rgba(26, 26, 46, 0.36);
}

.btn-secondary {
    border: 1.5px solid var(--border);
    background: #fff;
    color: var(--text);
}

.btn-secondary:hover {
    background: #f8f5ff;
    border-color: rgba(124, 92, 246, 0.3);
}

.btn-small {
    min-height: 42px;
    padding: 0.7rem 1rem;
    font-size: 0.86rem;
    border-radius: 10px;
}

.icon {
    width: 1.12rem;
    height: 1.12rem;
    flex: 0 0 auto;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: #fff;
    padding: 10px;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    height: 2px;
    margin: 4px 0;
    border-radius: 999px;
    background: var(--text);
}

/* ============================================================
   EYEBROW / BADGE
   ============================================================ */
.eyebrow {
    display: inline-flex;
    width: fit-content;
    border: 1.5px solid rgba(124, 92, 246, 0.2);
    border-radius: 999px;
    background: rgba(124, 92, 246, 0.08);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.35rem 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
    position: relative;
    overflow: hidden;
    min-height: min(780px, calc(100vh - 42px));
    background: #f2f3f8;
}

.hero::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -80px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 92, 246, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 80px;
    background: #fff;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(310px, 340px);
    gap: 48px;
    align-items: center;
    padding: 60px 0 90px;
}

.hero-copy {
    display: grid;
    gap: 22px;
}

.hero-copy h1 {
    font-size: clamp(2rem, 4.2vw, 3.25rem);
    letter-spacing: -0.02em;
    line-height: 1.1;
    overflow-wrap: break-word;
    word-break: break-word;
}

.hero-copy p {
    max-width: 580px;
    font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    line-height: 1.6;
}

.hero-actions,
.page-actions,
.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

/* Hero balance card — mirrors the app's purple balance card */
.hero-balance-card {
    display: grid;
    gap: 16px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--primary-dark, #450A75) 0%, var(--primary, #7E22CE) 100%);
    padding: 24px 28px;
    color: #fff;
    box-shadow: 0 18px 48px rgba(124, 92, 246, 0.3);
    margin-top: 8px;
}

.hero-balance-card .hbc-top {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hero-balance-card .hbc-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.18);
    display: grid;
    place-items: center;
    font-size: 1.4rem;
}

.hero-balance-card .hbc-label {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 500;
}

.hero-balance-card .hbc-amount {
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
}

.hero-balance-card .hbc-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    border-radius: 12px;
    background: #1a1a2e;
    color: #fff;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 13px 20px;
    cursor: pointer;
    width: 100%;
    justify-content: center;
    transition: background 160ms ease, transform 160ms ease;
}

.hero-balance-card .hbc-btn:hover {
    background: #2a2a42;
    transform: translateY(-1px);
}

.hero-proof {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    max-width: 720px;
}

.proof-item {
    border: 1.5px solid rgba(124, 92, 246, 0.12);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.95);
    padding: 14px 16px;
    box-shadow: 0 4px 16px rgba(124, 92, 246, 0.08);
    transition: transform 160ms ease, box-shadow 160ms ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 84px;
}

.proof-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(124, 92, 246, 0.14);
}

.proof-item strong {
    display: block;
    color: var(--primary);
    font-size: 1.18rem;
    line-height: 1.2;
    font-weight: 700;
    white-space: nowrap;
}

.proof-item span {
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.3;
    margin-top: 3px;
    white-space: nowrap;
}

.hero-visual {
    justify-self: center;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.section {
    padding: 86px 0;
}

.section-soft {
    background: #fff;
}

.section-alt {
    background: #f2f3f8;
}

.section-purple {
    background: linear-gradient(135deg, var(--primary-dark, #450A75) 0%, var(--primary, #7E22CE) 100%);
}

.section-head {
    display: grid;
    gap: 14px;
    max-width: 760px;
    margin-bottom: 40px;
}

.section-head.center {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
    justify-items: center;
}

/* ============================================================
   FEATURE / TASK CARDS (matches Captcha Tasks screen)
   ============================================================ */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.feature-card,
.info-card,
.contact-card,
.download-panel {
    border: 1.5px solid rgba(124, 92, 246, 0.1);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(124, 92, 246, 0.07);
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.feature-card:hover,
.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(124, 92, 246, 0.14);
}

.feature-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 22px;
    position: relative;
    overflow: hidden;
}

/* Task reward badge — Stitch amber gold styling */
.feature-card::before {
    content: attr(data-badge);
    position: absolute;
    top: 14px;
    right: 14px;
    border-radius: 999px;
    background: #FEF3C7;
    color: #92400E;
    border: 1px solid #FDE68A;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 3px 10px;
    line-height: 1.4;
}

.feature-card .feature-icon,
.contact-icon,
.info-icon {
    display: inline-grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 12px;
    background: #F3E8FF;
    color: var(--primary);
}

.feature-card .feature-icon .icon,
.contact-icon .icon,
.info-icon .icon {
    width: 24px;
    height: 24px;
}

.feature-card p {
    font-size: 0.9rem;
    line-height: 1.5;
}

.feature-card h2,
.info-card h2,
.download-panel h2,
.screenshot-copy h2 {
    font-size: 1.08rem;
    font-weight: 700;
}

.feature-card h3 {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text);
}

.feature-card .detail {
    color: var(--muted);
    font-size: 0.85rem;
}

.task-specs {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--primary);
    background: #FAF5FF;
    border: 1px solid #E9D5FF;
    border-radius: 8px;
    padding: 6px 10px;
    margin-top: auto;
    width: fit-content;
}

.task-specs .icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* ============================================================
   SCREENSHOTS GRID
   ============================================================ */
.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.screenshot-card {
    display: grid;
    justify-items: center;
    gap: 18px;
}

.screenshot-copy {
    text-align: center;
}

.screenshot-copy h3 {
    margin-bottom: 6px;
    font-weight: 700;
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
    background: linear-gradient(135deg, #f8f5ff 0%, #fff 50%, #f2f3f8 100%);
    padding: 70px 0 56px;
}

.page-hero-inner {
    display: grid;
    gap: 22px;
    max-width: 860px;
}

.page-hero h1 {
    font-size: clamp(2rem, 5.5vw, 3.8rem);
}

.page-hero p {
    max-width: 760px;
    font-size: 1.05rem;
}

/* ============================================================
   INFO GRID
   ============================================================ */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.info-card {
    display: grid;
    gap: 12px;
    padding: 24px;
}

/* ============================================================
   DOWNLOAD SECTION
   ============================================================ */
.download-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
    gap: 28px;
    align-items: start;
}

.download-panel {
    display: grid;
    gap: 18px;
    padding: 28px;
}

.download-details {
    display: grid;
    gap: 10px;
}

.download-panel > .info-grid {
    grid-template-columns: 1fr;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
}

.detail-row span:first-child {
    color: var(--muted);
}

.detail-row strong {
    text-align: right;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
    display: grid;
    gap: 12px;
}

.faq-item {
    border: 1.5px solid rgba(124, 92, 246, 0.1);
    border-radius: 14px;
    background: #fff;
    padding: 4px 20px;
    transition: border-color 200ms ease;
}

.faq-item[open] {
    border-color: rgba(124, 92, 246, 0.3);
}

.faq-item summary {
    cursor: pointer;
    color: var(--text);
    font-weight: 700;
    padding: 16px 0;
}

.faq-item p {
    padding: 0 0 16px;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 22px;
}

.contact-card strong,
.contact-card span,
.contact-card a {
    display: block;
}

.contact-card span {
    color: var(--muted);
    font-size: 0.9rem;
}

.contact-card a {
    color: var(--primary);
    font-weight: 700;
    overflow-wrap: anywhere;
}

/* ============================================================
   LEGAL
   ============================================================ */
.legal-wrap {
    display: grid;
    gap: 18px;
    max-width: 880px;
}

.legal-meta {
    border: 1.5px solid rgba(124, 92, 246, 0.12);
    border-radius: 14px;
    background: #fff;
    padding: 18px;
}

.legal-section {
    border-bottom: 1px solid var(--border);
    padding: 24px 0;
}

.legal-section h2 {
    margin-bottom: 10px;
    font-size: 1.35rem;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
    background: linear-gradient(135deg, var(--primary-dark, #450A75) 0%, var(--primary, #7E22CE) 100%);
    color: #fff;
    padding: 64px 0;
    position: relative;
    overflow: hidden;
}

.cta-band::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.cta-band::after {
    content: "";
    position: absolute;
    bottom: -80px;
    left: -40px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.cta-band h2,
.cta-band p {
    color: #fff;
}

.cta-band .eyebrow {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.cta-band-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
}

.cta-band-inner div {
    display: grid;
    gap: 12px;
    max-width: 700px;
}

.cta-band .btn-dark {
    background: #1a1a2e;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
    flex-shrink: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: #11131f;
    color: #fff;
    padding: 56px 0 22px;
}

.site-footer p,
.site-footer span,
.site-footer a,
.site-footer small {
    color: rgba(255, 255, 255, 0.65);
}

.site-footer .brand strong {
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.9fr 0.7fr;
    gap: 28px;
}

.footer-brand {
    display: grid;
    gap: 14px;
}

.footer-brand p {
    max-width: 420px;
}

.package-line {
    overflow-wrap: anywhere;
}

.site-footer h2 {
    margin-bottom: 14px;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-links {
    display: grid;
    gap: 9px;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 40px;
    padding-top: 18px;
    font-size: 0.86rem;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.muted {
    color: var(--muted);
}

/* ============================================================
   PHONE FRAME — Native Android Smartphone Mockup
   ============================================================ */
.phone-frame {
    position: relative;
    width: min(100%, 320px);
    height: 640px;
    border: 10px solid #1e1b2e;
    border-radius: 44px;
    background: #1e1b2e;
    box-shadow: 0 28px 70px rgba(26, 16, 46, 0.28), 0 0 0 1px rgba(126, 34, 206, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin: 0 auto;
}

/* Punch-hole camera */
.phone-camera {
    position: absolute;
    top: 9px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: #0d0a17;
    border: 1.5px solid #2d2642;
    border-radius: 50%;
    z-index: 60;
}

.phone-speaker {
    display: none;
}

.phone-screen {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 34px;
    background: #F7F9FB;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.phone-status-bar {
    height: 26px;
    padding: 4px 14px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    color: #191C1E;
    z-index: 40;
    flex-shrink: 0;
}

.phone-status-bar.dark {
    color: #FFFFFF;
}

.phone-status-icons {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 10px;
}

.phone-screen-body {
    flex: 1 1 auto;
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 64px;
    scrollbar-width: none;
}

.phone-screen-body::-webkit-scrollbar {
    display: none;
}

.phone-top-space {
    height: 28px;
}

/* ============================================================
   APP SCREEN — SHARED ELEMENTS
   ============================================================ */

/* Purple balance/banner card (mirrors the app) */
.app-balance-card {
    margin: 0;
    padding: 24px 20px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-dark, #450A75) 0%, var(--primary, #7E22CE) 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.app-balance-card::before {
    content: "";
    position: absolute;
    top: -30px;
    right: -30px;
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
}

.app-balance-card .abc-content {
    display: flex;
    flex-direction: column;
}

.app-balance-card .abc-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
}

.app-balance-card .abc-amount {
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    margin-top: 4px;
}

.abc-leaderboard-btn {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

.app-balance-card .abc-sub {
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 6px;
}

/* App screen scroll area */
.app-screen-content {
    padding: 14px 14px 80px;
    min-height: 100%;
}

/* App section label */
.app-section-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text);
    margin: 14px 0 8px;
    display: block;
}

/* General white card inside phone */
.app-card {
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(124, 92, 246, 0.08);
}

/* ============================================================
   APP SCREEN — HOME / DASHBOARD
   ============================================================ */
.app-user-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 14px 8px;
}

.app-user-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #e8e4f8;
    display: grid;
    place-items: center;
    color: var(--primary);
    flex-shrink: 0;
}

.app-user-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text);
    display: block;
    line-height: 1.2;
}

.app-user-sub {
    font-size: 0.65rem;
    color: var(--muted);
}

/* CTA play button */
.app-play-btn {
    width: 100%;
    border: 0;
    border-radius: 14px;
    background: #1a1a2e;
    color: #fff;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: 10px;
    cursor: pointer;
}

.app-play-btn .play-arrow {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    display: grid;
    place-items: center;
    font-size: 0.55rem;
}

/* Stat grid (2×2) — matches "Your Status" section */
.app-stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 8px;
}

.app-stat-card {
    border-radius: 12px;
    padding: 12px;
    display: grid;
    gap: 4px;
    border: 1px solid transparent;
}

.app-stat-card.blue { background: #f0f7ff; border-color: #dbeafe; }
.app-stat-card.green { background: #f0fdf4; border-color: #dcfce7; }
.app-stat-card.purple { background: #faf5ff; border-color: #f3e8ff; }
.app-stat-card.orange { background: #fff7ed; border-color: #ffedd5; }

.app-stat-card .stat-icon {
    font-size: 1rem;
    margin-bottom: 4px;
}

.app-stat-card .stat-value {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1;
}

.app-stat-card.blue .stat-value, .app-stat-card.blue .stat-label { color: #3b82f6; }
.app-stat-card.green .stat-value, .app-stat-card.green .stat-label { color: #22c55e; }
.app-stat-card.purple .stat-value, .app-stat-card.purple .stat-label { color: #8b5cf6; }
.app-stat-card.orange .stat-value, .app-stat-card.orange .stat-label { color: #ea580c; }

.app-stat-card .stat-label {
    font-size: 0.7rem;
    font-weight: 500;
}

/* Leaderboard badge on balance card */
.abc-leaderboard {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 10px;
    background: #1a1a2e;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    padding: 5px 9px;
    white-space: nowrap;
}

/* ============================================================
   APP SCREEN — CAPTCHA TASKS (games screen)
   ============================================================ */
.app-tasks-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 14px 8px;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text);
}

.app-tasks-header .back-arrow {
    font-size: 0.9rem;
    color: var(--text);
}

.app-task-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0 12px;
}

.app-task-card {
    border-radius: 14px;
    background: #fff;
    padding: 12px;
    box-shadow: 0 2px 10px rgba(124, 92, 246, 0.06);
    position: relative;
}

.app-task-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    border-radius: 999px;
    background: #22c55e;
    color: #fff;
    font-size: 0.58rem;
    font-weight: 700;
    padding: 2px 7px;
}

.app-task-img {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #f4f5ff;
    display: grid;
    place-items: center;
    font-size: 1.3rem;
    margin-bottom: 8px;
}

.app-task-name {
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
    display: block;
    margin-bottom: 4px;
}

.app-task-count {
    font-size: 0.65rem;
    color: #3b7af8;
    font-weight: 600;
}

.app-task-bar {
    height: 4px;
    border-radius: 999px;
    background: #ede9fe;
    margin-top: 6px;
    overflow: hidden;
}

.app-task-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: var(--primary);
    width: 0%;
}

/* ============================================================
   APP SCREEN — MY WALLET
   ============================================================ */
.app-wallet-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    padding: 16px 14px 8px;
    display: block;
}

.app-wallet-notice {
    border-radius: 10px;
    background: #fff8e8;
    color: #a16207;
    font-size: 0.68rem;
    padding: 9px 12px;
    margin: 10px 14px 0;
    text-align: center;
    font-weight: 500;
}

.app-progress-bar {
    height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    margin-top: 8px;
    overflow: hidden;
}

.app-progress-bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #fff;
    width: 100%;
}

.app-wallet-btn {
    width: calc(100% - 28px);
    margin: 12px 14px 0;
    border: 0;
    border-radius: 14px;
    background: #1a1a2e;
    color: #fff;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 700;
    padding: 13px;
    cursor: pointer;
}

/* ============================================================
   APP SCREEN — WITHDRAW FUNDS
   ============================================================ */
.app-withdraw-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 14px 8px;
}

.app-withdraw-header span {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text);
}

.app-payment-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    padding: 0 14px;
}

.app-payment-method {
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: #fff;
    padding: 8px 5px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
}

.app-payment-method .pm-radio {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: 1.5px solid #d1d5db;
    flex-shrink: 0;
}

.app-amount-list {
    display: grid;
    gap: 7px;
    padding: 0 14px;
}

.app-amount-row {
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: #fff;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text);
}

.app-amount-row .am-radio {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: 1.5px solid #d1d5db;
    flex-shrink: 0;
}

.app-withdraw-btn {
    width: calc(100% - 28px);
    margin: 12px 14px 0;
    border: 0;
    border-radius: 14px;
    background: #1a1a2e;
    color: #fff;
    font: inherit;
    font-size: 0.84rem;
    font-weight: 700;
    padding: 13px;
    cursor: pointer;
}

/* ============================================================
   APP SCREEN — PROFILE / SETTINGS
   ============================================================ */
.app-profile-header {
    background: linear-gradient(135deg, var(--primary-dark, #450A75) 0%, var(--primary, #7E22CE) 100%);
    padding: 28px 14px 24px;
    display: grid;
    place-items: center;
    gap: 8px;
}

.app-profile-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: grid;
    place-items: center;
    font-size: 1.6rem;
    color: #fff;
}

.app-profile-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
}

.app-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 12px 14px 0;
}

.app-stats-box {
    border-radius: 12px;
    background: #fff;
    padding: 12px;
    box-shadow: 0 2px 8px rgba(124, 92, 246, 0.07);
}

.app-stats-box .sb-value {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    line-height: 1.2;
}

.app-stats-box.blue .sb-value { color: #3b7af8; }

.app-stats-box .sb-label {
    font-size: 0.65rem;
    color: var(--muted);
}

.app-settings-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text);
    padding: 12px 14px 6px;
    display: block;
}

.app-settings-card {
    background: #fff;
    border-radius: 14px;
    margin: 0 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(124, 92, 246, 0.07);
}

.app-settings-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid #f3f4f6;
}

.app-settings-row:last-child {
    border-bottom: 0;
}

.app-settings-row .sr-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f1edff;
    display: grid;
    place-items: center;
    color: var(--primary);
    flex-shrink: 0;
    font-size: 0.9rem;
}

.app-settings-row .sr-label {
    flex: 1;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--text);
}

.app-settings-row .sr-arrow {
    color: var(--muted);
    font-size: 0.7rem;
}

/* ============================================================
   BOTTOM NAV BAR (Native Android Style)
   ============================================================ */
.app-bottom-nav {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 56px;
    background: #FFFFFF;
    border-top: 1px solid #E2E8F0;
    border-radius: 0 0 34px 34px;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 6px;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.04);
    z-index: 50;
}

.app-nav-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    background: transparent;
    border: none;
    color: #64748B;
    text-decoration: none;
    padding: 4px 6px;
    border-radius: 8px;
    transition: all 160ms ease;
    cursor: default;
    flex: 1;
    width: auto;
    height: auto;
}

.app-nav-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: transform 160ms ease;
}

.app-nav-btn small {
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    color: inherit;
}

.app-nav-btn.active {
    color: var(--primary);
    background: transparent;
    transform: none;
}

.app-nav-btn.active svg {
    transform: scale(1.1);
}

.app-nav-btn.active small {
    font-weight: 700;
}

/* Phone screen needs relative positioning for absolute bottom nav */
.phone-screen {
    position: relative;
}

/* ============================================================
   OLD COMPAT — kept for any page using old classes
   ============================================================ */
.balance-card span,
.app-card small,
.stat-card small,
.game-row small {
    color: var(--muted);
}

.balance-card strong {
    font-size: 2.3rem;
    line-height: 1;
}

.balance-card button,
.app-button {
    width: 100%;
    border: 0;
    border-radius: 12px;
    background: var(--primary);
    color: #fff;
    font: inherit;
    font-weight: 700;
    padding: 13px;
}

.balance-card em {
    color: var(--muted);
    font-size: 0.72rem;
    font-style: normal;
    text-align: center;
}

.mini-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.mini-card,
.stat-card {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding: 14px 10px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
}

.mini-card .icon {
    color: var(--primary);
}

.row-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.progress {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255,255,255,0.28);
}

.progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: #fff;
}

.phone-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 14px auto 0;
}

.phone-nav span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #d1d5db;
}

.phone-nav .active {
    background: var(--primary);
    width: 22px;
    border-radius: 999px;
}

.app-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, var(--primary-dark, #450A75) 0%, var(--primary, #7E22CE) 100%);
    color: #fff;
    padding: 34px 14px 14px;
    font-weight: 700;
    font-size: 0.88rem;
}

.coin-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 999px;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 9px;
    white-space: nowrap;
}

.coin-dot {
    display: inline-grid;
    width: 16px;
    height: 16px;
    place-items: center;
    border-radius: 999px;
    background: var(--accent);
    color: #5b4300;
    font-size: 0.62rem;
}

.game-list {
    display: grid;
    gap: 8px;
    padding: 12px;
}

.game-row {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid rgba(124, 92, 246, 0.1);
    border-radius: 12px;
    background: #fff;
}

.game-icon {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 10px;
    background: #f1edff;
    color: var(--primary);
}

.game-row strong,
.game-row small {
    display: block;
}

.game-row small {
    overflow: hidden;
    font-size: 0.68rem;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--muted);
}

.stat-card strong {
    color: var(--primary);
    font-size: 1.55rem;
}

.captcha-card {
    align-items: center;
    min-height: 176px;
    justify-items: center;
    text-align: center;
    border: 1px solid rgba(124, 92, 246, 0.1);
    border-radius: 14px;
    background: #fff;
    padding: 20px;
    display: grid;
    gap: 10px;
}

.captcha-card strong {
    font-size: 2.05rem;
    letter-spacing: 0.06em;
    color: var(--text);
}

.input-line {
    border: 1.5px solid rgba(124, 92, 246, 0.15);
    border-radius: 10px;
    background: #fff;
    color: #a5adbe;
    margin-top: 10px;
    padding: 12px 14px;
    font-size: 0.8rem;
}

.daily-card {
    margin-top: 28px;
    background: linear-gradient(135deg, var(--primary-dark, #450A75) 0%, var(--primary, #7E22CE) 100%);
    border-radius: 14px;
    padding: 16px;
    display: grid;
    gap: 6px;
}

.daily-card strong,
.daily-card small {
    color: #fff;
}

.reward-grid,
.amount-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.reward-box {
    display: grid;
    gap: 5px;
    min-height: 68px;
    padding: 9px;
    text-align: center;
    border: 1px solid rgba(124, 92, 246, 0.12);
    border-radius: 10px;
    background: #fff;
}

.reward-box small {
    color: var(--muted);
    font-size: 0.65rem;
}

.reward-box strong {
    color: var(--primary);
    font-size: 0.82rem;
}

.reward-box.active {
    border-color: var(--accent);
    background: #fff8e8;
}

.phone-section-title {
    display: block;
    margin: 12px 4px 0;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text);
}

.amount-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.amount-grid span {
    border: 1.5px solid rgba(124, 92, 246, 0.15);
    border-radius: 10px;
    background: #fff;
    color: var(--primary);
    font-weight: 700;
    padding: 12px;
    text-align: center;
    font-size: 0.78rem;
}

.receipt span {
    color: var(--muted);
    font-size: 0.78rem;
}

.settings-list {
    display: grid;
    margin-top: 12px;
    overflow: hidden;
    border: 1px solid rgba(124, 92, 246, 0.1);
    border-radius: 14px;
    background: #fff;
}

.settings-row {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(124, 92, 246, 0.07);
    padding: 13px 14px;
}

.settings-row:last-child {
    border-bottom: 0;
}

.settings-row span {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 9px;
    background: #f1edff;
    color: var(--primary);
}

.settings-row i {
    color: var(--muted);
    font-style: normal;
    font-size: 0.8rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1060px) {
    .header-inner {
        grid-template-columns: auto auto 1fr;
    }

    .nav-toggle {
        display: block;
        order: 2;
        justify-self: end;
    }

    .site-nav {
        position: absolute;
        top: 76px;
        right: 16px;
        left: 16px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        border: 1.5px solid rgba(124, 92, 246, 0.12);
        border-radius: 14px;
        background: #fff;
        padding: 8px;
        box-shadow: 0 20px 50px rgba(124, 92, 246, 0.14);
    }

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

    .site-nav a {
        padding: 0.82rem;
    }

    .header-cta {
        display: none;
    }
}

@media (max-width: 920px) {
    .hero-inner,
    .download-layout {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .hero-inner {
        padding-top: 52px;
    }

    .hero-visual {
        width: 100%;
    }

    .phone-frame {
        margin: 0 auto;
    }

    .feature-grid,
    .screenshots-grid,
    .info-grid,
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .hero-proof {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cta-band-inner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 15px;
    }

    .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .brand small {
        max-width: 150px;
    }

    .hero-inner,
    .page-hero {
        padding-top: 40px;
    }

    .hero-copy h1 {
        font-size: clamp(1.65rem, 7vw, 2.2rem);
        word-break: break-word;
    }

    .section-head h2 {
        font-size: clamp(1.25rem, 5.2vw, 1.7rem);
        word-break: break-word;
    }

    .feature-grid,
    .screenshots-grid,
    .info-grid,
    .contact-grid,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-proof {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .proof-item {
        padding: 10px 12px;
        min-height: 72px;
    }

    .proof-item strong {
        font-size: 1.05rem;
    }

    .proof-item span {
        font-size: 0.72rem;
    }

    .section {
        padding: 62px 0;
    }

    .phone-frame {
        width: min(100%, 290px);
        min-height: 590px;
    }

    .phone-screen {
        min-height: 572px;
    }

    .footer-bottom,
    .detail-row {
        flex-direction: column;
    }

    .detail-row strong {
        text-align: left;
    }

    .btn {
        width: 100%;
        white-space: normal;
    }
}

/* ============================================================
   GADGETS REWARD STORE & FAIR-PLAY SECTIONS
   ============================================================ */
.gift-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.gift-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: transform 200ms ease, box-shadow 200ms ease;
}

.gift-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(126, 34, 206, 0.12);
}

.gift-card-media {
    width: 100%;
    height: 180px;
    background: #F8FAFC;
    border-radius: 14px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    padding: 16px;
    overflow: hidden;
}

.gift-card-media img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 260ms ease;
}

.gift-card:hover .gift-card-media img {
    transform: scale(1.08);
}

.gift-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #EDE9FE;
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gift-card h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
    color: var(--text);
}

.gift-card p {
    font-size: 0.88rem;
    color: var(--muted);
    margin-bottom: 16px;
    flex-grow: 1;
}

.gift-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.gift-coins {
    font-size: 1.15rem;
    font-weight: 800;
    color: #059669;
}

.gift-retail {
    font-size: 0.78rem;
    color: #94A3B8;
}

.fairplay-banner {
    background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
    border: 1px solid #A7F3D0;
    border-radius: 20px;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 48px;
}

.fairplay-content h3 {
    font-size: 1.4rem;
    color: #065F46;
    margin-bottom: 8px;
}

.fairplay-content p {
    color: #047857;
    font-size: 0.95rem;
    max-width: 680px;
}

@media (max-width: 768px) {
    .fairplay-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
        gap: 20px;
    }

    .fairplay-banner .btn {
        width: 100%;
        justify-content: center;
    }
}

