:root {
    --gradient-start: #1c3b70;
    --gradient-end: #7a2f8f;
    --card-bg: rgba(255, 255, 255, 0.94);
    --text-dark: #0f172a;
    --accent: #4c6fff;
    --success: #22c55e;
    --danger: #ef4444;
    --neutral: #6366f1;
    --radius-large: 1.6rem;
}

body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    background: linear-gradient(140deg, var(--gradient-start), var(--gradient-end));
    background-attachment: fixed;
    font-family: "Poppins", "Segoe UI", Arial, sans-serif;
    color: #f8fafc;
}

.navbar-gradient {
    background: linear-gradient(90deg, rgba(28, 59, 112, 0.95), rgba(122, 47, 143, 0.95));
    backdrop-filter: blur(0.6rem);
}

.navbar-brand img {
    height: 3.2vw;
    max-height: 48px;
    min-height: 32px;
}

main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12vh 4vw;
}

.result-wrapper {
    width: min(68vw, 880px);
    background: var(--card-bg);
    border-radius: var(--radius-large);
    padding: clamp(4vh, 6vw, 7vh);
    box-shadow: 0 2.4rem 4.8rem rgba(15, 23, 42, 0.28);
    color: var(--text-dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.result-wrapper::before {
    content: "";
    position: absolute;
    inset: 4%;
    border-radius: calc(var(--radius-large) - 1rem);
    border: 1px solid rgba(76, 111, 255, 0.12);
    pointer-events: none;
}

.status-icon {
    width: clamp(6vw, 8vh, 9vw);
    height: clamp(6vw, 8vh, 9vw);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2vh;
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    color: #fff;
    box-shadow: 0 1.2rem 2.4rem rgba(76, 111, 255, 0.28);
}

.status-success {
    background: linear-gradient(135deg, var(--success), #16a34a);
}

.status-cancel {
    background: linear-gradient(135deg, var(--danger), #dc2626);
}

.status-pending {
    background: linear-gradient(135deg, var(--neutral), #4338ca);
}

.result-title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    margin-bottom: 1.2vh;
}

.result-subtitle {
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    color: rgba(15, 23, 42, 0.75);
    margin-bottom: 4vh;
}

.result-details {
    display: grid;
    gap: 1.2vh;
    margin-bottom: 4vh;
    text-align: left;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.4vh 1.8vw;
    border-radius: 1rem;
    background: rgba(226, 232, 240, 0.65);
    font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.detail-row span:last-child {
    font-weight: 600;
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.6vw;
}

.cta-group .btn {
    border-radius: 999px;
    padding: 1.2vh 3vw;
    font-weight: 600;
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #3349ff);
    border: none;
    color: #fff;
    box-shadow: 0 1.3rem 2.6rem rgba(76, 111, 255, 0.35);
}

.btn-outline-light {
    border: 2px solid rgba(15, 23, 42, 0.18);
    color: var(--text-dark);
    background: transparent;
}

.cta-group .btn:hover {
    transform: translateY(-0.4vh);
}

.redirect-note {
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    color: rgba(15, 23, 42, 0.78);
    margin: 2vh 0 0;
}

.redirect-note a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: underline;
}

footer {
    background: rgba(5, 10, 28, 0.84);
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    padding: 2vh 4vw;
}

@media (max-width: 992px) {
    .navbar-brand img {
        height: 6vw;
    }

    main {
        padding: 12vh 6vw;
    }

    .result-wrapper {
        width: min(82vw, 680px);
    }
}

@media (max-width: 768px) {
    main {
        padding: 10vh 5vw;
    }

    .result-wrapper {
        width: 92vw;
        padding: 6vh 6vw;
    }

    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.6vh;
    }
}

