:root {
    --bg1: #9fb7ff;
    --bg2: #f1a2ff;
    --card: #ffffff;
    --shadow: 0 18px 40px rgba(34, 40, 80, .18);
    --radius: 8px;

    --btnGreen: #20b764;
    --btnBlue: #1da0da;

    --muted: #6b7280;
    --text: #0f172a;

    --softBorder: rgba(15, 23, 42, .08);
    --pill: #f2f2f2;
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
    color: var(--text);
    background: linear-gradient(135deg, var(--bg1), var(--bg2));
    min-height: 100vh;
}

.page {
    width: min(580px, 94vw);
    margin: 22px auto 34px;
}

/* ===== HERO CARD ===== */
.hero-card {
    position: relative;
    background: var(--card);
    border-radius: 4px;
    box-shadow: var(--shadow);
    padding: 16px 16px 18px;
    overflow: hidden;
}

/* top-left MENU button */
/* RGB cycling animation */
@keyframes rgbCycle {
    0% {
        filter: hue-rotate(0deg);
    }

    100% {
        filter: hue-rotate(360deg);
    }
}

@keyframes rgbText {
    0% {
        color: #ff004c;
    }

    16% {
        color: #ff7a00;
    }

    33% {
        color: #ffe600;
    }

    50% {
        color: #00ff6a;
    }

    66% {
        color: #00c8ff;
    }

    83% {
        color: #8a2be2;
    }

    100% {
        color: #ff004c;
    }
}

/* Apply to the MENU button */
.menu-btn {
    position: absolute;
    top: 12px;
    /* slightly more breathing room */
    left: 12px;

    display: flex;
    align-items: center;
    gap: 14px;
    /* ⬆ space between hamburger & text */

    padding: 10px 18px;
    /* ⬆ bigger pill */

    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 999px;

    font-weight: 800;
    font-size: 16px;
    /* ⬆ text size */
    letter-spacing: .4px;

    cursor: pointer;
    user-select: none;

    animation: rgbText 0.45s linear infinite;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
    text-shadow: 0 0 6px rgba(255, 255, 255, .35);
}

/* Bigger hamburger */
.hamburger {
    width: 24px;
    /* ⬆ */
    height: 16px;
    display: grid;
    gap: 4px;
}

.hamburger span {
    height: 3px;
    /* ⬆ bar thickness */
    border-radius: 3px;
    background: currentColor;
    box-shadow: 0 0 6px rgba(255, 255, 255, .35);
    animation: rgbText 0.45s linear infinite;
}

.hero-image-wrap {
    margin-top: 26px;
    /* leave space for MENU */
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    background: #0b1220;
    box-shadow: 0 10px 20px rgba(10, 20, 60, .20) inset;
}

.hero-image {
    display: block;
    width: 100%;
    height: auto;
}

.cta-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 8px 0;
}

.cta {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 10px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 10px 18px rgba(0, 0, 0, .10);
}

/* 🔁 replace svg rule with image rule */
.cta img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex: 0 0 auto;
}

/* Optional: force white icons if PNG is dark */
.cta img {
    filter: brightness(0) invert(1);
}

.cta.whatsapp {
    background: var(--btnGreen);
}

.cta.telegram {
    background: var(--btnBlue);
}

/* ===== Drawer Overlay ===== */
.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .35);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
    z-index: 9998;
}

/* ===== Drawer Panel ===== */
.drawer {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 320px;
    /* drawer width like screenshot */
    max-width: 86vw;
    background: #1d2b2e;
    /* dark teal background */
    transform: translateX(-110%);
    transition: transform .22s ease;
    z-index: 9999;
    box-shadow: 6px 0 22px rgba(0, 0, 0, .25);
    overflow: hidden;
}

/* Header */
.drawer-header {
    height: 68px;
    background: #7d0a7c;
    /* purple bar */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drawer-title {
    color: #fff;
    font-weight: 900;
    font-size: 26px;
    letter-spacing: .2px;
    line-height: 1;
}

/* Close X (top-left) */
.drawer-close {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

/* Menu list */
.drawer-nav {
    padding: 0;
    margin: 0;
}

.drawer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 16px;
    color: #e8f0f2;
    text-decoration: none;
    font-weight: 800;
    font-size: 16px;
}

.drawer-icon {
    width: 30px;
    height: 30px;
    border-radius: 6px;
    object-fit: cover;
    box-shadow: 0 6px 12px rgba(0, 0, 0, .25);
}

/* Active row (blue highlight like screenshot) */
.drawer-item.is-active {
    background: #6ea4ff;
    color: #ffffff;
}

/* ===== Open State ===== */
.drawer-open .drawer {
    transform: translateX(0);
}

.drawer-open .drawer-overlay {
    opacity: 1;
    pointer-events: auto;
}

/* Optional: prevent body scroll when open */
.drawer-open {
    overflow: hidden;
}


/* ===== APP INFO CARD ===== */
.app-card {
    margin-top: 18px;
    background: var(--card);
    border-radius: 10px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.app-top {
    padding: 14px 14px 10px;
    display: flex;
    gap: 12px;
    align-items: center;
    background: linear-gradient(135deg, #ffffff, #f7f7fb);
}

.app-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 14px rgba(0, 0, 0, .12);
    background: #eee;
    flex: 0 0 auto;
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block
}

.app-title {
    font-weight: 800;
    font-size: 16px;
    line-height: 1.1;
    margin: 0 0 6px;
}

.app-meta {
    display: flex;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
    font-size: 11px;
    color: var(--muted);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.meta-item .dot {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border: 1px solid var(--softBorder);
}

.meta-item svg {
    width: 12px;
    height: 12px;
    opacity: .85
}

.divider {
    height: 1px;
    background: rgba(15, 23, 42, .08);
}

.app-body {
    padding: 10px 12px 14px;
    background: linear-gradient(180deg, rgba(238, 196, 226, .65), rgba(236, 206, 235, .45));
}

.app-section-title {
    font-weight: 800;
    font-size: 13px;
    color: #222;
    margin: 2px 0 10px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px 10px;
}

.info-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    min-height: 40px;
}

.info-ic {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: rgba(255, 255, 255, .65);
    border: 1px solid rgba(0, 0, 0, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    box-shadow: 0 8px 14px rgba(0, 0, 0, .06);
}

.info-ic svg {
    width: 14px;
    height: 14px;
    opacity: .85
}

.info-txt {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.05;
}

.info-label {
    font-size: 10px;
    color: #111;
    opacity: .78;
    font-weight: 700;
}

.info-value {
    font-size: 11px;
    color: #111;
    font-weight: 800;
}

.download-row {
    margin-top: 12px;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.dl-btn {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 999px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 12px 20px rgba(0, 0, 0, .12);
}

/* 🔁 REPLACED: svg → img */
.dl-btn img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
}

/* force icon to white if PNG/WebP is dark */
.dl-btn img {
    filter: brightness(0) invert(1);
}

.dl-btn.apk {
    background: #22c55e;
}

.dl-btn.app {
    background: #2563eb;
}

/* ===== CONTENT SECTION ===== */
.content-card {
    margin-top: 18px;
    background: var(--card);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 16px 16px 18px;
}

.content-card h1 {
    margin: 4px 0 10px;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 900;
}

.content-card h2 {
    margin: 14px 0 6px;
    font-size: 15px;
    font-weight: 900;
}

.content-card h3 {
    margin: 12px 0 6px;
    font-size: 13px;
    font-weight: 900;
}

.content-card p {
    margin: 0 0 10px;
    color: #111827;
    opacity: .92;
    font-size: 12.5px;
    line-height: 1.6;
    /* matches screenshot vibe */
}

.content-card li {
    margin: 8px 0 6px;
    font-size: 12px;
}

/* small screens */
@media (max-width: 420px) {
    .cta-row {
        gap: 12px;
        padding-left: 2px;
        padding-right: 2px;
    }

    .info-grid {
        grid-template-columns: 1fr 1fr;
    }

    .download-row {
        gap: 10px;
    }

    .content-card p {
        text-align: left;
    }
}

.footer-only {
    display: inline-block;
    margin: 24px auto 30px;
    padding: 6px 14px;

    background: #ffffff;
    color: #111;

    font-size: 11px;
    font-weight: 500;

    border-radius: 6px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}