/* 公共样式 - 逍遥学习字帖 */

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

body {
    font-family: 'Microsoft YaHei', '微软雅黑', Arial, sans-serif;
    background: linear-gradient(180deg, #87CEEB 0%, #FFE4E1 100%);
    background-attachment: fixed;
    min-height: 100vh;
    padding: 15px;
}

/* 可爱的云朵装饰 */
.cloud {
    position: fixed;
    background: white;
    border-radius: 100px;
    opacity: 0.7;
    animation: float 20s infinite ease-in-out;
    z-index: 0;
}

.cloud:before, .cloud:after {
    content: '';
    position: absolute;
    background: white;
    border-radius: 100px;
}

.cloud1 {
    width: 100px;
    height: 40px;
    top: 50px;
    left: 10%;
}

.cloud1:before {
    width: 50px;
    height: 50px;
    top: -25px;
    left: 10px;
}

.cloud1:after {
    width: 60px;
    height: 40px;
    top: -15px;
    right: 10px;
}

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

/* 按钮样式 */
.btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, #FF69B4 0%, #FFB6C1 100%);
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(255,105,180,0.3);
    font-size: 16px;
}

.btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(255,105,180,0.5);
}

.btn:active {
    transform: translateY(0) scale(1);
}

.btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* 响应式 */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 8px;
    }
}
