/* Floating Button */
.boton_oferta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.fab-button {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ff4d4d 0%, #d40000 100%);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 10px 25px rgba(212, 0, 0, 0.4);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    outline: none;
}

.fab-button:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 15px 35px rgba(212, 0, 0, 0.6);
}

.fab-button i {
    transition: transform 0.4s ease;
}

.fab-button:active {
    transform: scale(0.9);
}

/* Modal Overlay */
.modal_oferta {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.modal_oferta.active {
    opacity: 1;
    visibility: visible;
}

/* Modal Content */
.modal-content {
    background: rgba(24, 29, 34, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 90%;
    max-width: 500px;
    padding: 40px;
    border-radius: 24px;
    position: relative;
    transform: translateY(50px) scale(0.9);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    color: white;
    text-align: center;
}

.modal_oferta.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #ff4d4d;
    transform: rotate(90deg);
}

.modal-header h2 {
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 700;
}

.modal-body p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 10px;
}

.modal-footer .btn-primary {
    background: linear-gradient(135deg, #ff4d4d 0%, #d40000 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(212, 0, 0, 0.3);
}

.modal-footer .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(212, 0, 0, 0.5);
}

/* carta */

.swiper {
    width: 280px;
    height: 340px;
    margin: 20px auto;
}

.swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    letter-spacing: 1px;
}

.swiper-slide:nth-child(1n) {
    background-color: rgb(206, 17, 17);
}

.swiper-slide:nth-child(2n) {
    background-color: rgb(0, 140, 255);
}

.swiper-slide:nth-child(3n) {
    background-color: rgb(10, 184, 111);
}

.swiper-slide:nth-child(4n) {
    background-color: rgb(211, 122, 7);
}

.swiper-slide:nth-child(5n) {
    background-color: rgb(118, 163, 12);
}

.swiper-slide:nth-child(6n) {
    background-color: rgb(180, 10, 47);
}

.swiper-slide:nth-child(7n) {
    background-color: rgb(35, 99, 19);
}

.swiper-slide:nth-child(8n) {
    background-color: rgb(0, 68, 255);
}

.swiper-slide:nth-child(9n) {
    background-color: rgb(218, 12, 218);
}

.swiper-slide:nth-child(10n) {
    background-color: rgb(54, 94, 77);
}

/* Responsive */
@media (max-width: 576px) {
    .modal-content {
        padding: 30px 20px;
    }

    .boton_oferta {
        bottom: 20px;
        right: 20px;
    }

    .fab-button {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}