/**
 * 主题：wuxingdress1
 * 风格：水彩卡片风
 */

/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
}

/* 水彩装饰效果 */
.watercolor-decoration {
    position: relative;
}

.watercolor-decoration::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.3) 0%, rgba(173, 216, 230, 0.3) 50%, rgba(221, 160, 221, 0.3) 100%);
    border-radius: 20px;
    z-index: -1;
    filter: blur(20px);
}

/* 卡片悬停效果 */
.color-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.color-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* 五行徽章动画 */
.wuxing-badge {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 颜色样本 */
.color-swatch {
    transition: transform 0.2s ease;
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.color-swatch:hover {
    transform: scale(1.15);
}

/* 表单样式增强 */
select {
    background-color: white;
    border: 2px solid #e5e7eb;
    transition: border-color 0.2s;
}

select:focus {
    outline: none;
    border-color: #3b82f6;
}

/* 按钮动画 */
button {
    transition: all 0.2s ease;
}

button:active {
    transform: scale(0.95);
}

/* 响应式优化 */
@media (max-width: 640px) {
    .container {
        padding: 1rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    .color-card {
        padding: 1rem;
    }
}