/* Terms Icons Overlay - Works with existing hero background */
.terms-icons-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.terms-icons-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 30%, rgba(212, 175, 55, 0.06) 0%, transparent 50%);
    animation: termsPulseGlow 8s ease-in-out infinite;
}

@keyframes termsPulseGlow {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 0.8;
    }
}

.terms-icon {
    position: absolute;
    width: 150px;
    height: 150px;
    opacity: 0.6;
    animation: float 20s ease-in-out infinite;
}

.terms-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.2));
}

.terms-icon-1 {
    top: 12%;
    left: 15%;
    animation-delay: 0s;
    animation-duration: 21s;
}

.terms-icon-2 {
    top: 50%;
    right: 15%;
    animation-delay: -7s;
    animation-duration: 25s;
    width: 140px;
    height: 140px;
}

.terms-icon-3 {
    bottom: 15%;
    left: 18%;
    animation-delay: -14s;
    animation-duration: 23s;
    width: 120px;
    height: 120px;
}

.terms-icon-4 {
    top: 18%;
    right: 22%;
    animation-delay: -21s;
    animation-duration: 27s;
    width: 165px;
    height: 165px;
}

@keyframes float {

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

    25% {
        transform: translateY(-20px) translateX(10px) rotate(5deg);
    }

    50% {
        transform: translateY(0px) translateX(-10px) rotate(-5deg);
    }

    75% {
        transform: translateY(20px) translateX(5px) rotate(3deg);
    }
}

/* Parallax Scroll Effects for Desktop */
@media (min-width: 769px) {
    .terms-icon-1 {
        animation: termsFloat1 21s ease-in-out infinite;
    }

    .terms-icon-2 {
        animation: termsFloat2 25s ease-in-out infinite;
    }

    .terms-icon-3 {
        animation: termsFloat3 23s ease-in-out infinite;
    }

    .terms-icon-4 {
        animation: termsFloat4 27s ease-in-out infinite;
    }
}

@keyframes termsFloat1 {

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

    25% {
        transform: translateY(-28px) translateX(15px) scale(1.05);
    }

    50% {
        transform: translateY(-10px) translateX(-14px) scale(0.95);
    }

    75% {
        transform: translateY(24px) translateX(9px) scale(1.02);
    }
}

@keyframes termsFloat2 {

    0%,
    100% {
        transform: translateY(0px) translateX(0px) scale(1) rotate(0deg);
    }

    25% {
        transform: translateY(20px) translateX(-14px) scale(1.08) rotate(4deg);
    }

    50% {
        transform: translateY(-7px) translateX(9px) scale(0.92) rotate(-4deg);
    }

    75% {
        transform: translateY(-21px) translateX(-7px) scale(1.05) rotate(2deg);
    }
}

@keyframes termsFloat3 {

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

    33% {
        transform: translateY(-24px) translateX(13px) scale(1.1);
    }

    66% {
        transform: translateY(14px) translateX(-19px) scale(0.9);
    }
}

@keyframes termsFloat4 {

    0%,
    100% {
        transform: translateY(0px) translateX(0px) scale(1) rotate(0deg);
    }

    20% {
        transform: translateY(-14px) translateX(-9px) scale(1.05) rotate(-6deg);
    }

    40% {
        transform: translateY(9px) translateX(13px) scale(0.95) rotate(6deg);
    }

    60% {
        transform: translateY(-19px) translateX(5px) scale(1.08) rotate(-4deg);
    }

    80% {
        transform: translateY(5px) translateX(-11px) scale(0.98) rotate(4deg);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .terms-icon {
        width: 100px;
        height: 100px;
    }

    .terms-icon-1 {
        width: 90px;
        height: 90px;
    }

    .terms-icon-4 {
        width: 120px;
        height: 120px;
    }
}