:root {
    --primary: #0070ba;
    --primary-dark: #005ea6;
    --background: #f4f7f9;
    --glass: rgba(255, 255, 255, 0.8);
    --text-main: #2c3e50;
    --text-secondary: #7f8c8d;
    --accent: #00d2ff;
    --accent-gradient: linear-gradient(135deg, #0070ba 0%, #00d2ff 100%);
    --shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background: var(--background);
    background-image: radial-gradient(circle at 10% 20%, rgba(0, 112, 186, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(0, 210, 255, 0.05) 0%, transparent 40%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
}

.container {
    padding: 20px;
}

.payment-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 400px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease;
}

.payment-card:hover {
    transform: translateY(-5px);
}

h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.description {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 30px;
}

.product-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 112, 186, 0.05);
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 30px;
}

.item-name {
    font-weight: 600;
    font-size: 16px;
}

.price {
    font-weight: 800;
    font-size: 20px;
    color: var(--primary);
}

.btn-primary {
    width: 100%;
    background: var(--accent-gradient);
    color: white;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 112, 186, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(0, 112, 186, 0.4);
    transform: scale(1.02);
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: all 0.6s;
}

.btn-primary:hover .btn-shine {
    left: 100%;
}

.status-hidden {
    display: none;
    margin-top: 20px;
}

.status-visible {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    animation: fadeIn 0.3s ease;
}

.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(0, 112, 186, 0.1);
    border-top: 3px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 10px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #2ecc71;
    color: white;
    font-size: 40px;
    line-height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}