/* Enigmia v4 — Modern */
/* Enigmia landing page - stable layout layer */
:root {
    --km-ink: #102033;
    --km-muted: #5f6f7f;
    --km-blue: #1f66d1;
    --km-teal: #0f9f8d;
    --km-green: #25a66a;
    --km-amber: #f3a531;
    --km-line: #dce7ef;
    --km-soft: #f4f8fb;
    --km-white: #ffffff;
    --km-shadow: 0 18px 46px rgba(16, 32, 51, 0.13);
    --km-radius: 8px;
    --km-navy: #16324f;
}

body.theme-green {
    --km-ink: #064e3b;
    --km-muted: #047857;
    --km-blue: #059669;
    --km-teal: #0f9f8d;
    --km-green: #16a34a;
    --km-soft: #ecfdf5;
    --km-line: #bbf7d0;
    --km-navy: #064e3b;
}

body.theme-kids {
    --km-ink: #172554;
    --km-muted: #475569;
    --km-blue: #ec4899;
    --km-teal: #38bdf8;
    --km-green: #22c55e;
    --km-amber: #f59e0b;
    --km-soft: #fff7ed;
    --km-line: #fed7aa;
    --km-navy: #7c2d12;
}

body.theme-game {
    --km-ink: #14213d;
    --km-muted: #63708d;
    --km-blue: #3568e8;
    --km-teal: #22a9c8;
    --km-green: #20a65a;
    --km-amber: #ffaf2f;
    --km-line: #dfe7f7;
    --km-soft: #f3f6ff;
    --km-white: #ffffff;
    --km-shadow: 0 18px 48px rgba(61,82,151,.15);
    --km-radius: 18px;
    --km-navy: #173368;
}

body.theme-scifi {
    --km-ink: #e5f6ff;
    --km-muted: #94a3b8;
    --km-blue: #38bdf8;
    --km-teal: #22d3ee;
    --km-green: #14b8a6;
    --km-amber: #facc15;
    --km-line: #26364f;
    --km-soft: #0b1120;
    --km-white: #111827;
    --km-navy: #020617;
}

body.landing-page {
    margin: 0;
    color: var(--km-ink);
    background: var(--km-white);
    font-family: "Segoe UI", "Noto Sans", "Liberation Sans", Arial, sans-serif;
}

.landing-page .app-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(220, 231, 239, 0.9);
    backdrop-filter: blur(16px);
}

.landing-page.theme-scifi .app-navbar {
    background: rgba(7, 11, 24, 0.92);
}

.landing-page .app-nav-inner {
    max-width: 1240px;
    min-height: 72px;
    margin: 0 auto;
    padding: 0 34px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
    white-space: nowrap;
}

.landing-page .app-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--km-ink);
    font-size: 1.28rem;
    font-weight: 950;
    text-decoration: none;
}

.landing-page .brand-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: var(--km-radius);
    color: #ffffff;
    background: linear-gradient(135deg, var(--km-blue), var(--km-teal));
    font-size: 14px;
    font-weight: 950;
}

.landing-page .app-nav-links {
    display: flex;
    justify-content: center;
    gap: 8px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: thin;
}

.landing-page .app-nav-link {
    padding: 9px 12px;
    border-radius: 999px;
    color: var(--km-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
}

.landing-page .app-nav-link:hover,
.landing-page .app-nav-link.active-link {
    color: var(--km-blue);
    background: rgba(31, 102, 209, 0.09);
}

.landing-page .app-nav-user {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.landing-page .app-user-email,
.landing-page .app-logout {
    border: 1px solid var(--km-line);
    border-radius: var(--km-radius);
    background: var(--km-white);
    color: var(--km-muted);
    padding: 8px 12px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.landing-page .km-hero {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-height: calc(92vh - 72px);
    display: grid;
    align-items: center;
    padding: 82px 34px 56px;
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.92) 32%, rgba(255, 255, 255, 0.22) 62%, rgba(255, 255, 255, 0.02) 100%),
        url("../../assets/enigmia-hero.png");
    background-size: cover;
    background-position: center right;
}

.landing-page .km-hero.has-slider {
    background: none;
}

.landing-page .km-hero.has-slider::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.99) 0%, rgba(255, 255, 255, 0.92) 32%, rgba(255, 255, 255, 0.22) 62%, rgba(255, 255, 255, 0.02) 100%);
    pointer-events: none;
}

.landing-page .km-hero.has-slider::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    z-index: -1;
    height: 160px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.92));
    pointer-events: none;
}

.landing-page.theme-green .km-hero.has-slider::before {
    background:
        linear-gradient(90deg, rgba(236, 253, 245, 0.99) 0%, rgba(236, 253, 245, 0.9) 32%, rgba(236, 253, 245, 0.22) 62%, rgba(236, 253, 245, 0.02) 100%);
}

.landing-page.theme-kids .km-hero.has-slider::before {
    background:
        linear-gradient(90deg, rgba(255, 247, 237, 0.99) 0%, rgba(255, 247, 237, 0.9) 32%, rgba(255, 247, 237, 0.2) 62%, rgba(255, 247, 237, 0.02) 100%);
}

.landing-page.theme-scifi .km-hero.has-slider::before {
    background:
        linear-gradient(90deg, rgba(7, 11, 24, 0.98) 0%, rgba(7, 11, 24, 0.9) 34%, rgba(7, 11, 24, 0.35) 66%, rgba(7, 11, 24, 0.06) 100%);
}

.landing-page.theme-scifi .km-hero.has-slider::after {
    background: linear-gradient(180deg, transparent, rgba(7, 11, 24, 0.92));
}

.landing-page .hero-slide {
    position: absolute;
    inset: 0;
    z-index: -3;
    background-size: cover;
    background-position: center right;
    opacity: 0;
    transform: scale(1.03);
    transition: opacity 1800ms ease, transform 7000ms ease;
}

.landing-page .hero-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.landing-page .hero-slide:nth-child(1) {
    background-image: url("../../assets/hero-01.png");
}

.landing-page .hero-slide:nth-child(2) {
    background-image: url("../../assets/hero-02.png");
}

.landing-page .hero-slide:nth-child(3) {
    background-image: url("../../assets/hero-03.png");
}

.landing-page .hero-slide:nth-child(4) {
    background-image: url("../../assets/hero-04.png");
}

.landing-page .hero-slide:nth-child(5) {
    background-image: url("../../assets/hero-05.png");
}

.landing-page .hero-slide:nth-child(6) {
    background-image: url("../../assets/hero-06.png");
}

.landing-page .hero-dots {
    position: absolute;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}

.landing-page .hero-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(21, 36, 82, 0.25);
    cursor: pointer;
    transition: width 220ms ease, background 220ms ease;
}

.landing-page .hero-dot.is-active {
    width: 28px;
    border-radius: 999px;
    background: var(--km-blue);
}

.landing-page.theme-green .km-hero {
    background-image:
        linear-gradient(90deg, rgba(236, 253, 245, 0.99) 0%, rgba(236, 253, 245, 0.9) 32%, rgba(236, 253, 245, 0.22) 62%, rgba(236, 253, 245, 0.02) 100%),
        url("../../assets/enigmia-hero.png");
}

.landing-page.theme-kids .km-hero {
    background-image:
        linear-gradient(90deg, rgba(255, 247, 237, 0.99) 0%, rgba(255, 247, 237, 0.9) 32%, rgba(255, 247, 237, 0.2) 62%, rgba(255, 247, 237, 0.02) 100%),
        url("../../assets/enigmia-hero.png");
}

.landing-page.theme-scifi .km-hero {
    background-image:
        linear-gradient(90deg, rgba(7, 11, 24, 0.98) 0%, rgba(7, 11, 24, 0.9) 34%, rgba(7, 11, 24, 0.35) 66%, rgba(7, 11, 24, 0.06) 100%),
        url("../../assets/enigmia-hero.png");
}

.landing-page .km-hero-inner,
.landing-page .section,
.landing-page .footer-inner {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.landing-page .km-hero-copy {
    max-width: 610px;
}

.landing-page .eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    margin: 0 0 18px;
    padding: 7px 12px;
    border: 1px solid var(--km-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    color: var(--km-teal);
    font-size: 13px;
    font-weight: 950;
    text-transform: uppercase;
    letter-spacing: 0;
}

.landing-page.theme-scifi .eyebrow {
    background: rgba(15, 23, 42, 0.82);
}

.landing-page .km-hero h1 {
    margin: 0;
    max-width: 580px;
    font-size: clamp(42px, 7vw, 82px);
    line-height: 0.98;
    letter-spacing: 0;
}

.landing-page .lead {
    margin: 24px 0 0;
    max-width: 560px;
    color: var(--km-muted);
    font-size: 19px;
    line-height: 1.65;
}

.landing-page .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.landing-page .btn,
.landing-page button[type="submit"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: var(--km-radius);
    color: #ffffff;
    background: var(--km-blue);
    text-decoration: none;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(31, 102, 209, 0.22);
}

.landing-page .btn.secondary {
    color: var(--km-ink);
    background: var(--km-white);
    border-color: var(--km-line);
    box-shadow: none;
}

.landing-page .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 620px;
    margin-top: 36px;
}

.landing-page .stat,
.landing-page .card,
.landing-page .step,
.landing-page .mini-card,
.landing-page .module-tile {
    border: 1px solid var(--km-line);
    border-radius: var(--km-radius);
    background: var(--km-white);
}

.landing-page .stat {
    padding: 16px;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(12px);
}

.landing-page.theme-scifi .stat {
    background: rgba(15, 23, 42, 0.82);
}

.landing-page .stat strong {
    display: block;
    font-size: 28px;
    line-height: 1;
}

.landing-page .stat span {
    display: block;
    margin-top: 7px;
    color: var(--km-muted);
    font-size: 13px;
    font-weight: 750;
}

.landing-page .section {
    padding: 74px 24px;
}

.landing-page .section-head {
    max-width: 720px;
    margin-bottom: 28px;
}

.landing-page .section-head h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.08;
}

.landing-page .section-head p {
    margin: 14px 0 0;
    color: var(--km-muted);
    font-size: 17px;
    line-height: 1.6;
}

.landing-page .audience-grid,
.landing-page .feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.landing-page .card {
    min-height: 220px;
    padding: 22px;
    box-shadow: 0 8px 24px rgba(16, 32, 51, 0.06);
}

.landing-page .card-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    border-radius: var(--km-radius);
    color: #ffffff;
    background: linear-gradient(135deg, var(--km-teal), var(--km-green));
    font-weight: 950;
}

.landing-page .card h3,
.landing-page .module-tile h3,
.landing-page .step h3 {
    margin: 0 0 8px;
}

.landing-page .card p,
.landing-page .module-tile p,
.landing-page .step p {
    margin: 0;
    color: var(--km-muted);
    line-height: 1.55;
}

.landing-page .product-band {
    background: var(--km-soft);
    border-top: 1px solid var(--km-line);
    border-bottom: 1px solid var(--km-line);
}

.landing-page .product-preview {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 24px;
    align-items: stretch;
}

.landing-page .workflow {
    display: grid;
    gap: 12px;
}

.landing-page .step {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 16px;
}

.landing-page .step-no {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: var(--km-blue);
    font-weight: 950;
}

.landing-page .screen {
    overflow: hidden;
    border: 1px solid #cfdbe7;
    border-radius: var(--km-radius);
    background: var(--km-white);
    box-shadow: var(--km-shadow);
}

.landing-page .screen-top {
    display: flex;
    gap: 7px;
    padding: 13px;
    border-bottom: 1px solid var(--km-line);
    background: #f8fafc;
}

.landing-page .screen-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
}

.landing-page .screen-body {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    min-height: 430px;
}

.landing-page .screen-side {
    padding: 16px;
    border-right: 1px solid var(--km-line);
    background: #fbfdff;
}

.landing-page .screen-link {
    height: 34px;
    margin-bottom: 8px;
    border-radius: var(--km-radius);
    background: #edf4ff;
}

.landing-page .screen-link:nth-child(2) {
    background: var(--km-blue);
}

.landing-page .screen-main {
    padding: 18px;
}

.landing-page .screen-map {
    position: relative;
    min-height: 190px;
    border-radius: var(--km-radius);
    background:
        linear-gradient(90deg, rgba(31, 102, 209, 0.14) 1px, transparent 1px),
        linear-gradient(rgba(31, 102, 209, 0.14) 1px, transparent 1px),
        #eef7f4;
    background-size: 30px 30px;
}

.landing-page .map-point {
    position: absolute;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #ffffff;
    background: var(--km-teal);
    font-size: 11px;
    font-weight: 950;
}

.landing-page .map-point:nth-child(1) { left: 16%; top: 24%; }
.landing-page .map-point:nth-child(2) { left: 54%; top: 35%; }
.landing-page .map-point:nth-child(3) { left: 36%; top: 68%; }
.landing-page .map-point:nth-child(4) { right: 12%; bottom: 18%; }

.landing-page .mini-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.landing-page .mini-card {
    min-height: 82px;
    padding: 12px;
}

.landing-page .mini-card strong {
    display: block;
    font-size: 22px;
}

.landing-page .mini-card span {
    color: var(--km-muted);
    font-size: 12px;
    font-weight: 800;
}

.landing-page .module-board {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.landing-page .module-tile {
    min-height: 150px;
    padding: 18px;
}

.landing-page .module-tile span {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    margin-bottom: 14px;
    border-radius: var(--km-radius);
    color: #ffffff;
    background: var(--km-navy);
    font-size: 12px;
    font-weight: 950;
}

.landing-page .mobile-section {
    display: grid;
    grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
    gap: 34px;
    align-items: center;
}

.landing-page .phone {
    width: min(330px, 100%);
    margin: 0 auto;
    padding: 13px;
    border: 1px solid #cbd8e6;
    border-radius: 32px;
    background: #111827;
    box-shadow: var(--km-shadow);
}

.landing-page .phone-screen {
    overflow: hidden;
    min-height: 610px;
    border-radius: 24px;
    background: #f7fafc;
}

.landing-page .phone-map {
    min-height: 250px;
    background-image:
        linear-gradient(120deg, rgba(31, 102, 209, 0.9), rgba(15, 159, 141, 0.8)),
        url("../../assets/enigmia-hero.png");
    background-size: cover;
    background-position: center right;
}

.landing-page .phone-card {
    position: relative;
    margin: -42px 14px 14px;
    padding: 18px;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 12px 26px rgba(16, 32, 51, 0.16);
}

.landing-page .answer-box {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--km-line);
    border-radius: var(--km-radius);
    color: var(--km-muted);
    background: #f8fafc;
    font-weight: 750;
}

.landing-page .phone-actions {
    display: grid;
    gap: 10px;
    margin: 14px;
}

.landing-page .cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 34px;
    border-radius: var(--km-radius);
    color: #ffffff;
    background: linear-gradient(135deg, var(--km-blue), var(--km-teal));
}

.landing-page .cta h2 {
    margin: 0;
    font-size: 34px;
    line-height: 1.1;
}

.landing-page .cta p {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.55;
}

.landing-page .footer {
    padding: 28px 24px;
    border-top: 1px solid var(--km-line);
    background: #f8fafc;
}

.landing-page .footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    color: var(--km-muted);
    font-size: 14px;
}

@media (max-width: 980px) {
    .landing-page .app-nav-inner {
        grid-template-columns: 1fr auto;
        padding: 12px 16px;
    }

    .landing-page .app-nav-links {
        grid-column: 1 / -1;
        justify-content: flex-start;
        order: 3;
    }

    .landing-page .km-hero {
        padding: 56px 20px 44px;
        background-image:
            linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 48%, rgba(255, 255, 255, 0.36) 100%),
            url("../../assets/enigmia-hero.png");
        background-position: center bottom;
    }

    .landing-page .km-hero.has-slider::before {
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.9) 48%, rgba(255, 255, 255, 0.45) 100%);
    }

    .landing-page.theme-green .km-hero.has-slider::before {
        background:
            linear-gradient(180deg, rgba(236, 253, 245, 0.98) 0%, rgba(236, 253, 245, 0.9) 48%, rgba(236, 253, 245, 0.45) 100%);
    }

    .landing-page.theme-kids .km-hero.has-slider::before {
        background:
            linear-gradient(180deg, rgba(255, 247, 237, 0.98) 0%, rgba(255, 247, 237, 0.9) 48%, rgba(255, 247, 237, 0.45) 100%);
    }

    .landing-page.theme-scifi .km-hero.has-slider::before {
        background:
            linear-gradient(180deg, rgba(7, 11, 24, 0.98) 0%, rgba(7, 11, 24, 0.9) 48%, rgba(7, 11, 24, 0.48) 100%);
    }

    .landing-page .hero-slide {
        background-position: center bottom;
    }

    .landing-page .hero-stats,
    .landing-page .audience-grid,
    .landing-page .feature-grid,
    .landing-page .module-board,
    .landing-page .mobile-section,
    .landing-page .product-preview {
        grid-template-columns: 1fr;
    }

    .landing-page .screen-body {
        grid-template-columns: 1fr;
    }

    .landing-page .screen-side {
        display: none;
    }

    .landing-page .cta {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .landing-page .app-user-email {
        display: none;
    }

    .landing-page .km-hero h1 {
        font-size: 40px;
    }

    .landing-page .lead {
        font-size: 17px;
    }

    .landing-page .hero-stats,
    .landing-page .mini-cards {
        grid-template-columns: 1fr;
    }

    .landing-page .footer-inner {
        flex-direction: column;
    }
}


/* ======================================================================
   PATCH 10B — stable homepage vertical flow; no hero/card overlap
   ====================================================================== */
.landing-page .access-gateway{
    position:relative!important;
    z-index:5!important;
    width:min(1180px,calc(100% - 48px))!important;
    max-width:1180px!important;
    margin:32px auto 0!important;
    padding:0!important;
    transform:none!important;
}
.landing-page .access-gateway-grid{
    width:100%;
    align-items:stretch;
}
.landing-page .access-gateway-card{
    height:100%;
    min-height:122px;
    overflow:hidden;
}
.landing-page .access-gateway-card>span:nth-child(2){min-width:0;margin:0}
.landing-page .access-gateway-card>span:nth-child(2)>span{overflow-wrap:anywhere}
.landing-page .access-gateway + .section{
    padding-top:64px!important;
}
.landing-page .km-hero{
    margin-bottom:0!important;
}
@media(max-width:980px){
    .landing-page .access-gateway{width:min(100% - 36px,760px)!important;margin:26px auto 0!important}
    .landing-page .access-gateway + .section{padding-top:52px!important}
}
@media(max-width:640px){
    .landing-page .access-gateway{width:calc(100% - 28px)!important;margin:20px auto 0!important}
    .landing-page .access-gateway-card{min-height:0;padding:17px 16px}
    .landing-page .access-gateway + .section{padding-top:44px!important}
}

/* ======================================================================
   PATCH 11 — Android APK downloads on homepage
   ====================================================================== */
.landing-page .android-download-section {
    padding-top: 58px;
    padding-bottom: 58px;
}

.landing-page .android-download-head {
    max-width: 760px;
    margin-bottom: 26px;
}

.landing-page .android-download-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.landing-page .android-download-card {
    position: relative;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 20px;
    align-items: start;
    padding: 28px;
    border: 1px solid var(--km-line);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 20px 50px rgba(31, 49, 89, 0.09);
    overflow: hidden;
}

.landing-page .android-download-card::after {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    right: -70px;
    bottom: -100px;
    border-radius: 50%;
    opacity: .12;
    pointer-events: none;
}

.landing-page .android-player-card::after {
    background: linear-gradient(135deg, var(--km-blue), var(--km-teal));
}

.landing-page .android-organizer-card::after {
    background: linear-gradient(135deg, #7c3aed, #2563eb);
}

.landing-page .android-download-icon {
    position: relative;
    z-index: 1;
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    color: #fff;
    font-size: 30px;
    font-weight: 900;
    box-shadow: 0 12px 28px rgba(37, 99, 235, .18);
}

.landing-page .android-player-card .android-download-icon {
    background: linear-gradient(135deg, var(--km-teal), var(--km-blue));
}

.landing-page .android-organizer-card .android-download-icon {
    background: linear-gradient(135deg, #7c3aed, #2563eb);
}

.landing-page .android-download-copy {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.landing-page .android-download-type {
    display: block;
    margin-bottom: 6px;
    color: var(--km-muted);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
}

.landing-page .android-download-card h3 {
    margin: 0 0 8px;
    font-size: 24px;
    line-height: 1.15;
}

.landing-page .android-download-card p {
    margin: 0 0 20px;
    color: var(--km-muted);
    line-height: 1.55;
}

.landing-page .android-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 178px;
    justify-content: center;
}

.landing-page .android-download-btn small {
    font-size: 11px;
    opacity: .8;
}

.landing-page .android-download-btn.is-disabled {
    cursor: default;
    pointer-events: none;
    color: #64748b;
    background: #e2e8f0;
    box-shadow: none;
}

.landing-page .android-download-note {
    margin: 18px 0 0;
    color: var(--km-muted);
    font-size: 13px;
    text-align: center;
}

@media (max-width: 820px) {
    .landing-page .android-download-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .landing-page .android-download-section {
        padding-top: 42px;
        padding-bottom: 42px;
    }

    .landing-page .android-download-card {
        grid-template-columns: 56px minmax(0, 1fr);
        gap: 14px;
        padding: 20px;
        border-radius: 18px;
    }

    .landing-page .android-download-icon {
        width: 56px;
        height: 56px;
        border-radius: 16px;
        font-size: 24px;
    }

    .landing-page .android-download-card h3 {
        font-size: 21px;
    }

    .landing-page .android-download-btn {
        width: 100%;
    }
}

/* Enigmia: jedna aplikacja Android */
.android-download-grid-single{grid-template-columns:minmax(0,760px);justify-content:center}
.android-download-grid-single .android-download-card{width:100%}
