body {
    background: #0b0b0f;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 25%, rgba(245, 208, 54, .08), transparent 22%),
        linear-gradient(135deg, transparent 0 48%, rgba(242, 207, 65, .18) 48.2% 48.35%, transparent 48.5%),
        linear-gradient(315deg, transparent 0 70%, rgba(242, 207, 65, .12) 70.2% 70.35%, transparent 70.5%);
}

.result-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 18px;
}

.result-card {
    width: min(520px, 100%);
    border: 1px solid var(--gold-2);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(20, 14, 20, .95), rgba(10, 10, 14, .96));
    padding: 34px 38px 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .35);
}

.result-bank-logo {
    max-width: 150px;
    max-height: 48px;
    margin-bottom: 22px;
    object-fit: contain;
}

.result-icon {
    width: 76px;
    height: 76px;
    margin: 0 auto 22px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
}

.result-icon svg {
    width: 40px;
    height: 40px;
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.result-icon.success {
    background: #22b573;
    animation: pulseSuccess 1.8s ease-in-out infinite;
}

.result-icon.fail {
    background: #ff5b5b;
    animation: pulseFail 1.8s ease-in-out infinite;
}

.result-icon.timeout {
    background: #e0a526;
    color: #111;
    animation: pulseTimeout 1.8s ease-in-out infinite;
}

.result-card h1 {
    margin: 0 0 10px;
    font-size: 28px;
}

.result-message {
    margin: 0 auto 24px;
    max-width: 420px;
    line-height: 1.6;
    opacity: .78;
    font-size: var(--font-sm);
}

.result-details {
    display: grid;
    gap: 10px;
    width: 85%;
    margin-bottom: 8px;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    text-align: left;
}

.result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    font-size: var(--font-sm);
}

.result-row span {
    opacity: .62;
}

.result-row strong {
    display: flex;
    align-items: center;
    gap: 6px;
    text-align: right;
    word-break: break-all;
}

.result-row.amount strong {
    color: var(--gold);
    font-size: var(--font-md);
}

.result-row .copy-btn {
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.result-row .copy-btn img {
    width: 13px;
    height: 13px;
}

.result-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 85%;
    min-height: 48px;
    margin: 22px auto 0;
    padding: 12px 20px;
    border: 1px solid var(--gold-2);
    border-radius: 12px;
    background: var(--gold-2);
    color: #111;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: transform .18s ease, filter .18s ease;
}

.result-btn:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
}

.result-redirect {
    margin-top: 10px;
    font-size: 12px;
    opacity: .7;
}

.result-card .dp-platform-logo {
    width: 125px;
    margin-top: 24px;
}

@keyframes pulseSuccess {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(34, 181, 115, .28); }
    50% { transform: scale(1.04); box-shadow: 0 0 0 12px rgba(34, 181, 115, 0); }
}

@keyframes pulseFail {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 91, 91, .28); }
    50% { transform: scale(1.04); box-shadow: 0 0 0 12px rgba(255, 91, 91, 0); }
}

@keyframes pulseTimeout {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(224, 165, 38, .28); }
    50% { transform: scale(1.04); box-shadow: 0 0 0 12px rgba(224, 165, 38, 0); }
}

@media (max-width: 600px) {
    .result-page {
        padding: 20px 14px;
    }

    .result-card {
        padding: 34px 20px;
        border-radius: 18px;
    }

    .result-card h1 {
        font-size: 24px;
    }

    .result-details,
    .result-btn {
        width: 100%;
    }

    .result-row {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .result-icon { animation: none !important; }
}
