:root {
    --primary: #3b82f6; /*#2563eb 这个颜色就是 #3b82f6 对应的深色版本*/
    --dark: #23282d;
    --gray: #6c757d;
    --light-gray: #adb5bd;
    --border: #eaeaea;
    --bg: #f8f9fa;
    --shadow-color: rgba(0, 0, 0, 0.05);
    --box-shadow: 0 2px 10px var(--shadow-color);
    --border-radius: 10px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: var(--dark);
    background-color: var(--bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

a {
    text-decoration: none;
    color: var(--primary);
    transition: color 0.3s ease;
}



img {
    max-width: 100%;
}

button, .btn {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    font-size: inherit;
}

ul, ol {
    list-style-position: inside;
}

/* 背景装饰元素 */
.bg-decoration {
    position: fixed;
    z-index: -1;
    opacity: 0.8;
    pointer-events: none;
}

/* 圆形装饰 */
.bg-circle-1 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.15), rgba(139, 92, 246, 0.15));
    top: -100px;
    right: -100px;
    animation: floatRotate 20s infinite linear;
}

.bg-circle-2 {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(251, 191, 36, 0.12));
    bottom: -90px;
    left: -90px;
    animation: pulse 15s infinite ease-in-out;
}

/* 三角形装饰 */
.bg-triangle-1 {
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 80px solid rgba(236, 72, 153, 0.1);
    top: 15%;
    left: -40px;
    animation: swing 25s infinite ease-in-out;
}

.bg-triangle-2 {
    width: 0;
    height: 0;
    border-left: 45px solid transparent;
    border-right: 45px solid transparent;
    border-top: 70px solid rgba(168, 85, 247, 0.1);
    bottom: 20%;
    right: -35px;
    animation: bounce 18s infinite ease-in-out;
}

/* 菱形装饰 */
.bg-diamond-1 {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, rgba(239, 68, 68, 0.08), rgba(245, 101, 101, 0.08));
    transform: rotate(45deg);
    top: 40%;
    right: 5%;
    animation: diamondSpin 30s infinite linear;
    border-radius: 8px;
}

.bg-diamond-2 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(99, 102, 241, 0.08));
    transform: rotate(45deg);
    bottom: 55%;
    left: 5%;
    animation: float 22s infinite ease-in-out;
    border-radius: 6px;
}


/* 五角星装饰 - 简单版本 */
.bg-star-simple {
    width: 60px;
    height: 60px;
    color: rgba(239, 68, 68, 0.08); /* 红色，透明度和其他元素一致 */
    font-size: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 75%;
    left: 35px;
    animation: wave 20s infinite ease-in-out;
}

.bg-star-simple::before {
    content: '★';
}


.bg-wave-2 {
    width: 100px;
    height: 50px;
    background: rgba(245, 158, 11, 0.08);
    border-radius: 40% 60% 60% 40% / 70% 30% 70% 30%;
    top: 30%;
    right: -30px;
    animation: waveReverse 24s infinite ease-in-out;
}

/* 星形装饰 */
.bg-star-1 {
    width: 50px;
    height: 50px;
    background: rgba(219, 39, 119, 0.08);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    top: 85%;
    right: 25%;
    animation: starTwinkle 16s infinite ease-in-out;
}

/* 点状装饰 */
.bg-dots-1 {
    position: fixed;
    width: 120px;
    height: 120px;
    background-image: radial-gradient(rgba(34, 197, 94, 0.25) 1.5px, transparent 1.5px);
    background-size: 12px 12px;
    bottom: 30%;
    left: 10%;
    opacity: 0.5;
    z-index: -1;
    animation: float 30s infinite reverse ease-in-out;
}

/* 动画定义 */
@keyframes floatRotate {
    0% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(15px, -15px) rotate(90deg); }
    50% { transform: translate(0, -30px) rotate(180deg); }
    75% { transform: translate(-15px, -15px) rotate(270deg); }
    100% { transform: translate(0, 0) rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

@keyframes swing {
    0%, 100% { transform: translateX(0) rotate(0deg); }
    25% { transform: translateX(20px) rotate(3deg); }
    75% { transform: translateX(-20px) rotate(-3deg); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-25px); }
}

@keyframes diamondSpin {
    0% { transform: rotate(45deg); }
    100% { transform: rotate(405deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes hexFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-15px) rotate(120deg); }
    66% { transform: translateY(8px) rotate(240deg); }
}

@keyframes wave {
    0%, 100% { 
        transform: translateY(0) rotate(0deg);
        border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    }
    50% { 
        transform: translateY(-20px) rotate(6deg);
        border-radius: 40% 60% 40% 60% / 50% 70% 30% 50%;
    }
}

@keyframes waveReverse {
    0%, 100% { 
        transform: translateY(0) rotate(0deg);
        border-radius: 40% 60% 60% 40% / 70% 30% 70% 30%;
    }
    50% { 
        transform: translateY(15px) rotate(-5deg);
        border-radius: 60% 40% 40% 60% / 30% 70% 30% 70%;
    }
}

@keyframes starTwinkle {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 0.8; }
    25% { transform: scale(1.2) rotate(90deg); opacity: 1; }
    50% { transform: scale(0.8) rotate(180deg); opacity: 0.6; }
    75% { transform: scale(1.1) rotate(270deg); opacity: 0.9; }
}


/* 辅助类 */
.text-primary { color: var(--primary); }
.text-dark { color: var(--dark); }
.text-gray { color: var(--gray); }
.text-center { text-align: center; }
.fw-bold { font-weight: 700; }
.fw-medium { font-weight: 500; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.space-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-10 { gap: 10px; }
.gap-15 { gap: 15px; }
.gap-20 { gap: 20px; }
.mb-10 { margin-bottom: 10px; }
.mb-15 { margin-bottom: 15px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
