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

body {
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #5a4a42;
    background-color: #fff5f5;
    overflow-x: hidden;
}

/* ===== 可爱风 Hero 区域 ===== */
.hero-section {
    height: 100vh;
    background: url('images/hero-bg.jpg') center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #5a4a42;
    position: relative;
    overflow: hidden;
}

/* 半透明遮罩让文字更清晰 */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(2px);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.2rem;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease-out;
    color: #5a4a42;
}

.hero-content .name {
    color: #e8789a;
    display: inline-block;
    position: relative;
}

/* 名字下方的可爱波浪线 */
.hero-content .name::after {
    content: '♡';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.2rem;
    color: #e8789a;
    animation: heartBeat 1.5s ease-in-out infinite;
}

@keyframes heartBeat {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.3); }
}

.contact-info {
    font-size: 1rem;
    margin-top: 15px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 25px;
    display: inline-block;
    backdrop-filter: blur(10px);
    border: 2px dashed rgba(232, 120, 154, 0.4);
    animation: fadeInUp 1s ease-out 0.3s both;
    color: #7a6a62;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease-out 0.2s both;
    color: #6a5a52;
}

.hero-buttons {
    animation: fadeInUp 1s ease-out 0.4s both;
}

.btn-primary {
    background: linear-gradient(135deg, #ffb6c1 0%, #ff9fb5 100%);
    color: white;
    border: 3px solid rgba(255, 255, 255, 0.6);
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    margin-right: 15px;
    box-shadow: 0 4px 15px rgba(232, 120, 154, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(232, 120, 154, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.5);
    color: #e8789a;
    border: 3px solid rgba(232, 120, 154, 0.5);
    padding: 12px 26px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background: white;
    color: #e8789a;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(232, 120, 154, 0.25);
}

/* ===== 通用 section 样式 ===== */
section {
    padding: 100px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

section h2 {
    font-size: 2.3rem;
    text-align: center;
    margin-bottom: 50px;
    color: #5a4a42;
    position: relative;
}

section h2::after {
    content: '♡ ♡ ♡';
    display: block;
    letter-spacing: 8px;
    color: #e8789a;
    margin: 15px auto;
    font-size: 0.9rem;
}

/* ===== 关于我部分 ===== */
.about-section {
    background: white;
    border-radius: 24px;
    box-shadow: 0 8px 30px rgba(232, 120, 154, 0.1);
    margin: 50px auto;
    padding: 50px;
    border: 2px solid rgba(232, 120, 154, 0.15);
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: center;
    color: #6a5a52;
}

.personal-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 40px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    margin: 20px;
    padding: 24px;
    background: linear-gradient(135deg, #fff0f3 0%, #fce4f0 100%);
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(232, 120, 154, 0.1);
    transition: all 0.3s ease;
    border: 2px solid rgba(232, 120, 154, 0.15);
}

.stat-item:hover {
    transform: translateY(-10px) rotate(2deg);
    box-shadow: 0 12px 30px rgba(232, 120, 154, 0.2);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #e8789a;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: #8a7a72;
}

/* ===== 兴趣爱好部分 ===== */
.hobbies-section {
    background: linear-gradient(135deg, #fff9fb 0%, #f5f0ff 100%);
    margin: 50px auto;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 8px 30px rgba(180, 140, 200, 0.1);
    border: 2px solid rgba(180, 140, 200, 0.15);
}

.hobbies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.hobby-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(232, 120, 154, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(232, 120, 154, 0.12);
    position: relative;
    overflow: hidden;
}

.hobby-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffb6c1, #d4a5ff, #a8e6cf, #ffd3b6);
    border-radius: 20px 20px 0 0;
}

.hobby-card:hover {
    transform: translateY(-10px) rotate(1deg);
    box-shadow: 0 15px 35px rgba(232, 120, 154, 0.18);
}

.hobby-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.hobby-card:hover .hobby-icon {
    transform: scale(1.2) rotate(10deg);
}

.hobby-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #5a4a42;
}

.hobby-card p {
    color: #8a7a72;
    line-height: 1.6;
}

.card-link {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.85rem;
    color: #e8789a;
    font-weight: 600;
    transition: color 0.2s;
}

.hobby-card:hover .card-link {
    color: #d06080;
}

/* ===== 追剧清单部分 ===== */
.drama-section {
    background: linear-gradient(135deg, #f5f0ff 0%, #fff0f5 100%);
    margin: 50px auto;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 8px 30px rgba(180, 140, 200, 0.1);
    border: 2px solid rgba(180, 140, 200, 0.15);
}

.drama-section p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #8a7a72;
    text-align: center;
}

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

.drama-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(180, 140, 200, 0.15);
    transition: all 0.3s ease;
    border: 3px solid rgba(180, 140, 200, 0.2);
}

.drama-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(180, 140, 200, 0.25);
}

.drama-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.drama-item:hover img {
    transform: scale(1.1);
}

.drama-info {
    background: linear-gradient(transparent, rgba(120, 80, 160, 0.85));
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px 16px 16px;
    color: white;
}

.drama-info h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
}

.drama-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    padding: 3px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    backdrop-filter: blur(5px);
}

/* ===== 美食爱好者部分 ===== */
.food-section {
    background: white;
    margin: 50px auto;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 8px 30px rgba(255, 179, 139, 0.1);
    border: 2px solid rgba(255, 179, 139, 0.15);
    text-align: center;
}

.food-section p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #8a7a72;
}

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

.food-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(255, 179, 139, 0.15);
    transition: all 0.3s ease;
    border: 3px solid rgba(255, 179, 139, 0.2);
}

.food-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(255, 179, 139, 0.25);
}

.food-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.food-item:hover img {
    transform: scale(1.1);
}

.food-item h3 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(transparent, rgba(232, 120, 154, 0.85));
    color: white;
    padding: 20px 15px 15px;
    margin: 0;
    font-size: 1.2rem;
    border-radius: 0 0 17px 17px;
}

/* ===== 页脚 ===== */
.footer {
    background: linear-gradient(135deg, #ffc3d0 0%, #d4a5ff 100%);
    color: #5a4a42;
    text-align: center;
    padding: 30px;
    margin-top: 50px;
    font-size: 0.95rem;
}

/* ===== 动画效果 ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== 响应式设计 ===== */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }

    section {
        padding: 50px 20px;
    }

    .about-section,
    .hobbies-section,
    .food-section {
        padding: 30px;
    }

    .personal-stats {
        flex-direction: column;
        align-items: center;
    }

    .stat-item {
        width: 80%;
        max-width: 300px;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .btn-primary {
        margin-right: 0;
        margin-bottom: 15px;
        width: 220px;
    }

    .btn-secondary {
        width: 220px;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    section h2 {
        font-size: 1.8rem;
    }

    .hobbies-grid,
    .food-grid {
        grid-template-columns: 1fr;
    }
}
