/**
 * CHEEK DEREK KRISTOPHER LLC - Common Animations and Styles
 * 统一管理动画和样式，避免重复代码
 */

/* 动态背景效果 - 统一所有页面的背景动画 */
.dynamic-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1f2e 0%, #2d3748 25%, #1a1f2e 50%, #2d3748 75%, #1a1f2e 100%);
    background-size: 400% 400%;
    z-index: -2;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 浮动球体效果 - 统一所有页面的装饰性动画 */
.floating-orbs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.1) 0%, rgba(0, 245, 255, 0.05) 50%, transparent 100%);
    animation: float 20s infinite linear;
}

.orb:nth-child(1) {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
    animation-duration: 25s;
}

.orb:nth-child(2) {
    width: 150px;
    height: 150px;
    top: 60%;
    left: 80%;
    animation-delay: -5s;
    animation-duration: 30s;
}

.orb:nth-child(3) {
    width: 100px;
    height: 100px;
    top: 80%;
    left: 20%;
    animation-delay: -10s;
    animation-duration: 20s;
}

.orb:nth-child(4) {
    width: 180px;
    height: 180px;
    top: 30%;
    left: 70%;
    animation-delay: -15s;
    animation-duration: 35s;
}

.orb:nth-child(5) {
    width: 120px;
    height: 120px;
    top: 70%;
    left: 50%;
    animation-delay: -20s;
    animation-duration: 28s;
}

@keyframes float {
    0% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-20px) translateX(10px) rotate(90deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-10px) translateX(-15px) rotate(180deg);
        opacity: 0.4;
    }
    75% {
        transform: translateY(-30px) translateX(5px) rotate(270deg);
        opacity: 0.7;
    }
    100% {
        transform: translateY(0px) translateX(0px) rotate(360deg);
        opacity: 0.3;
    }
}

/* 渐变文字动画 - 统一标题动画效果 */
@keyframes gradientText {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 容器发光动画 - 统一容器动画效果 */
@keyframes containerGlow {
    0% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                    0 0 0 1px rgba(0, 245, 255, 0.2),
                    inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }
    100% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                    0 0 0 1px rgba(0, 245, 255, 0.4),
                    inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }
}