.home-app-section {
    position: relative;
    overflow: hidden;
}

.home-app-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, var(--theme-primary-soft) 0%, transparent 42%),
        radial-gradient(circle at 85% 80%, rgba(29, 53, 87, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.home-app-grid {
    position: relative;
    z-index: 1;
    max-width: 1180px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.05fr);
    gap: 48px;
    align-items: center;
}

.home-app-copy h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 900;
    color: var(--theme-text);
    margin-bottom: 16px;
    line-height: 1.25;
}

.home-app-copy p {
    color: var(--theme-text-soft);
    font-size: 1.08rem;
    line-height: 1.85;
    margin-bottom: 22px;
    font-weight: 600;
}

.home-app-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: grid;
    gap: 12px;
}

.home-app-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--theme-text);
    font-weight: 700;
    line-height: 1.6;
}

.home-app-features li i {
    color: var(--primary-color);
    margin-top: 4px;
    flex-shrink: 0;
}

.home-app-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: stretch;
}

.home-app-version {
    margin: 14px 0 0;
    color: var(--theme-text-muted, #667085);
    font-size: 0.95rem;
}

.home-app-version strong {
    color: var(--theme-text, #1d3557);
}

.home-app-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 0 22px;
    border-radius: 14px;
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
    border: 2px solid transparent;
}

.home-app-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px var(--theme-primary-shadow);
}

.home-app-btn--apk {
    background: var(--gradient);
    color: var(--theme-icon-on-primary);
}

.home-app-btn--play {
    background: var(--theme-bg);
    color: var(--theme-text);
    border-color: var(--theme-border-light);
}

.home-app-btn--play.is-disabled {
    opacity: 0.72;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
    transform: none;
}

.home-app-btn small {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    opacity: 0.85;
}

.home-app-visual {
    display: flex;
    justify-content: center;
}

.home-app-phone {
    width: min(100%, 340px);
    aspect-ratio: 10 / 20;
    border-radius: 34px;
    padding: 14px;
    background: linear-gradient(160deg, #1d3557 0%, #0f172a 100%);
    box-shadow:
        0 28px 60px rgba(0, 0, 0, 0.28),
        inset 0 0 0 2px rgba(255, 255, 255, 0.08);
    position: relative;
}

.home-app-phone::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 92px;
    height: 22px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.35);
}

.home-app-screen {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(29, 53, 87, 0.15) 0%, rgba(214, 40, 40, 0.12) 100%),
        var(--theme-bg-alt);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 28px 20px;
    text-align: center;
}

.home-app-screen-logo {
    width: 88px;
    height: 88px;
    border-radius: 22px;
    object-fit: contain;
    background: #fff;
    padding: 10px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.home-app-screen h3 {
    color: var(--theme-text);
    font-size: 1.35rem;
    font-weight: 900;
    margin: 0;
}

.home-app-screen p {
    color: var(--theme-text-soft);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    font-weight: 600;
}

.home-app-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 8px;
}

.home-app-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--theme-primary-soft);
    color: var(--primary-color);
    font-size: 0.82rem;
    font-weight: 800;
}

@media (max-width: 960px) {
    .home-app-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .home-app-visual {
        order: -1;
    }

    .home-app-phone {
        width: min(100%, 280px);
    }
}

@media (max-width: 560px) {
    .home-app-actions {
        flex-direction: column;
    }

    .home-app-btn {
        width: 100%;
    }
}
