/* Geometric Animations CSS */
.geometric-bg {
    position: relative;
    overflow: hidden;
}

.geometric-shape {
    position: absolute;
    opacity: 0.2; /* 增加透明度 */
    z-index: 1; /* 确保图形在前面 */
}

.circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: #4A90E2;
}

.square {
    width: 100px;
    height: 100px;
    background-color: #FF8C42;
}

.triangle {
    width: 0;
    height: 0;
    border-left: 70px solid transparent;
    border-right: 70px solid transparent;
    border-bottom: 120px solid #4CAF50;
}

.diamond {
    width: 90px;
    height: 90px;
    background-color: #9C27B0;
    transform: rotate(45deg);
}

/* Animation for shape 1 - circle */
.shape1 {
    top: 0;
    right: 5%;
    animation: float1 15s infinite ease-in-out;
}

/* Animation for shape 2 - square */
.shape2 {
    top: 30%;
    right: 10%;
    animation: float2 18s infinite ease-in-out;
}

/* Animation for shape 3 - triangle */
.shape3 {
    top: 60%;
    right: 5%;
    animation: float3 20s infinite ease-in-out;
}

/* Animation for shape 4 - diamond */
.shape4 {
    top: 15%;
    right: 25%;
    animation: float4 17s infinite ease-in-out;
}

@keyframes float1 {
    0% { transform: translate(0, 0); }
    50% { transform: translate(-20px, 20px); }
    100% { transform: translate(0, 0); }
}

@keyframes float2 {
    0% { transform: translate(0, 0); }
    50% { transform: translate(20px, -15px); }
    100% { transform: translate(0, 0); }
}

@keyframes float3 {
    0% { transform: translate(0, 0); }
    50% { transform: translate(-15px, -20px); }
    100% { transform: translate(0, 0); }
}

@keyframes float4 {
    0% { transform: translate(0, 0) rotate(45deg); }
    50% { transform: translate(20px, 15px) rotate(45deg); }
    100% { transform: translate(0, 0) rotate(45deg); }
}