:root {
    --bg: #ffffff;
    --text: #111827;
    --muted: #6b7280;
    --border: #e5e7eb;
    --primary: #2563eb;
    --container: 1100px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
    color: var(--text);
    background: var(--bg);
    line-height: 1.5;
}

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

label { display: block; font-weight: 800; margin: 0 0 6px; }
input[type="text"], input[type="password"], input[type="number"], textarea, select {
    width: 100%;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
    outline: none;
    font: inherit;
    background: #fff;
}
textarea { resize: vertical; }

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--header-bg, var(--bg));
    color: var(--header-text, var(--text));
    border-bottom: 1px solid var(--header-border, var(--border));
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 64px;
}

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

.brand-logo-link,
.brand-title-link {
    display: inline-flex;
    align-items: center;
    color: inherit;
    text-decoration: none;
}

.brand-logo-link:hover,
.brand-title-link:hover {
    text-decoration: none;
}

.brand-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.brand-title {
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 55vw;
}

.site-nav .nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0;
    padding: 0;
}

.nav-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 10px;
    border-radius: 10px;
    font-weight: 600;
}

.nav-link.is-active {
    color: var(--header-active, var(--primary));
    background: rgba(37, 99, 235, 0.08);
    text-decoration: none;
}

.menu-toggle {
    display: none;
    border: 1px solid var(--header-border, var(--border));
    background: var(--header-bg, var(--bg));
    border-radius: 10px;
    padding: 10px 12px;
    cursor: pointer;
}

.dots {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--header-text, var(--text));
    box-shadow: 0 -8px 0 var(--header-text, var(--text)), 0 8px 0 var(--header-text, var(--text));
}

.subheader {
    background: var(--subheader-bg, var(--bg));
    border-top: 1px solid var(--header-border, var(--border));
}

.subheader-inner {
    padding: 8px 0;
}

.subnav-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    font-size: 13px;
    color: var(--muted);
}

.subnav-item {
    display: inline-flex;
    align-items: center;
}

.subnav-item + .subnav-item::before {
    content: "›";
    margin-right: 10px;
    color: var(--muted);
}

.subnav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: inherit;
    text-decoration: none;
}

.subnav-link:hover { text-decoration: underline; }

.subnav-icon {
    font-size: 14px;
    line-height: 1;
}

.site-main { padding: 18px 0 36px; }
.content { padding: 8px 0; }

.home-hero {
    padding: 8px 0 14px;
}

.home-hero-title {
    margin: 10px 0 10px;
    text-align: center;
    font-size: 22px;
    font-weight: 800;
}

.home-hero-desc {
    background: var(--home-desc-bg, #dbeafe);
    color: var(--home-desc-text, var(--text));
    border: 1px solid rgba(0,0,0,0.06);
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.45;
}

.home-hero-title2 {
    margin: 14px 0 10px;
    text-align: center;
    font-size: 16px;
    font-weight: 800;
}

.home-tabs {
    margin-top: 10px;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg);
}

.home-tabs-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}

.home-tab-btn {
    appearance: none;
    border: 1px solid var(--border);
    background: var(--bg);
    color: var(--text);
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 800;
    cursor: pointer;
    min-width: 220px;
    text-align: center;
}

.home-tab-btn.is-active {
    background: var(--header-active, var(--primary));
    border-color: var(--header-active, var(--primary));
    color: #fff;
}

.home-tabs-panels {
    padding: 10px;
}

.home-products {
    display: flex;
    flex-direction: column;
    gap: 10px;
    counter-reset: product;
}

.home-products--apk {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    counter-reset: none;
}

.apk-card {
    display: block;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #fff;
    border-radius: 14px;
    padding: 12px;
    text-decoration: none;
    color: var(--text);
    box-shadow: 0 12px 28px rgba(2, 6, 23, 0.08);
    transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}

.apk-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px rgba(2, 6, 23, 0.12);
    border-color: rgba(34, 197, 94, 0.45);
}

.apk-icon-wrap {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    background: rgba(2, 6, 23, 0.02);
    display: grid;
    place-items: center;
    overflow: hidden;
}

.apk-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.apk-icon-placeholder {
    font-weight: 1000;
    font-size: 28px;
    color: rgba(17, 24, 39, 0.55);
}

.apk-title {
    margin-top: 10px;
    font-weight: 1000;
    font-size: 14px;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.apk-sub {
    margin-top: 4px;
    color: rgba(17, 24, 39, 0.55);
    font-size: 12px;
    font-weight: 800;
}

.apk-stars {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #f59e0b;
    font-weight: 1000;
    font-size: 12px;
}

.apk-rating { color: rgba(17, 24, 39, 0.70); font-weight: 1000; }
.apk-star-dim { color: rgba(156, 163, 175, 0.8); }

.home-products--sell {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    counter-reset: none;
}

.sell-card {
    position: relative;
    border-radius: 20px;
    border: 1px solid rgba(34, 197, 94, 0.18);
    background:
        radial-gradient(520px 320px at 50% 0%, rgba(34,197,94,0.14), transparent 60%),
        radial-gradient(520px 320px at 50% 0%, rgba(16,185,129,0.12), transparent 62%),
        linear-gradient(180deg, #06151b, #031014);
    color: rgba(229, 231, 235, 0.96);
    padding: 16px 16px 18px;
    box-shadow: 0 24px 70px rgba(2, 6, 23, 0.36);
    text-align: center;
    overflow: hidden;
    transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}

.sell-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: radial-gradient(420px 240px at 50% 0%, rgba(34,197,94,0.22), transparent 60%);
    filter: blur(18px);
    opacity: 0.55;
    pointer-events: none;
}

.sell-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 30px 90px rgba(2, 6, 23, 0.46);
    border-color: rgba(34, 197, 94, 0.32);
}

.sell-badge {
    position: absolute;
    right: 0;
    top: 0;
    background: rgba(34, 197, 94, 0.16);
    border: 1px solid rgba(34, 197, 94, 0.28);
    color: #34d399;
    font-weight: 1000;
    font-size: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    box-shadow: 0 16px 40px rgba(34, 197, 94, 0.18);
    margin: 12px;
}

.sell-media {
    margin-top: 18px;
    display: grid;
    place-items: center;
}

.sell-image {
    width: min(230px, 100%);
    height: 150px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.14);
    background: rgba(255,255,255,0.06);
    object-fit: cover;
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.38);
    transform: translateY(-6px);
}

.sell-image--placeholder {
    display: grid;
    place-items: center;
    font-weight: 1000;
    font-size: 44px;
    color: rgba(229, 231, 235, 0.75);
}

.sell-title {
    margin-top: 10px;
    font-weight: 1000;
    font-size: 20px;
    color: rgba(229, 231, 235, 0.98);
}

.sell-timer {
    margin-top: 6px;
    font-weight: 1000;
    font-size: 13px;
    color: rgba(253, 224, 71, 0.95);
}

.sell-features {
    list-style: none;
    padding: 0;
    margin: 14px auto 0;
    display: grid;
    gap: 8px;
    font-weight: 800;
    font-size: 13px;
    color: rgba(229, 231, 235, 0.82);
    max-width: 280px;
    text-align: left;
}

.sell-features li::before {
    content: "✓";
    color: #34d399;
    font-weight: 1000;
    margin-right: 8px;
}

.sell-price-row {
    margin-top: 16px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid rgba(255,255,255,0.10);
    padding-top: 12px;
}

.sell-price-label {
    color: rgba(229, 231, 235, 0.65);
    font-size: 12px;
    font-weight: 900;
}

.sell-price-value {
    font-size: 20px;
    font-weight: 1000;
    color: #e5e7eb;
}

.sell-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: #031014;
    font-weight: 1000;
    text-decoration: none;
    border: 1px solid rgba(34, 197, 94, 0.25);
    margin-top: 14px;
    box-shadow: 0 18px 50px rgba(34, 197, 94, 0.22);
    transition: transform .12s ease, filter .12s ease, box-shadow .12s ease;
}

.sell-btn:hover {
    filter: brightness(1.06);
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 24px 70px rgba(34, 197, 94, 0.30);
}

.product-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 12px 12px 18px;
    background: var(--row-bg, #fff);
}

.product-row::before {
    counter-increment: product;
    content: counter(product);
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 900;
}

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

.product-logo-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #fff;
    display: grid;
    place-items: center;
    overflow: hidden;
    flex: 0 0 auto;
    text-decoration: none;
    color: inherit;
}

.product-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-logo-placeholder {
    font-weight: 900;
    color: var(--muted);
}

.product-meta {
    min-width: 0;
}

.product-name {
    display: inline-block;
    font-weight: 900;
    font-size: 14px;
    color: var(--text);
    text-decoration: none;
}

.product-name:hover { text-decoration: underline; }

.product-stats {
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 12px;
}

.product-stat {
    color: var(--muted);
}

.product-bonus { color: #dc2626; font-weight: 800; }
.product-withdraw { color: var(--muted); font-weight: 700; }

.product-extra {
    margin-top: 6px;
    font-size: 12px;
    color: var(--muted);
}

.product-right {
    flex: 0 0 auto;
}

.product-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    background: var(--btn-bg, #111827);
    color: #fff;
    font-weight: 900;
    text-decoration: none;
    border: 1px solid rgba(0,0,0,0.08);
}

.product-btn:hover {
    text-decoration: none;
    filter: brightness(0.95);
}

.product-btn-icon {
    font-size: 13px;
}

.home-blogs {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.home-queries {
    margin-top: 18px;
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 14px;
    background: #fff;
    padding: 14px;
}

.queries-title {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 900;
}

.queries-marquee {
    position: relative;
    overflow: hidden;
    border: 1px dashed rgba(99, 102, 241, 0.35);
    border-radius: 12px;
    padding: 10px;
    background: rgba(99, 102, 241, 0.04);
}

.queries-track {
    display: flex;
    gap: 10px;
    width: max-content;
    will-change: transform;
    animation: queries-scroll 28s linear infinite;
}

.queries-marquee:hover .queries-track {
    animation-play-state: paused;
}

.query-chip {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: #fff;
    font-weight: 900;
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.18);
    max-width: 62vw;
    overflow: hidden;
    text-overflow: ellipsis;
}

@keyframes queries-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .queries-marquee {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .queries-track {
        animation: none;
    }
}

.blog-card {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--blog-bg, #ffffff);
    color: var(--blog-text, var(--text));
    overflow: hidden;
}

.blog-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.blog-image-wrap {
    display: block;
    background: rgba(0,0,0,0.04);
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.blog-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-content {
    padding: 14px;
    min-width: 0;
}

.blog-title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 900;
}

.blog-title a {
    color: inherit;
    text-decoration: none;
}

.blog-title a:hover { text-decoration: underline; }

.blog-body {
    font-size: 13px;
    color: rgba(17, 24, 39, 0.86);
    overflow-wrap: anywhere;
}

.blog-body a {
    color: var(--blog-link, var(--primary));
    font-weight: 800;
    text-decoration: underline;
}

.blog-body img,
.blog-body video,
.blog-body iframe {
    max-width: 100%;
}

.blog-body img,
.blog-body video {
    height: auto;
}

.blog-body table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
}

.blog-actions {
    margin-top: 12px;
}

.blog-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.10);
    background: #111827;
    color: #fff;
    font-weight: 900;
    text-decoration: none;
}

.blog-btn:hover { text-decoration: none; filter: brightness(0.95); }

.float-actions {
    position: fixed;
    right: 16px;
    bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 80;
}

.float-btn {
    width: 48px;
    height: 48px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(0,0,0,0.18);
    border: 1px solid rgba(255,255,255,0.18);
}

.float-btn:hover { filter: brightness(0.95); }

.float-telegram { background: #229ED9; }
.float-whatsapp { background: #25D366; }

.float-icon {
    font-size: 20px;
    line-height: 1;
}

.app-page {
    background: #f8fafc;
    padding-bottom: 26px;
    --app-theme: #ef4444;
}

.app-topbar {
    background: var(--app-theme);
    color: #fff;
}

.app-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
}

.app-topbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.app-topbar-logo {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.18);
    object-fit: cover;
}

.app-topbar-title {
    font-weight: 900;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 66vw;
}

.app-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(255,255,255,0.18);
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    border: 1px solid rgba(255,255,255,0.25);
}

.app-back:hover { filter: brightness(0.98); text-decoration: none; }

.app-hero {
    display: grid;
    place-items: center;
    padding: 18px 0 10px;
}

.app-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px;
}

.app-hero .app-card {
    width: min(520px, 100%);
    text-align: center;
}

.app-hero-logo {
    display: grid;
    place-items: center;
    margin-top: 6px;
}

.app-hero-logo-img {
    width: 92px;
    height: 92px;
    border-radius: 18px;
    border: 1px solid var(--border);
    object-fit: cover;
    background: #fff;
}

.app-hero-logo-placeholder {
    width: 92px;
    height: 92px;
    border-radius: 18px;
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    font-size: 34px;
    font-weight: 900;
    color: var(--muted);
    background: #fff;
}

.app-hero-title {
    margin: 12px 0 12px;
    font-size: 28px;
    font-weight: 900;
}

.app-stats {
    margin: 8px 0 14px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    background: rgba(15, 23, 42, 0.03);
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 14px;
    padding: 12px;
}

.app-stat-value {
    font-weight: 900;
    font-size: 16px;
}

.app-stat-label {
    color: var(--muted);
    font-size: 12px;
    margin-top: 2px;
}

.app-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    font-weight: 900;
    text-decoration: none;
    border: 1px solid rgba(0,0,0,0.10);
    margin-top: 10px;
}

.app-btn-primary {
    background: var(--app-btn-bg, #db2777);
    color: var(--app-btn-text, #fff);
    border-color: var(--app-btn-border, var(--app-btn-bg, #db2777));
}

.app-btn-outline {
    background: #fff;
    color: #ef4444;
    border-color: #ef4444;
}

.app-btn:hover { text-decoration: none; filter: brightness(0.98); }

.app-btn-full { margin-top: 0; }

.app-sections {
    margin-top: 14px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.app-section-title {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 900;
}

.app-section-body {
    font-size: 14px;
    color: rgba(17, 24, 39, 0.90);
}

.app-section-body a { color: var(--primary); font-weight: 800; }

.app-muted { color: var(--muted); margin: -6px 0 12px; }

.app-notice {
    margin-top: 14px;
    font-size: 14px;
}

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

.other-card {
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
    background: #fff;
    text-align: center;
}

.other-logo {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    border: 1px solid var(--border);
    margin: 0 auto 10px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: #fff;
}

.other-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.other-title { font-weight: 900; margin-bottom: 6px; }
.other-bonus { color: #16a34a; font-weight: 900; margin-bottom: 4px; }
.other-withdraw { color: var(--muted); font-size: 13px; margin-bottom: 10px; }

.other-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-weight: 900;
    text-decoration: none;
}

.other-btn:hover { text-decoration: none; filter: brightness(0.95); }

.faq-list { display: grid; gap: 10px; }
.faq-item {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    padding: 10px 12px;
}
.faq-q {
    font-weight: 900;
    cursor: pointer;
}
.faq-a {
    margin-top: 8px;
    color: rgba(17, 24, 39, 0.90);
    font-size: 14px;
}

.fb-list { display: grid; gap: 10px; }
.fb-item {
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
    padding: 12px;
}
.fb-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
}
.fb-name { font-weight: 900; }
.fb-stars { color: #f59e0b; font-weight: 900; }
.fb-body { color: rgba(17, 24, 39, 0.90); font-size: 14px; }

.app-final {
    margin-top: 14px;
    display: grid;
    place-items: center;
}

.gateway-body {
    background:
        radial-gradient(900px 520px at 20% 0%, rgba(124,58,237,0.18), transparent 60%),
        radial-gradient(900px 520px at 80% 0%, rgba(37,99,235,0.16), transparent 60%),
        radial-gradient(760px 420px at 50% 100%, rgba(34,197,94,0.10), transparent 55%),
        linear-gradient(180deg, #070a14, #0b1220);
}

.gateway-main {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 18px;
}

.pay-shell {
    width: min(620px, 100%);
}

.pay-card {
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background:
        radial-gradient(620px 340px at 15% 0%, rgba(124,58,237,0.12), transparent 60%),
        radial-gradient(620px 340px at 85% 0%, rgba(37,99,235,0.10), transparent 60%),
        #ffffff;
    box-shadow: 0 24px 70px rgba(2, 6, 23, 0.10);
    padding: 16px;
    position: relative;
    overflow: hidden;
    animation: pay-float 7s ease-in-out infinite;
}

.pay-card::before {
    content: "";
    position: absolute;
    inset: -2px;
    background: conic-gradient(from 180deg, rgba(124,58,237,0.25), rgba(37,99,235,0.22), rgba(34,197,94,0.18), rgba(124,58,237,0.25));
    filter: blur(18px);
    opacity: 0.55;
    pointer-events: none;
    animation: pay-glow 8s linear infinite;
}

.pay-card > * {
    position: relative;
}

.pay-head {
    position: relative;
}

@keyframes pay-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

@keyframes pay-glow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.pay-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.pay-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pay-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #fff;
    font-weight: 1000;
    font-size: 18px;
    box-shadow: 0 16px 36px rgba(124, 58, 237, 0.18);
}

.pay-title {
    font-size: 18px;
    font-weight: 1000;
    color: rgba(17, 24, 39, 0.96);
}

.pay-sub {
    margin-top: 2px;
    color: rgba(17, 24, 39, 0.60);
    font-size: 12px;
    font-weight: 900;
}

.pay-meta {
    margin-top: 10px;
    display: grid;
    gap: 6px;
}

.pay-meta-row,
.pay-kv {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 14px;
    padding: 10px 12px;
    background: rgba(255,255,255,0.70);
}

.pay-k {
    color: rgba(17, 24, 39, 0.60);
    font-weight: 900;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.pay-v {
    color: rgba(17, 24, 39, 0.96);
    font-weight: 1000;
}

.pay-head-right {
    display: grid;
    gap: 10px;
    justify-items: end;
}

.pay-user {
    color: rgba(17, 24, 39, 0.65);
    font-weight: 800;
    font-size: 13px;
}

.pay-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: rgba(255,255,255,0.75);
    color: rgba(17, 24, 39, 0.92);
    font-weight: 1000;
    text-decoration: none;
}

.pay-back:hover { filter: brightness(0.98); }

.pay-desc {
    margin-top: 12px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 16px;
    padding: 12px;
    background: rgba(255,255,255,0.70);
}

.pay-alert {
    margin-top: 12px;
    border-radius: 16px;
    padding: 12px;
    font-weight: 900;
}

.pay-alert--error {
    border: 1px solid rgba(220, 38, 38, 0.22);
    background: rgba(220, 38, 38, 0.06);
    color: rgba(153, 27, 27, 0.95);
}

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

.pay-tab {
    padding: 14px 12px;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.14);
    background: rgba(255,255,255,0.70);
    color: rgba(17, 24, 39, 0.92);
    font-weight: 1000;
    cursor: pointer;
    letter-spacing: .02em;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
    box-shadow: 0 12px 26px rgba(2, 6, 23, 0.06);
}

.pay-tab:hover { transform: translateY(-1px); box-shadow: 0 18px 34px rgba(2, 6, 23, 0.10); }
.pay-tab:active { transform: translateY(0); }

.pay-tab[data-method="upi"] {
    background: linear-gradient(135deg, rgba(37,99,235,0.14), rgba(34,197,94,0.10)), rgba(255,255,255,0.70);
}

.pay-tab[data-method="usdt"] {
    background: linear-gradient(135deg, rgba(124,58,237,0.14), rgba(37,99,235,0.10)), rgba(255,255,255,0.70);
}

.pay-tab.is-active {
    border-color: rgba(124, 58, 237, 0.45);
    box-shadow: 0 22px 46px rgba(124, 58, 237, 0.18);
    animation: pay-tab-pulse 1.8s ease-in-out infinite;
}

@keyframes pay-tab-pulse {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.03); }
}

.pay-panels { margin-top: 12px; }

.pay-panel {
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 16px;
    padding: 12px;
    background: rgba(255,255,255,0.70);
    max-height: 0;
    opacity: 0;
    transform: translateY(10px);
    overflow: hidden;
    pointer-events: none;
    transition: max-height .38s ease, opacity .22s ease, transform .22s ease;
}

.pay-panel.is-active {
    max-height: 900px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.pay-hint {
    margin: 6px 0 10px;
    font-weight: 900;
    color: rgba(17, 24, 39, 0.62);
    font-size: 13px;
}

.pay-method-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.pay-method-title {
    font-weight: 1000;
    color: rgba(17, 24, 39, 0.96);
}

.pay-copy {
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: rgba(255,255,255,0.78);
    font-weight: 1000;
    cursor: pointer;
}

.pay-copy:hover { filter: brightness(0.98); }

.pay-qr {
    margin-top: 10px;
    display: grid;
    place-items: center;
    border: 1px dashed rgba(15, 23, 42, 0.18);
    border-radius: 16px;
    padding: 12px;
    background: rgba(255,255,255,0.55);
}

.pay-qr img {
    width: min(210px, 100%);
    height: auto;
    border-radius: 14px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    background: #fff;
}

.pay-muted {
    margin-top: 10px;
    color: rgba(17, 24, 39, 0.62);
    font-size: 13px;
    font-weight: 800;
}

.pay-form { margin-top: 12px; }

.pay-form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    align-items: end;
}

.pay-label {
    display: block;
    font-weight: 1000;
    color: rgba(17, 24, 39, 0.90);
    margin-bottom: 6px;
}

.pay-input {
    width: 100%;
    padding: 12px 12px;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: rgba(255,255,255,0.85);
    outline: none;
}

.pay-input:focus {
    border-color: rgba(124, 58, 237, 0.40);
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.12);
}

.pay-submit-wrap { display: grid; gap: 8px; }

.pay-submit {
    width: min(360px, 100%);
    margin: 0 auto;
    padding: 13px 14px;
    border-radius: 16px;
    border: 1px solid rgba(124, 58, 237, 0.25);
    background: linear-gradient(135deg, #2563eb, #7c3aed);
    color: #fff;
    font-weight: 1000;
    cursor: pointer;
    box-shadow: 0 18px 44px rgba(124, 58, 237, 0.22);
    position: relative;
    overflow: hidden;
}

.pay-submit::after {
    content: "";
    position: absolute;
    top: -60%;
    left: -40%;
    width: 50%;
    height: 220%;
    background: rgba(255,255,255,0.35);
    transform: rotate(18deg);
    filter: blur(6px);
    opacity: 0;
}

.pay-submit:hover { filter: brightness(1.03); }
.pay-submit:hover::after { opacity: 0.55; animation: pay-shine .9s ease; }

@keyframes pay-shine {
    from { transform: translateX(0) rotate(18deg); }
    to { transform: translateX(260%) rotate(18deg); }
}

@media (max-width: 768px) {
    .pay-head-right { justify-items: start; }
}

.site-footer {
    border-top: 1px solid rgba(15, 23, 42, 0.12);
    background: var(--footer-bg, #0b1220);
    color: var(--footer-text, #e5e7eb);
    padding: 26px 0 18px;
}

.site-footer a { color: var(--footer-link, #93c5fd); }
.site-footer a:hover { text-decoration: underline; }

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 18px;
    padding-bottom: 14px;
}

.footer-title {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 900;
    color: var(--footer-text, #e5e7eb);
}

.footer-text {
    font-size: 13px;
    color: rgba(229, 231, 235, 0.92);
    line-height: 1.6;
}

.footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
    font-size: 13px;
}

.footer-address { color: rgba(229, 231, 235, 0.92); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.10);
    padding-top: 14px;
    color: rgba(229, 231, 235, 0.75);
    font-size: 13px;
}

@media (max-width: 768px) {
    .menu-toggle { display: inline-flex; }
    .site-nav {
        display: none;
        position: absolute;
        left: 0;
        right: 0;
        top: 64px;
        background: var(--header-bg, var(--bg));
        border-bottom: 1px solid var(--header-border, var(--border));
    }
    .site-nav.is-open { display: block; }
    .site-nav .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 16px 12px;
    }
    .nav-link {
        width: 100%;
        padding: 12px 10px;
        border-radius: 12px;
    }
    .brand-title { max-width: 60vw; }
    .home-tab-btn { min-width: 100%; }
    .product-row { padding-left: 16px; }
    .blog-inner { grid-template-columns: 1fr; }
    .app-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .other-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .home-products--apk { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .home-products--sell { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
    .app-topbar-inner {
        align-items: flex-start;
        gap: 10px;
    }
    .app-topbar-left { gap: 10px; }
    .app-topbar-logo {
        width: 32px;
        height: 32px;
        flex: 0 0 auto;
    }
    .app-topbar-title {
        white-space: normal;
        max-width: none;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.2;
    }
    .app-back { padding: 10px 12px; }
}

.hero-banner {
    position: relative;
    width: 100%;
    min-height: 210px;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.92), rgba(124, 58, 237, 0.90), rgba(239, 68, 68, 0.86));
    overflow: hidden;
}

.hero-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--hero-image);
    background-size: cover;
    background-position: center;
    opacity: 0.55;
    transform: scale(1.02);
}

.hero-banner-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(1200px 420px at 20% 10%, rgba(0,0,0,0.14), transparent 60%),
                linear-gradient(180deg, rgba(0,0,0,0.14), rgba(0,0,0,0.28));
}

.hero-banner-inner {
    position: relative;
    padding: 26px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 210px;
}

.hero-banner-content {
    max-width: 820px;
    color: rgba(255,255,255,0.96);
}

.hero-banner-title {
    font-size: 30px;
    font-weight: 950;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.hero-banner-subtitle {
    margin-top: 10px;
    font-size: 15px;
    color: rgba(255,255,255,0.90);
    line-height: 1.6;
}

.hero-banner-actions {
    margin-top: 14px;
    display: flex;
    justify-content: center;
}

.hero-banner-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 14px;
    font-weight: 900;
    color: #0b1220;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(255,255,255,0.55);
    text-decoration: none;
    box-shadow: 0 16px 30px rgba(0,0,0,0.18);
    transition: transform 0.12s ease, filter 0.12s ease;
}

.hero-banner-btn:hover {
    text-decoration: none;
    transform: translateY(-1px);
    filter: brightness(1.02);
}

@media (max-width: 768px) {
    .hero-banner { min-height: 180px; }
    .hero-banner-inner { min-height: 180px; padding: 20px 16px; }
    .hero-banner-title { font-size: 22px; }
}
