﻿.download-section {
    width: min(980px, 100%);
    margin: 0 auto;
}

.download-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 22px;
}

.content {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 22px;
    align-items: center;
}

@media (max-width: 860px) {
    .content {
        grid-template-columns: 1fr;
    }
}

/* Banner */
.banner {
    border-radius: 18px;
    padding: 18px;
    border: 1px solid var(--border);
    background: #fafafa;
}

.banner-top {
    display: flex;
    align-items: center;
    gap: 14px;
}

.android-badge {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: rgba(16,185,129,.10);
    border: 1px solid rgba(16,185,129,.25);
    flex: 0 0 auto;
}

    .android-badge svg {
        width: 34px;
        height: 34px;
    }

.banner h2 {
    margin: 0;
    font-size: 20px;
    line-height: 1.2;
}

.banner p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.5;
    max-width: 52ch;
}

/* Right */
.right {
    position: relative;
    border-radius: 18px;
    border: 1px solid var(--border);
    background: #ffffff;
    padding: 18px;
    overflow: hidden;
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 16px;
}

/* =========================
       100% SAFE STAMP (CENTERED)
       ========================= */
.safe-stamp {
    position: absolute;
    top: 18px;
    left: 50%;
    transform: translateX(-50%) rotate(-12deg); /* center + rotate */
    width: 160px;
    height: 160px;
    pointer-events: none;
    user-select: none;
    opacity: .98;
}

    /* Outer seal (wavy edge) */
    .safe-stamp .seal {
        position: absolute;
        inset: 0;
        border-radius: 50%;
        background: var(--stampDark);
        filter: drop-shadow(0 10px 18px rgba(0,0,0,.18));
    }

        /* Inner circle */
        .safe-stamp .seal::before {
            content: "";
            position: absolute;
            inset: 16px;
            border-radius: 50%;
            background: #fff;
            border: 4px solid var(--stampDark);
        }

    /* "100% SAFE" around circle */
    .safe-stamp .ring-text {
        position: absolute;
        inset: 18px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 900;
        color: var(--stampDark);
        font-size: 14px;
        letter-spacing: 2px;
        text-transform: uppercase;
    }

        .safe-stamp .ring-text::before {
            content: "100% SAFE   ★ ★ ★   100% SAFE";
            opacity: .95;
        }

    /* Ribbon across */
    .safe-stamp .ribbon {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 190px;
        height: 54px;
        background: var(--stampGreen);
        border-radius: 6px;
        box-shadow: 0 8px 16px rgba(25,195,125,.25);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        font-weight: 1000;
        font-size: 26px;
        letter-spacing: 1px;
        text-transform: uppercase;
        border: 2px solid rgba(255,255,255,.55);
    }

        /* Ribbon tails */
        .safe-stamp .ribbon::before,
        .safe-stamp .ribbon::after {
            content: "";
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            width: 22px;
            height: 54px;
            background: var(--stampGreen);
        }

        .safe-stamp .ribbon::before {
            left: -18px;
            clip-path: polygon(0 50%, 100% 0, 100% 100%);
        }

        .safe-stamp .ribbon::after {
            right: -18px;
            clip-path: polygon(0 0, 100% 50%, 0 100%);
        }

    /* Distressed / stamp texture effect */
    .safe-stamp .texture {
        position: absolute;
        inset: 0;
        border-radius: 50%;
        background: radial-gradient(circle at 30% 35%, rgba(255,255,255,.18) 0 6px, transparent 7px), radial-gradient(circle at 70% 30%, rgba(255,255,255,.12) 0 7px, transparent 8px), radial-gradient(circle at 40% 75%, rgba(255,255,255,.10) 0 6px, transparent 7px), radial-gradient(circle at 78% 72%, rgba(255,255,255,.08) 0 5px, transparent 6px);
        mix-blend-mode: multiply;
        opacity: .35;
        pointer-events: none;
    }

/* Download button */
.download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    border: none;
    cursor: pointer;
    padding: 14px 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, #2563eb, #22c55e);
    color: #ffffff;
    font-weight: 800;
    font-size: 15px;
    transition: transform .15s ease, filter .15s ease;
    /* extra space so stamp doesn't overlap */
    margin-top: 120px;
}

    .download-btn:hover {
        transform: translateY(-2px);
        filter: brightness(1.02);
    }

    .download-btn:active {
        transform: translateY(0px) scale(.99);
    }

.playstore-icon {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 10px;
}

.hint {
    text-align: center;
    font-size: 12.5px;
    color: #6b7280;
    margin: 0;
}

.mini-line {
    margin-top: 14px;
    font-size: 12px;
    color: #6b7280;
    text-align: center;
}
