:root {
    --prime-red: #ff0000;
    --prime-dark: #000000;
    --prime-darker: #1a0000;
    --prime-light: #ff3333;
    --prime-lighter: #ff6666;
    --prime-accent: #cc0000;
    --prime-text: #FFFFFF;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #000000, #1a0000);
    color: var(--prime-text);
    min-height: 100vh;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(255, 0, 0, 0.1) 100%);
    pointer-events: none;
    z-index: 1;
}

.container {
    max-width: 100%;
    padding: 20px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.header {
    text-align: center;
    padding: 20px;
    background: rgba(255, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(255, 0, 0, 0.2);
    margin-bottom: 30px;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.2);
}

.warning-icon {
    font-size: clamp(40px, 8vw, 60px);
    color: var(--prime-red);
    margin-bottom: 15px;
    animation: shake 0.5s infinite;
    text-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
}

.checkout-form {
    background: rgba(0, 0, 0, 0.7);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 0 40px rgba(255, 0, 0, 0.2);
    border: 1px solid rgba(255, 0, 0, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.checkout-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 0, 0, 0.1), transparent);
    animation: shine 3s infinite;
}

.value-proposition {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 0, 0, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(255, 0, 0, 0.2);
}

.amount-info h3 {
    font-size: clamp(18px, 4vw, 24px);
    color: var(--prime-red);
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.amount {
    font-size: clamp(36px, 8vw, 48px);
    color: var(--prime-red);
    font-weight: 800;
    margin: 20px 0;
    text-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
    animation: pulse-red 2s infinite;
}

.fee-info {
    font-size: clamp(14px, 3.5vw, 16px);
    color: rgba(255, 255, 255, 0.9);
    margin-top: 10px;
}

.fee-amount {
    color: var(--prime-red);
    font-weight: 600;
}

.benefits {
    margin: 30px 0;
}

.benefit-item {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 15px;
    background: rgba(255, 0, 0, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 0, 0, 0.1);
}

.benefit-item:hover {
    transform: translateX(5px);
    background: rgba(255, 0, 0, 0.15);
    border-color: rgba(255, 0, 0, 0.3);
}

.check-icon {
    width: 40px;
    height: 40px;
    background: var(--prime-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
    flex-shrink: 0;
}

.check-icon i {
    color: white;
    font-size: 20px;
}

.input-group {
    margin-bottom: 20px;
}

input {
    width: 100%;
    padding: 16px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 0, 0, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

input:focus {
    outline: none;
    border-color: var(--prime-red);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
}

input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.submit-btn {
    width: 100%;
    padding: clamp(16px, 4vw, 20px);
    background: linear-gradient(45deg, var(--prime-red), var(--prime-light));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: clamp(16px, 4vw, 20px);
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.3);
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(255, 0, 0, 0.4);
    background: linear-gradient(45deg, var(--prime-light), var(--prime-red));
}

.security-info {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: rgba(0, 0, 0, 0.95);
    padding: 25px;
    border-radius: 16px;
    width: 90%;
    max-width: 350px;
    border: 1px solid rgba(255, 0, 0, 0.2);
    box-shadow: 0 0 50px rgba(255, 0, 0, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    animation: modalFadeIn 0.5s ease;
}

.modal-content h3 {
    color: var(--prime-red);
    font-size: 20px;
    margin-bottom: 15px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.timer {
    text-align: center;
    font-size: 24px;
    color: var(--prime-red);
    margin: 15px 0;
    font-weight: 800;
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.5);
    animation: pulse-red 2s infinite;
}

.qr-container {
    background: white;
    padding: 20px;
    border-radius: 12px;
    margin: 15px auto;
    width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
}

.qr-container img {
    display: block;
    max-width: 100%;
    height: auto;
}

.qr-instructions {
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    text-align: center;
}

.copy-button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(45deg, var(--prime-red), var(--prime-light));
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 15px;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.3);
}

.copy-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(255, 0, 0, 0.4);
    background: linear-gradient(45deg, var(--prime-light), var(--prime-red));
}

.payment-info {
    margin-top: 15px;
    padding: 12px;
    background: rgba(255, 0, 0, 0.1);
    border-radius: 8px;
    font-size: 13px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    margin: 8px 0;
    color: rgba(255, 255, 255, 0.9);
}

.info-value {
    color: var(--prime-red);
    font-weight: 600;
}

.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 0, 0, 0.1);
    border-left-color: var(--prime-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}

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

@keyframes pulse-red {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(2px); }
    50% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
    100% { transform: translateX(0); }
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 600px;
        padding: 40px 20px;
    }
    
    .checkout-form {
        padding: 40px;
    }
    
    .benefit-item {
        padding: 20px;
    }
    
    .modal-content {
        padding: 40px;
    }
}
