/* 小粉的宝藏库 - 少女粉系风格 */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Comic Sans MS', 'Microsoft YaHei', cursive;
    background: linear-gradient(135deg, #fff0f5 0%, #ffe4e9 50%, #ffd6e0 100%);
    color: #5a3a4a;
    line-height: 1.8;
}

/* 飘浮爱心背景 */
body::before {
    content: '💕🌸✨💕🌸✨💕🌸✨💕🌸✨💕🌸✨';
    position: fixed;
    top: -50px;
    left: 0;
    right: 0;
    font-size: 2rem;
    opacity: 0.15;
    letter-spacing: 60px;
    z-index: 0;
    pointer-events: none;
    animation: float 20s linear infinite;
    white-space: nowrap;
}

@keyframes float {
    0% { transform: translateY(0); }
    100% { transform: translateY(100vh); }
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 25px;
    position: relative;
    z-index: 10;
}

/* 可爱头部 */
.cute-header {
    background: linear-gradient(135deg, #ff9ec7, #ffb6d9);
    padding: 50px 0 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cute-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(255,255,255,0.4) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(255,255,255,0.4) 0%, transparent 20%);
}

.cute-logo {
    position: relative;
    z-index: 2;
}

.cute-logo h1 {
    font-size: 2.8rem;
    color: #fff;
    text-shadow: 3px 3px 0 #ff7eb3, 6px 6px 10px rgba(0,0,0,0.1);
    margin-bottom: 10px;
}

.cute-logo p {
    color: #fff;
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

/* 圆角导航 */
.round-nav {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 4px 15px rgba(255, 158, 199, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.round-nav .container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.nav-pill {
    display: inline-block;
    padding: 10px 25px;
    background: linear-gradient(135deg, #fff0f5, #ffe4e9);
    border: 2px solid #ffb6d9;
    border-radius: 25px;
    color: #d46c92;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s;
    font-size: 0.95rem;
}

.nav-pill:hover,
.nav-pill.active {
    background: linear-gradient(135deg, #ff9ec7, #ffb6d9);
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 158, 199, 0.4);
}

/* 主区域 */
main {
    padding: 40px 0;
    position: relative;
    z-index: 10;
}

/* 欢迎卡片 */
.welcome-card {
    background: #fff;
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(255, 158, 199, 0.2);
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.welcome-card::before {
    content: '✨';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
}

.welcome-card h2 {
    color: #d46c92;
    font-size: 2rem;
    margin-bottom: 15px;
}

.welcome-card p {
    color: #8b5a70;
    font-size: 1.1rem;
    line-height: 1.9;
}

/* 宝藏卡片网格 */
.treasure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.treasure-card {
    background: #fff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(255, 158, 199, 0.2);
    transition: all 0.4s;
    border: 3px solid transparent;
}

.treasure-card:hover {
    transform: translateY(-8px) rotate(1deg);
    border-color: #ff9ec7;
    box-shadow: 0 15px 40px rgba(255, 158, 199, 0.4);
}

.treasure-thumb {
    height: 180px;
    background: linear-gradient(135deg, #ffe4e9, #fff0f5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    position: relative;
}

.treasure-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #ff6b9d;
    color: #fff;
    padding: 6px 15px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.treasure-body {
    padding: 20px;
}

.treasure-body h3 {
    color: #d46c92;
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.treasure-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.tag {
    background: #ffe4e9;
    color: #d46c92;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
}

.treasure-desc {
    color: #8b5a70;
    font-size: 0.9rem;
    line-height: 1.6;
}

.treasure-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #fff8fa;
}

.likes {
    color: #ff6b9d;
    font-size: 0.9rem;
}

.likes::before {
    content: '💕 ';
}

.view-btn {
    background: linear-gradient(135deg, #ff9ec7, #ffb6d9);
    color: #fff;
    padding: 8px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
}

.view-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(255, 107, 157, 0.4);
}

/* 分类标签 */
.category-tabs {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 35px;
}

.category-tab {
    padding: 12px 30px;
    background: #fff;
    border: 2px solid #ffb6d9;
    border-radius: 30px;
    color: #d46c92;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.category-tab:hover,
.category-tab.active {
    background: linear-gradient(135deg, #ff9ec7, #ffb6d9);
    color: #fff;
    transform: translateY(-2px);
}

/* 可爱标题 */
.cute-title {
    text-align: center;
    color: #d46c92;
    font-size: 2rem;
    margin-bottom: 10px;
}

.cute-subtitle {
    text-align: center;
    color: #b87090;
    margin-bottom: 35px;
}

/* 统计数字 */
.stats-cute {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.stat-cute {
    background: #fff;
    border-radius: 25px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(255, 158, 199, 0.2);
    border-bottom: 5px solid #ff9ec7;
}

.stat-num {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #ff6b9d, #ff9ec7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: #b87090;
    margin-top: 5px;
}

/* 特色专区 */
.feature-zone {
    background: linear-gradient(135deg, #fff0f5, #ffe4e9);
    border-radius: 30px;
    padding: 50px 40px;
    margin: 40px 0;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(255, 158, 199, 0.15);
    transition: all 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(255, 158, 199, 0.3);
}

.feature-emoji {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-item h3 {
    color: #d46c92;
    margin-bottom: 10px;
}

.feature-item p {
    color: #8b5a70;
    font-size: 0.95rem;
}

/* 关于页面 */
.about-cute {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-img {
    height: 300px;
    background: linear-gradient(135deg, #ffb6d9, #ffd6e0);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 6rem;
}

.about-text h2 {
    color: #d46c92;
    margin-bottom: 20px;
    font-size: 2rem;
}

.about-text p {
    color: #8b5a70;
    line-height: 1.9;
    margin-bottom: 15px;
}

/* 联系表单 */
.contact-cute {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    border-radius: 30px;
    padding: 40px;
    box-shadow: 0 15px 40px rgba(255, 158, 199, 0.2);
}

.cute-input,
.cute-textarea {
    width: 100%;
    padding: 15px 20px;
    background: #fff8fa;
    border: 2px solid #ffd6e0;
    border-radius: 20px;
    color: #5a3a4a;
    font-size: 1rem;
    font-family: inherit;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.cute-input:focus,
.cute-textarea:focus {
    outline: none;
    border-color: #ff9ec7;
    box-shadow: 0 0 15px rgba(255, 158, 199, 0.3);
}

.cute-textarea {
    resize: vertical;
    min-height: 120px;
}

.cute-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #ff6b9d, #ff9ec7);
    color: #fff;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(255, 107, 157, 0.4);
}

.cute-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 107, 157, 0.5);
}

/* 可爱页脚 */
.cute-footer {
    background: linear-gradient(135deg, #ff9ec7, #ffb6d9);
    color: #fff;
    padding: 50px 0 25px;
    margin-top: 60px;
    border-radius: 30px 30px 0 0;
}

.footer-cute-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-cute-grid h4 {
    color: #fff;
    margin-bottom: 18px;
    font-size: 1.1rem;
}

.footer-cute-grid p,
.footer-cute-grid a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-cute-grid a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-cute-grid ul {
    list-style: none;
    padding: 0;
}

.footer-cute-grid li {
    margin-bottom: 10px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
}

/* 响应式 */
@media (max-width: 768px) {
    .cute-logo h1 { font-size: 2rem; }
    .about-cute { grid-template-columns: 1fr; }
    .stats-cute { grid-template-columns: repeat(2, 1fr); }
    .footer-cute-grid { grid-template-columns: 1fr 1fr; }
    .treasure-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
    .nav-pill { padding: 8px 18px; font-size: 0.9rem; }
}
