/* Cashback Modal Styles */
.cashback-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.cashback-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.cashback-modal-container {
    position: relative;
    width: 90%;
    max-width: 600px;
    background: linear-gradient(135deg, #1a2952 0%, #121a30 100%);
    border-radius: 24px;
    padding: 40px 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10001;
    animation: slideUp 0.4s ease;
}

.cashback-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.8);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.cashback-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: rotate(90deg);
}

.cashback-modal-content {
    position: relative;
    z-index: 2;
}

.cashback-modal-title {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin: 0 0 40px 0;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.cashback-modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
}

/* Left Section - Cashback Value */
.cashback-value-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.cashback-value-circle {
    position: relative;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cashback-value-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 8px solid rgba(37, 99, 235, 0.3);
    border-top-color: #2563eb;
    border-radius: 50%;
    animation: spin 3s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.cashback-value-amount {
    position: relative;
    z-index: 2;
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.cashback-minimum {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.cashback-minimum i {
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
}

/* Right Section - Coins and Button */
.cashback-action-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.cashback-coins-illustration {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cashback-coin {
    position: absolute;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.4);
    animation: float 3s ease-in-out infinite;
}

.cashback-coin.coin-1 {
    top: 10px;
    left: 20px;
    animation-delay: 0s;
}

.cashback-coin.coin-2 {
    top: 35px;
    right: 10px;
    animation-delay: 0.5s;
}

.cashback-coin.coin-3 {
    bottom: 10px;
    left: 35px;
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.cashback-sparkles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.cashback-sparkles .sparkle {
    position: absolute;
    font-size: 20px;
    animation: sparkle 2s ease-in-out infinite;
}

.cashback-sparkles .sparkle-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.cashback-sparkles .sparkle-2 {
    top: 60%;
    right: 15%;
    animation-delay: 0.7s;
}

.cashback-sparkles .sparkle-3 {
    bottom: 20%;
    left: 50%;
    animation-delay: 1.4s;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

.cashback-action-amount {
    font-size: 24px;
    font-weight: 600;
    color: #ffffff;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.cashback-receive-btn {
    padding: 16px 50px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 180px;
}

.cashback-receive-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.cashback-receive-btn:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
}

.cashback-receive-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .cashback-modal-container {
        width: 95%;
        padding: 30px 20px;
        border-radius: 20px;
    }
    
    .cashback-modal-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    
    .cashback-modal-body {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .cashback-value-circle {
        width: 150px;
        height: 150px;
    }
    
    .cashback-value-amount {
        font-size: 30px;
    }
    
    .cashback-coins-illustration {
        width: 100px;
        height: 100px;
    }
    
    .cashback-coin {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .cashback-receive-btn {
        padding: 14px 40px;
        font-size: 16px;
        min-width: 160px;
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .cashback-modal-container {
        padding: 25px 15px;
    }
    
    .cashback-modal-title {
        font-size: 20px;
        margin-bottom: 25px;
    }
    
    .cashback-value-circle {
        width: 130px;
        height: 130px;
    }
    
    .cashback-value-amount {
        font-size: 26px;
    }
    
    .cashback-action-amount {
        font-size: 20px;
    }
}

