/* Gift Button Styles */
.gift-button {
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    border: none;
    border-radius: 50px;
    padding: 15px 30px;
    color: white;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px auto;
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.gift-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.4);
    background: linear-gradient(135deg, #ff5252, #ff7979);
}

.gift-button:active {
    transform: translateY(-1px);
}

.gift-icon {
    font-size: 24px;
    animation: giftBounce 2s infinite;
}

@keyframes giftBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.gift-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.gift-button:hover::before {
    left: 100%;
}

/* Gift Modal Styles */
.gift-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.gift-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.gift-modal-content {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
    position: relative;
}

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

.gift-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid #eee;
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    color: white;
    border-radius: 20px 20px 0 0;
}

.gift-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
}

.gift-modal-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gift-modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.gift-modal-body {
    padding: 30px;
}

.bank-info-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.bank-info {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.bank-info:hover {
    border-color: #ff6b6b;
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.1);
    transform: translateY(-2px);
}

.bank-info h4 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff6b6b;
}

.bank-details {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.bank-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 8px;
}

.bank-text {
    flex: 1;
}

.bank-name {
    font-weight: 600;
    color: #333;
    margin: 0 0 5px 0;
    font-size: 16px;
}

.bank-account {
    color: #666;
    margin: 0;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
}

.qr-code {
    text-align: center;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.qr-image {
    width: 150px;
    height: 150px;
    border-radius: 10px;
    margin-bottom: 10px;
    border: 2px solid #e9ecef;
}

.qr-code p {
    margin: 0;
    color: #666;
    font-size: 14px;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gift-modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .gift-modal-header {
        padding: 20px;
    }
    
    .gift-modal-header h3 {
        font-size: 18px;
    }
    
    .gift-modal-body {
        padding: 20px;
    }
    
    .bank-info {
        padding: 20px;
    }
    
    .bank-details {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .qr-image {
        width: 120px;
        height: 120px;
    }
    
    .gift-button {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .gift-icon {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .gift-modal-content {
        width: 100%;
        height: 100%;
        border-radius: 0;
        max-height: 100vh;
    }
    
    .gift-modal-header {
        border-radius: 0;
    }
    
    .bank-info-container {
        gap: 20px;
    }
    
    .bank-info {
        padding: 15px;
    }
    
    .qr-image {
        width: 100px;
        height: 100px;
    }
}
