* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #0a0c10, #0f1117);
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 550px;
    margin: 0 auto;
}

.payment-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    padding: 30px;
    border: 1px solid rgba(79, 172, 254, 0.2);
}

.logo {
    text-align: center;
    margin-bottom: 25px;
}

.logo h1 {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #00f2fe, #4facfe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo p {
    color: #888;
    font-size: 14px;
    margin-top: 5px;
}

.order-summary {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    padding: 15px;
    margin-bottom: 25px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    color: white;
    margin-bottom: 10px;
    font-size: 14px;
}

.order-total {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 10px;
    margin-top: 10px;
    font-weight: 700;
    font-size: 16px;
}

.order-total span:first-child {
    color: #ccc;
}

.order-total span:last-child {
    font-size: 18px;
    font-weight: 800;
}

.total-gratis {
    color: #28a745 !important;
    animation: gratisPulse 0.5s ease;
}

@keyframes gratisPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.gateway-section {
    margin-bottom: 25px;
}

.gateway-section h3 {
    color: white;
    font-size: 16px;
    margin-bottom: 15px;
}

.gateway-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gateway-option {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid rgba(79, 172, 254, 0.2);
}

.gateway-option:hover {
    border-color: #4facfe;
    background: rgba(79, 172, 254, 0.1);
}

.gateway-option.selected {
    border-color: #4facfe;
    background: rgba(79, 172, 254, 0.15);
}

.gateway-radio {
    display: flex;
    align-items: center;
}

.gateway-radio input {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.gateway-radio label {
    flex: 1;
    cursor: pointer;
}

.gateway-radio strong {
    display: block;
    color: white;
    font-size: 15px;
}

.gateway-radio small {
    color: #888;
    font-size: 11px;
    display: block;
}

.recommended {
    background: linear-gradient(135deg, #00f2fe, #4facfe);
    color: white;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 20px;
    margin-left: 8px;
    display: inline-block;
}

.qr-section {
    text-align: center;
    margin: 20px 0;
}

.qr-image {
    background: white;
    padding: 15px;
    border-radius: 20px;
    display: inline-block;
}

.qr-image img {
    width: 220px;
    height: 220px;
}

.loading-spinner {
    text-align: center;
    padding: 40px;
    color: #888;
}

.loading-spinner i {
    font-size: 40px;
    color: #4facfe;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.payment-info {
    margin-top: 20px;
}

.info-box {
    background: rgba(79, 172, 254, 0.1);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.info-box i {
    color: #4facfe;
    font-size: 20px;
}

.info-box p {
    color: #ccc;
    font-size: 12px;
    margin: 0;
}

.countdown {
    text-align: center;
    color: #ffc107;
    font-size: 14px;
    font-weight: 600;
    padding: 10px;
    background: rgba(255, 193, 7, 0.1);
    border-radius: 12px;
}

.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.status-pending {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.status-success {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.back-btn {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    padding: 12px;
    border-radius: 15px;
    color: white;
    font-weight: 500;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.2s;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 12px 20px;
    border-radius: 40px;
    color: white;
    font-weight: 500;
    z-index: 1002;
    animation: slideIn 0.3s ease;
    font-size: 13px;
}

.notification.success {
    background: linear-gradient(135deg, #00f2fe, #4facfe);
}

.notification.error {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@media (max-width: 550px) {
    .payment-card {
        padding: 20px;
    }
    .qr-image img {
        width: 180px;
        height: 180px;
    }
}