/* 中考高考加油特效样式 */
.exam-cheer-container {
    background: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.5s ease-out;
}

/* 标题样式 */
.exam-cheer-title {
    font-size: 72px;
    font-weight: bold;
    color: transparent;
    background-image: linear-gradient(45deg, #4285f4, #ea4335, #fbbc05, #34a853);
    background-clip: text;
    -webkit-background-clip: text;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    margin-bottom: 30px;
    font-family: 'Indie Flower', 'Caveat', 'Shadows Into Light', cursive;
    animation: titleAppear 1s ease-out forwards, titleGlow 2s infinite 1s;
    opacity: 0;
    transform: scale(0.5);
}

/* 元素容器样式 */
.exam-elements-container {
    margin: 20px 0;
    animation: fadeIn 0.5s ease-out 0.5s forwards;
    opacity: 0;
}

/* 动态元素样式 */
.exam-element {
    display: inline-block;
    transform: scale(0);
    animation: elementPop 0.5s ease-out forwards;
}

.exam-element.book {
    animation-delay: 0.7s;
}

.exam-element.pen {
    animation-delay: 0.9s;
}

.exam-element.trophy {
    animation-delay: 1.1s;
}

/* 励志短语容器样式 */
.exam-message-container {
    height: 60px;
    margin-top: 30px;
}

/* 励志短语样式 */
.exam-message {
    font-size: 48px;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 10px #4285f4, 0 0 20px #ea4335;
    font-family: 'Indie Flower', 'Caveat', 'Shadows Into Light', cursive;
}

/* 粒子样式 */
.exam-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    pointer-events: none;
    transition: all 2s ease-out;
}

/* 动画定义 */
@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes titleAppear {
    0% { opacity: 0; transform: scale(0.5); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes titleGlow {
    0% { text-shadow: 0 0 10px rgba(66, 133, 244, 0.8), 0 0 20px rgba(234, 67, 53, 0.5); }
    25% { text-shadow: 0 0 15px rgba(234, 67, 53, 0.8), 0 0 30px rgba(251, 188, 5, 0.5); }
    50% { text-shadow: 0 0 20px rgba(251, 188, 5, 0.8), 0 0 40px rgba(52, 168, 83, 0.5); }
    75% { text-shadow: 0 0 15px rgba(52, 168, 83, 0.8), 0 0 30px rgba(66, 133, 244, 0.5); }
    100% { text-shadow: 0 0 10px rgba(66, 133, 244, 0.8), 0 0 20px rgba(234, 67, 53, 0.5); }
}

@keyframes elementPop {
    0% { transform: scale(0); }
    60% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* 元素悬浮动画 */
.exam-element {
    animation: elementFloat 3s ease-in-out infinite alternate 1.5s;
}

@keyframes elementFloat {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px); }
}

/* 消息淡入淡出动画 */
@keyframes messageFade {
    0% { opacity: 0; transform: translateY(20px); }
    20% { opacity: 1; transform: translateY(0); }
    80% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(-20px); }
}