.pwa-app-page {
    position: relative;
    max-width: 48rem;
    margin: 0 auto;
    padding: 0 0 1.5rem;
}

/* JS yoksa içerik görünür; .is-booting yalnızca script ekler */
.pwa-app-boot {
    display: none;
    position: absolute;
    inset: 0;
    z-index: 5;
    place-items: center;
    min-height: min(70vh, 32rem);
    padding: 2rem 1rem;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(37, 99, 235, 0.14), transparent 55%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 45%, #f1f5f9 100%);
    opacity: 1;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.pwa-app-page.is-booting .pwa-app-boot {
    display: grid;
}

.pwa-app-boot.is-done {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.pwa-app-boot__panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    text-align: center;
}

.pwa-app-boot__icon {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 1.15rem;
    object-fit: cover;
    box-shadow: 0 14px 32px rgba(15, 23, 42, 0.14);
    animation: pwa-boot-float 2.4s ease-in-out infinite;
}

.pwa-app-boot__icon--fallback {
    display: grid;
    place-items: center;
    background: #0e2740;
    color: #93c5fd;
    font-size: 1.75rem;
}

.pwa-app-boot__ring {
    width: 2.15rem;
    height: 2.15rem;
    margin-top: 0.35rem;
    border-radius: 50%;
    border: 2.5px solid #e2e8f0;
    border-top-color: #2563eb;
    animation: pwa-boot-spin 0.75s linear infinite;
}

.pwa-app-boot__title {
    margin: 0.35rem 0 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0e2740;
}

.pwa-app-boot__sub {
    margin: 0;
    font-size: 0.85rem;
    color: #64748b;
}

.pwa-app-root {
    opacity: 1;
    transform: none;
    transition: opacity 0.45s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.pwa-app-page.is-booting .pwa-app-root:not(.is-ready),
.pwa-app-page.is-booting .ld-page-hero {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}

.pwa-app-root.is-ready {
    opacity: 1;
    transform: translateY(0);
}

.pwa-app {
    max-width: 40rem;
    margin: 0 auto;
    padding: 0.5rem 0 2rem;
}

.pwa-hero {
    margin-bottom: 1rem;
    padding: 1.6rem 1.2rem 1.4rem;
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: 22px;
    background: linear-gradient(165deg, #eff6ff 0%, #f8fafc 58%, #fff 100%);
    text-align: center;
}

.pwa-hero-logo {
    display: inline-flex;
    margin-bottom: 0.9rem;
    border-radius: 22px;
}

.pwa-hero-logo img {
    width: 88px;
    height: 88px;
    border: 3px solid #fff;
    border-radius: 22px;
    object-fit: cover;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.22);
}

.pwa-hero h1 {
    margin: 0;
    color: var(--emasir-navy);
    font-size: 1.45rem;
    font-weight: 800;
}

.pwa-hero-note {
    max-width: 32rem;
    margin: 0.35rem auto 0;
    color: var(--emasir-muted, #5d6b78);
    font-size: 0.95rem;
    line-height: 1.7;
}

.pwa-hero p {
    max-width: 32rem;
    margin: 0.45rem auto 0;
    color: var(--emasir-muted);
    line-height: 1.7;
}

.pwa-card,
.pwa-banner {
    margin-bottom: 0.85rem;
    padding: 1.15rem 1.1rem 1.2rem;
    border: 1px solid var(--emasir-line);
    border-radius: 18px;
    background: var(--emasir-surface);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.pwa-card h2 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.8rem;
    color: var(--emasir-navy);
    font-size: 1.05rem;
    font-weight: 800;
}

.pwa-card h2 i {
    color: #0284c7;
    font-size: 1rem;
}

.pwa-play-store h2 i {
    color: #01875f;
}

.pwa-card p,
.pwa-hint {
    margin: 0.35rem 0 0;
    color: var(--emasir-muted);
    line-height: 1.65;
}

.pwa-note {
    margin: 0 0 0.9rem;
    padding: 0.7rem 0.85rem;
    border: 1px solid #fde68a;
    border-radius: 12px;
    background: #fffbeb;
    color: #92400e;
}

.pwa-install,
.pwa-go,
.pwa-copy button {
    border: 0;
    border-radius: 14px;
    background: linear-gradient(160deg, #2563eb, #1d4ed8);
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
}

.pwa-install,
.pwa-go {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 3rem;
    margin-top: 0.35rem;
    box-shadow: 0 10px 24px rgba(29, 78, 216, 0.28);
}

.pwa-install.is-busy {
    cursor: wait;
    opacity: 0.75;
}

.pwa-steps {
    display: grid;
    gap: 0.85rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pwa-steps li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.pwa-steps b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 999px;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 0.85rem;
}

.pwa-steps strong {
    color: var(--emasir-navy);
}

.pwa-copy {
    display: flex;
    gap: 0.45rem;
    margin: 0.2rem 0 0.9rem;
}

.pwa-copy input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0.5rem 0.65rem;
    border: 1px solid var(--emasir-line);
    border-radius: 10px;
    background: #f8fafc;
    color: var(--emasir-navy);
    font: inherit;
    font-size: 0.78rem;
}

.pwa-copy button {
    flex: 0 0 auto;
    padding: 0.5rem 0.85rem;
}

.pwa-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    color: inherit;
    text-decoration: none;
}

.pwa-banner strong,
.pwa-banner small {
    display: block;
}

.pwa-banner strong {
    color: var(--emasir-navy);
    font-size: 1rem;
}

.pwa-banner small {
    margin-top: 0.15rem;
    color: var(--emasir-muted);
}

.pwa-banner .icon {
    width: 1.35rem;
    height: 1.35rem;
    color: #1d4ed8;
}

html.theme-dark .pwa-hero {
    border-color: #1f2937;
    background: linear-gradient(165deg, #172554 0%, #111827 70%);
}

html.theme-dark .pwa-card,
html.theme-dark .pwa-banner,
html.theme-dark .pwa-copy input {
    border-color: #1f2937;
    background: #111827;
    color: #e5e7eb;
}

html.theme-dark .pwa-hero h1,
html.theme-dark .pwa-card h2,
html.theme-dark .pwa-steps strong,
html.theme-dark .pwa-banner strong {
    color: #f8fafc;
}

/* Direct APK / Play Store (from TopUp App page) */
.pwa-direct-apk-update {
    border-color: rgba(14, 165, 233, 0.28) !important;
    background: linear-gradient(135deg, rgba(224, 242, 254, 0.85), #fff 55%) !important;
}

.pwa-direct-apk-update .pwa-app-card__head i {
    color: #0284c7;
}

.pwa-direct-apk-update__actions {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.pwa-direct-apk-update__later {
    appearance: none;
    border: 0;
    background: transparent;
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.35rem;
    cursor: pointer;
}

.pwa-direct-apk-update__later:hover,
.pwa-direct-apk-update__later:focus-visible {
    color: #0f172a;
}

.pwa-direct-apk__btn.is-loading {
    opacity: 0.8;
    pointer-events: none;
}

@keyframes pwa-boot-spin {
    to { transform: rotate(360deg); }
}

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

.pwa-app-page__hero {
    text-align: center;
    padding: 2rem 1rem 1.5rem;
    margin-bottom: 1.25rem;
    border-radius: 20px;
    background: linear-gradient(160deg, #eff6ff 0%, #f8fafc 55%, #fff 100%);
    border: 1px solid rgba(59, 130, 246, 0.12);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.pwa-app-page__icon {
    width: 88px;
    height: 88px;
    margin: 0 auto 1rem;
    border-radius: 22px;
    object-fit: cover;
    box-shadow: 0 12px 32px rgba(37, 99, 235, 0.22);
    border: 3px solid #fff;
}

.pwa-app-page__title {
    margin: 0 0 0.35rem;
    font-size: 1.45rem;
    font-weight: 800;
    color: #0f172a;
}

.pwa-app-page__lead {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 28rem;
    margin-inline: auto;
}

.pwa-app-priority {
    margin: 1rem auto 0;
    max-width: 26rem;
    text-align: start;
    padding: 0.65rem 0.75rem;
    border-radius: 14px;
    background: linear-gradient(145deg, #f8fafc 0%, #eef2ff 100%);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.pwa-app-priority__label {
    margin: 0 0 0.4rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #64748b;
}

.pwa-app-priority__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.pwa-app-priority__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 1.55rem;
}

.pwa-app-priority__num {
    flex-shrink: 0;
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    font-size: 0.72rem;
    font-weight: 800;
    color: #0f172a;
    background: #e0f2fe;
}

.pwa-app-priority__text {
    font-size: 0.82rem;
    line-height: 1.35;
    color: #334155;
}

.pwa-app-priority__text strong {
    color: #0f172a;
    font-weight: 800;
}

.pwa-app-priority--solo {
    margin: 1rem auto 0;
    max-width: 26rem;
    text-align: center;
    font-size: 0.86rem;
    line-height: 1.55;
    color: #475569;
}

.pwa-app-priority--solo strong {
    color: #0f172a;
    font-weight: 800;
}

.pwa-play-store__text {
    margin: 0 0 1rem;
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.7;
}

.pwa-play-store__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 2.85rem;
    padding: 0.65rem 1.15rem;
    border-radius: 12px;
    background: #01875f;
    color: #fff !important;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none !important;
    box-shadow: 0 10px 24px rgba(1, 135, 95, 0.28);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.pwa-play-store__btn:hover,
.pwa-play-store__btn:focus-visible {
    background: #016b4c;
    color: #fff !important;
    box-shadow: 0 12px 28px rgba(1, 135, 95, 0.34);
    transform: translateY(-1px);
}

.pwa-play-store__btn i {
    font-size: 1.15rem;
}

.pwa-direct-apk__text {
    margin: 0 0 0.75rem;
    color: #64748b;
    font-size: 0.92rem;
    line-height: 1.7;
}

.pwa-direct-apk__steps {
    margin: 0 0 1rem;
    padding: 0.75rem 0.85rem 0.75rem 0;
    padding-inline-start: 1.35rem;
    list-style: decimal;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid rgba(15, 23, 42, 0.06);
    color: #334155;
    font-size: 0.88rem;
    line-height: 1.7;
}

.pwa-direct-apk__steps li {
    margin: 0.35rem 0;
    padding-inline-start: 0.15rem;
}

.pwa-direct-apk__steps li::marker {
    font-weight: 700;
    color: #0ea5e9;
}

.pwa-direct-apk__meta {
    list-style: none;
    margin: 0 0 0.85rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
    color: #475569;
    font-size: 0.88rem;
}

.pwa-direct-apk__meta span {
    color: #94a3b8;
    margin-inline-end: 0.35rem;
}

.pwa-direct-apk__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    min-height: 2.85rem;
    padding: 0.65rem 1.15rem;
    border-radius: 12px;
    background: #1e293b;
    color: #fff !important;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.22);
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.pwa-direct-apk__btn:hover,
.pwa-direct-apk__btn:focus-visible {
    background: #0f172a;
    color: #fff !important;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.3);
    transform: translateY(-1px);
}

.pwa-direct-apk__btn i {
    font-size: 1.1rem;
}


