/* Base Styles */
body {
    background: radial-gradient(circle at center, #0a0a0a 0%, #1a0d00 40%, #2e1300 70%, #000000 100%);
    color: rgba(254, 254, 254, 0.9);
}
/* Glass Cards */
.glass-card {
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 16px;
    border: 1px solid rgba(255, 140, 0, 0.15);
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 140, 0, 0.1),
        0 0 20px rgba(255, 140, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 140, 0, 0.1) 0%,
        rgba(255, 140, 0, 0) 50%,
        rgba(255, 211, 0, 0.1) 100%
    );
    pointer-events: none;
}
.summary-card {
    transform: perspective(1000px) rotateY(-2deg);
}

.payment-card {
    transform: perspective(1000px) rotateY(2deg);
}
/* Text Gradient */
.text-gradient {
    background: linear-gradient(90deg, #FF8C00, #FFD300);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Glow Effects */
.glow-text {
    text-shadow: 0 0 8px rgba(255, 211, 0, 0.6);
}

/* Progress Stepper */
.stepper-node {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.node-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    transition: all 0.3s ease;
}

.stepper-node.active .node-circle {
    background: #FF8C00;
    border-color: #FFD300;
    box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.3);
}

.node-circle::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid rgba(255, 211, 0, 0.6);
    opacity: 0;
    transition: all 0.3s ease;
}

.stepper-node.active .node-circle::after {
    opacity: 1;
    inset: -6px;
}

.node-label {
    margin-top: 8px;
    font-size: 14px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.stepper-node.active .node-label {
    opacity: 1;
    font-weight: 500;
}

.stepper-line {
    height: 2px;
    width: 60px;
    background: rgba(255, 255, 255, 0.1);
    position: relative;
}

.stepper-line::after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #FF8C00, #FFD300);
    transition: width 0.5s ease;
}

.stepper-node.active + .stepper-line::after {
    width: 100%;
}

/* VIP Section */
.vip-badge {
    background: rgba(255, 140, 0, 0.2);
    border: 1px solid rgba(255, 211, 0, 0.3);
    border-radius: 9999px;
    padding: 4px 10px;
    font-size: 12px;
    backdrop-filter: blur(5px);
}

.vip-progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FF8C00, #FFD300);
    border-radius: 3px;
    animation: progressPulse 2s ease-in-out infinite;
}

/* Payment Icons */
.payment-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 70px;
}

.payment-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.payment-icon i {
    width: 24px;
    height: 24px;
}

.payment-icon img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}
.payment-label {
    font-size: 0.75rem;
    text-align: center;
    opacity: 0.7;
    transition: all 0.3s ease;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.payment-method:hover .payment-label,
.payment-icon.active ~ .payment-label {
    opacity: 1;
    color: #FFD300;
}
.payment-icon:hover {
    transform: translateY(-4px);
    background: rgba(255, 140, 0, 0.2);
    border-color: rgba(255, 211, 0, 0.3);
}

.payment-icon.active {
    background: rgba(255, 140, 0, 0.3);
    border-color: rgba(255, 211, 0, 0.6);
    box-shadow: 0 0 0 2px rgba(255, 211, 0, 0.3);
}

.payment-icon.active svg {
    color: #FFD300;
}
/* Virtual Card */
.virtual-card {
    position: relative;
    height: 220px;
    perspective: 1000px;
    transform-style: preserve-3d;
    transition: transform 0.6s;
    transform: rotateY(0deg);
    background: linear-gradient(135deg, rgba(255,140,0,0.2), rgba(255,211,0,0.15));
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255,211,0,0.1),
        0 0 15px rgba(255,211,0,0.1);
    border: 1px solid rgba(255,211,0,0.2);
}
.card-content {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: 
        radial-gradient(circle at 80% 20%, rgba(255,211,0,0.1) 0%, transparent 40%),
        linear-gradient(to bottom, rgba(10,10,10,0.2) 0%, rgba(10,10,10,0.6) 100%);
    border-radius: 12px;
    color: white;
    z-index: 1;
}
.card-content::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 40px;
    background: rgba(255,211,0,0.1);
    border-radius: 0 0 0 8px;
}
.card-chip {
    width: 40px;
    height: 30px;
    background: linear-gradient(135deg, rgba(255,211,0,0.8), rgba(255,140,0,0.6));
    border-radius: 5px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(255,211,0,0.3);
}
.card-chip::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, transparent 45%, rgba(255,255,255,0.3) 50%, transparent 55%),
        linear-gradient(-135deg, transparent 45%, rgba(255,255,255,0.3) 50%, transparent 55%);
}

.card-number {
    font-family: 'Courier New', monospace;
    font-size: 18px;
    letter-spacing: 2px;
    margin: 15px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.card-details {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.card-field {
    display: flex;
    flex-direction: column;
}

.card-field label {
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    margin-bottom: 4px;
}

.card-field input {
    background: transparent;
    border: none;
    color: white;
    font-size: 14px;
    padding: 4px 0;
    border-bottom: 1px solid rgba(255,255,255,0.3);
    font-family: 'Courier New', monospace;
}

.card-field input:focus {
    outline: none;
    border-color: white;
}

.card-logo {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-hologram {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 30px;
    background: linear-gradient(45deg, 
        rgba(255,0,0,0.2) 0%, 
        rgba(0,255,0,0.2) 33%, 
        rgba(0,0,255,0.2) 66%, 
        rgba(255,255,0,0.2) 100%);
    border-radius: 3px;
    overflow: hidden;
}

.card-hologram::before {
    content: "";
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(45deg, transparent 45%, rgba(255,255,255,0.5) 50%, transparent 55%),
        linear-gradient(-45deg, transparent 45%, rgba(255,255,255,0.5) 50%, transparent 55%);
}

.card-network {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: white;
    opacity: 0.8;
}
/* Form Elements */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 14px;
    opacity: 0.8;
}

.glow-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 16px;
    color: white;
    transition: all 0.3s ease;
}

.glow-input:focus {
    outline: none;
    border-color: #FFD300;
    box-shadow: 0 0 0 2px rgba(255, 211, 0, 0.2);
}
/* Buttons */
.btn-primary {
    background: linear-gradient(90deg, #FF8C00, #FFD300);
    border: none;
    border-radius: 12px;
    padding: 16px;
    font-weight: 600;
    color: rgba(10, 10, 10, 0.9);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
    z-index: 20;
    margin-top: 20px;
    position: relative;
}

.btn-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover .btn-glow {
    opacity: 1;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 211, 0, 0.3);
    border-radius: 8px;
    padding: 12px 16px;
    color: white;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 140, 0, 0.2);
}

/* Shimmer Effect */
.shimmer::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%
    );
    animation: shimmer 5s infinite;
    z-index: 1;
}

/* Divider */
.divider {
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 211, 0, 0.3) 50%, 
        transparent 100%);
}
/* Success Animation */
.success-animation {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 40px;
}

.checkmark-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 211, 0, 0.1);
    border: 2px solid rgba(255, 211, 0, 0.3);
    position: relative;
    animation: scaleIn 0.5s ease-out forwards;
}

.checkmark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 60px;
    height: 60px;
    animation: checkmarkDraw 0.5s 0.5s ease-out forwards;
}

.checkmark:before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 20px;
    height: 40px;
    border: solid #FFD300;
    border-width: 0 4px 4px 0;
    transform: rotate(45deg);
    opacity: 0;
    animation: checkmarkFadeIn 0.3s 0.8s ease-out forwards;
}

.confetti {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: -1;
}

.confetti:before,
.confetti:after {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    background: #FF8C00;
    border-radius: 50%;
    animation: confettiFall 2s ease-out forwards;
}

.confetti:after {
    background: #FFD300;
    animation-delay: 0.2s;
}

@keyframes scaleIn {
    0% { transform: scale(0); }
    80% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes checkmarkDraw {
    0% { transform: translate(-50%, -50%) scale(0); }
    80% { transform: translate(-50%, -50%) scale(1.1); }
    100% { transform: translate(-50%, -50%) scale(1); }
}

@keyframes checkmarkFadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes confettiFall {
    0% { 
        transform: translateY(-100px) rotate(0deg); 
        opacity: 1;
    }
    100% { 
        transform: translateY(200px) rotate(360deg); 
        opacity: 0;
    }
}
@keyframes progressPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}
/* Payment Method Modal */
.add-payment-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.add-payment-modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
}
.modal-content {
    position: relative;
    z-index: 1;
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid rgba(255, 140, 0, 0.2);
    border-radius: 16px;
    padding: 1.5rem;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: popupIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}
.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #FFD300;
}
.payment-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.payment-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 80px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option > div {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.payment-option i {
    width: 24px;
    height: 24px;
}
.payment-option:hover,
.payment-option.selected {
    background: rgba(255, 140, 0, 0.1);
    border-color: rgba(255, 211, 0, 0.3);
}

.payment-option i {
    width: 24px;
    height: 24px;
}
.payment-form {
    display: grid;
    gap: 0.5rem;
}
.payment-form .form-group {
    margin-bottom: 0;
}

.payment-form .glow-input {
    padding: 6px 10px;
    font-size: 0.8125rem;
}

.payment-form label {
    font-size: 0.6875rem;
    margin-bottom: 0.125rem;
}
.payment-option {
    padding: 0.5rem;
    font-size: 0.75rem;
}

.payment-option i {
    width: 18px;
    height: 18px;
}

.modal-content {
    padding: 1.5rem;
}

.modal-title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.modal-actions {
    margin-top: 1rem;
    gap: 0.75rem;
}

.modal-actions button {
    padding: 0.5rem;
    font-size: 0.875rem;
}
.modal-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Success Popup */
.success-popup {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
}
.popup-content {
    position: relative;
    z-index: 1;
    background: rgba(10, 10, 10, 0.95);
    border: 1px solid rgba(255, 140, 0, 0.2);
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: popupIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    overflow-y: auto;
    max-height: 90vh;
}

.popup-content .summary-card {
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(10px);
    margin-bottom: 1.5rem;
}

.popup-content .btn-primary,
.popup-content .btn-secondary {
    width: 100%;
    padding: 0.75rem;
}

.popup-content .vip-progress-bar {
    margin-bottom: 1rem;
}
@keyframes popupIn {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Sticky CTA */
.sticky-cta-container {
    position: sticky;
    bottom: 20px;
    z-index: 50;
    margin-top: auto;
}
.btn-primary {
    position: relative;
    transition: all 0.3s ease;
    animation: idlePulse 4s ease-in-out infinite;
}

.btn-primary.processing {
    animation: none;
    background: rgba(255, 140, 0, 0.5);
}
@keyframes idlePulse {
    0%, 100% {
        box-shadow: 0 0 15px rgba(255, 140, 0, 0.4);
    }
    50% {
        box-shadow: 0 0 25px rgba(255, 211, 0, 0.6);
    }
}

@media (max-width: 768px) {
    .sticky-cta-container {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 16px;
        background: rgba(10, 10, 10, 0.95);
        border-top: 1px solid rgba(255, 211, 0, 0.2);
        box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.5);
    }
    
    .sticky-cta-container::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, 
            transparent 0%, 
            rgba(255, 211, 0, 0.3) 20%,
            rgba(255, 211, 0, 0.6) 50%,
            rgba(255, 211, 0, 0.3) 80%,
            transparent 100%);
    }
    
    .btn-primary {
        width: 100%;
        border-radius: 8px;
    }
}
@media (max-width: 1024px) {
.glass-card {
        backdrop-filter: blur(15px);
    }
    
    .summary-card,
    .payment-card {
        transform: none;
        animation: none;
    }
    
    .payment-methods {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .payment-methods {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .stepper-node {
        transform: scale(0.9);
    }
    
    .stepper-line {
        width: 40px;
    }
}

@media (max-width: 640px) {
    .payment-methods {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .virtual-card {
        height: 200px;
    }
    
    .card-number input {
        font-size: 16px;
    }
}