body {
    background: radial-gradient(circle at top right, #07313a, #07111f 45%, #030914 100%);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    margin: 0;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.container {
    width: 100%;
    max-width: 430px;
}

.payment-card {
    background: rgba(18, 30, 47, 0.92);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 22px;
    padding: 24px;
    box-shadow: 0 25px 70px rgba(0,0,0,0.45);
}

.top-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.08);
    padding: 8px 13px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    margin-bottom: 18px;
}

h1 {
    font-size: 26px;
    margin-bottom: 10px;
}

.subtitle {
    color: rgba(255,255,255,.72);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.timer-box {
    background: linear-gradient(135deg, #06d59b, #10b9f4);
    border-radius: 18px;
    padding: 16px;
    text-align: center;
    margin-bottom: 20px;
}

.timer-box h2 {
    font-size: 34px;
    margin: 4px 0 0;
}

.qr-container {
    background: #fff;
    border-radius: 18px;
    padding: 14px;
    margin: 0 auto 20px;
    max-width: 300px;
}

.qr-container img {
    width: 100%;
    display: block;
    border-radius: 12px;
}

.pix-box label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
}

.pix-box textarea {
    width: 100%;
    height: 95px;
    resize: none;
    border: none;
    outline: none;
    border-radius: 14px;
    padding: 14px;
    font-size: 12px;
    line-height: 1.5;
    background: rgba(255,255,255,0.08);
    color: white;
    margin-bottom: 14px;
}

#copyButton {
    width: 100%;
    border: none;
    background: linear-gradient(135deg, #06d59b, #10b9f4);
    color: white;
    padding: 16px;
    border-radius: 15px;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
}

.security-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 18px;
}

.security-item {
    background: rgba(255,255,255,0.06);
    padding: 12px 14px;
    border-radius: 12px;
    font-size: 13px;
}

@media (min-width: 768px) {
    .container {
        max-width: 520px;
    }

    .payment-card {
        padding: 30px;
    }

    .qr-container {
        max-width: 320px;
    }

    .security-info {
        grid-template-columns: repeat(3, 1fr);
    }

    .security-item {
        text-align: center;
        font-size: 12px;
    }
}

@media (max-height: 760px) {
    body {
        align-items: flex-start;
    }

    .payment-card {
        padding: 20px;
    }

    .qr-container {
        max-width: 260px;
    }

    h1 {
        font-size: 23px;
    }

    .timer-box h2 {
        font-size: 30px;
    }
}
.expired-message {
    background: rgba(255, 76, 76, 0.12);
    border: 1px solid rgba(255, 76, 76, 0.35);
    color: #fff;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 20px;
    text-align: center;
}
