/* Spring Promotion Popup Styles */

.spring-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.spring-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.spring-popup {
    position: relative;
    max-width: 520px;
    width: 90%;
    background: linear-gradient(145deg, #ff416c, #ff4b2b);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    box-shadow:
        0 25px 50px rgba(255, 65, 108, 0.4),
        0 0 0 4px rgba(255, 215, 0, 0.5),
        inset 0 0 60px rgba(255, 255, 255, 0.1);
    transform: scale(0.8) translateY(50px);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.spring-popup-overlay.active .spring-popup {
    transform: scale(1) translateY(0);
}

/* Decorative elements */
.spring-popup::before {
    content: "🧧";
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 60px;
    animation: swing 2s ease-in-out infinite;
    transform-origin: top center;
}

.spring-popup::after {
    content: "🧧";
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 60px;
    animation: swing 2s ease-in-out infinite 0.5s;
    transform-origin: top center;
}

@keyframes swing {

    0%,
    100% {
        transform: rotate(-10deg);
    }

    50% {
        transform: rotate(10deg);
    }
}

/* Floating decorations */
.spring-decorations {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.spring-decorations span {
    position: absolute;
    font-size: 24px;
    animation: float 3s ease-in-out infinite;
}

.spring-decorations span:nth-child(1) {
    top: 20%;
    left: 5%;
    animation-delay: 0s;
}

.spring-decorations span:nth-child(2) {
    top: 60%;
    left: 8%;
    animation-delay: 0.5s;
}

.spring-decorations span:nth-child(3) {
    top: 30%;
    right: 5%;
    animation-delay: 1s;
}

.spring-decorations span:nth-child(4) {
    top: 70%;
    right: 8%;
    animation-delay: 1.5s;
}

.spring-decorations span:nth-child(5) {
    bottom: 15%;
    left: 15%;
    animation-delay: 0.3s;
}

.spring-decorations span:nth-child(6) {
    bottom: 20%;
    right: 15%;
    animation-delay: 0.8s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(10deg);
    }
}

/* Close button */
.spring-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.spring-popup-close:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(90deg);
}

.spring-popup-close::before,
.spring-popup-close::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 2px;
    background: #fff;
}

.spring-popup-close::before {
    transform: rotate(45deg);
}

.spring-popup-close::after {
    transform: rotate(-45deg);
}

/* Content */
.spring-popup-content {
    position: relative;
    z-index: 5;
}

.spring-popup-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #c41e3a;
    font-size: 14px;
    font-weight: 700;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.spring-popup-title {
    color: #fff;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    line-height: 1.2;
}

.spring-popup-title span {
    display: block;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 48px;
    font-weight: 900;
}

.spring-popup-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 25px;
    font-weight: 500;
}

.spring-popup-highlight {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    padding: 12px 24px;
    border-radius: 12px;
    margin-bottom: 25px;
    border: 2px dashed rgba(255, 215, 0, 0.6);
}

.spring-popup-highlight p {
    color: #fff;
    font-size: 16px;
    margin: 0;
    font-weight: 600;
}

.spring-popup-highlight .highlight-text {
    color: #ffd700;
    font-weight: 700;
}

/* CTA Button */
.spring-popup-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #c41e3a;
    font-size: 18px;
    font-weight: 700;
    padding: 16px 40px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
    text-decoration: none;
}

.spring-popup-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.5);
}

.spring-popup-cta i {
    font-size: 20px;
}

/* Footer note */
.spring-popup-note {
    margin-top: 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
}

/* Sparkle effect */
.sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #ffd700;
    border-radius: 50%;
    animation: sparkle 1.5s ease-in-out infinite;
}

@keyframes sparkle {

    0%,
    100% {
        opacity: 0;
        transform: scale(0);
    }

    50% {
        opacity: 1;
        transform: scale(1);
    }
}

.sparkle:nth-child(1) {
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.sparkle:nth-child(2) {
    top: 15%;
    right: 25%;
    animation-delay: 0.3s;
}

.sparkle:nth-child(3) {
    top: 40%;
    left: 10%;
    animation-delay: 0.6s;
}

.sparkle:nth-child(4) {
    bottom: 30%;
    right: 10%;
    animation-delay: 0.9s;
}

.sparkle:nth-child(5) {
    bottom: 20%;
    left: 25%;
    animation-delay: 1.2s;
}

/* Mobile responsive */
@media (max-width: 576px) {
    .spring-popup {
        padding: 30px 20px;
        margin: 15px;
    }

    .spring-popup::before,
    .spring-popup::after {
        font-size: 40px;
        top: -15px;
    }

    .spring-popup-title {
        font-size: 24px;
    }

    .spring-popup-title span {
        font-size: 36px;
    }

    .spring-popup-subtitle {
        font-size: 16px;
    }

    .spring-popup-cta {
        padding: 14px 30px;
        font-size: 16px;
    }

    .spring-decorations span {
        font-size: 18px;
    }
}