.hero-gradient {
    background: linear-gradient(135deg, #010c1f 0%, #010712 100%);
}

.hero-gradient-reverse {
    background: linear-gradient(135deg, #FFFFFF 0%, #EFF2F4 100%);
}

.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    border-radius: 50%;
    animation: float ease-in-out infinite;
}

.hero-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 150, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
    animation: backgroundPulse 6s ease-in-out infinite;
}

.sale-flag {
    background: #f8b817;
    color: #000;
    font-weight: 700;
    padding: 0.75em 1em 0.75em 1.5em;
    font-size: clamp(12px, 0.9vw, 18px);
    line-height: 1em;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: inline-block;
    position: absolute;
    top: 1.5em;
    left: 0;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    z-index: 0;
}

.sale-pretitle {
    color: #00baff;
    font-weight: 500;
    font-size: clamp(16px, 1.8vw, 36px);
    line-height: 1em;
    margin: 1.5em 0 1.5em;
    position: relative;
    z-index: 0;
}

.sale-title {
    font-weight: 700;
    font-size: clamp(32px, 6vw, 110px);
    line-height: 1em;
    margin-bottom: 0.75em;
    text-shadow: 0 3px 15px rgba(0, 0, 0, 0.4);
    position: relative;
    z-index: 0;
}


.sale-gradient-text {
    background: linear-gradient(-60deg, #01D6FB, #367EE7, #525CDF, #713BD5, #8D22CC, #9A18C8,#01D6FB, #367EE7, #525CDF, #713BD5, #8D22CC, #9A18C8);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 10s ease-in-out infinite;
    text-shadow: none;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(90deg, #00D2FE, #4A7AD8) !important;
    color: #000 !important;
    padding: 1em 1.5em;
    font-size: clamp(14px, 2.5vw, 24px);
    font-weight: 700;
    text-decoration: none;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 0;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 17, 45, 0.4);
    position: relative;
    z-index: 4;
    overflow: hidden;
    cursor: pointer;
}

    .cta-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) !important;
        transition: left 0.5s;
    }

.hero-gradient:hover .cta-button,
.hero-gradient:focus-within .cta-button {
    animation: buttonPulse 2s ease-in-out 4;
}

.cta-button:hover::before,
.cta-button:focus::before {
    left: 100%;
}

.cta-button:hover, .cta-button:focus {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 17, 45, 0.6);
    animation: none !important;
}
#optinform-modal {
    .sale-title{
        font-size: clamp(32px, 5vw, 80px);
    }
    .sale-pretitle {
        font-size: clamp(16px, 2vw, 32px);
    }
    .cta-button {
        font-size: clamp(14px, 2.5vw, 22px);
    }
}
@media (prefers-reduced-motion: reduce) {
    .hero-gradient:hover .cta-button,
    .hero-gradient:focus-within .cta-button {
        animation: none;
    }

    .particle {
        animation: none;
    }

    .sale-gradient-text {
        animation: none;
    }

    .hero-gradient::before {
        animation: none;
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes backgroundPulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.9;
        transform: scale(1.01);
    }
}

@keyframes backgroundRotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.3;
    }

    25% {
        transform: translateY(-10px) translateX(5px);
        opacity: 0.8;
    }

    50% {
        transform: translateY(-5px) translateX(-8px);
        opacity: 0.6;
    }

    75% {
        transform: translateY(-15px) translateX(3px);
        opacity: 0.9;
    }
}

@keyframes buttonPulse {
    0%, 100% {
        transform: translateY(0px);
        box-shadow: 0 8px 30px rgba(0, 30, 84, 0.6);
    }

    50% {
        transform: translateY(-3px);
        box-shadow: 0 10px 35px rgba(0, 30, 84, 0.8);
    }
}
