* {
    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;
}

/* ===== 家乡入口 ===== */
.hometown-link {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #e07a5f, #f4a261);
    color: white;
    padding: 10px 18px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(224, 122, 95, 0.3);
    transition: all 0.3s ease;
}

.hometown-link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(224, 122, 95, 0.4);
}

.hometown-icon {
    font-size: 1.1rem;
}

/* ===== 学校入口 ===== */
.school-link {
    position: fixed;
    top: 20px;
    right: 170px;
    z-index: 1001;
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    color: white;
    padding: 10px 18px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}

.school-link:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.school-icon {
    font-size: 1.1rem;
}

/* ===== 可爱风 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); }
}

/* 专业技能介绍 - 活泼可爱风格 */
.skills-intro {
    margin: 20px 0;
    animation: fadeInUp 1s ease-out 0.25s both;
}

.major-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ffd6e7, #ffe4f0);
    color: #d63384;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 15px;
    border: 3px dashed #ffb6c1;
    box-shadow: 0 4px 15px rgba(255, 182, 193, 0.3);
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 15px;
}

.skill-tag {
    background: white;
    color: #e8789a;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 0.95rem;
    border: 2px solid rgba(232, 120, 154, 0.3);
    box-shadow: 0 3px 10px rgba(232, 120, 154, 0.15);
    transition: all 0.3s ease;
}

.skill-tag:hover {
    transform: translateY(-3px) rotate(2deg);
    box-shadow: 0 6px 20px rgba(232, 120, 154, 0.25);
    background: linear-gradient(135deg, #ffd6e7, #ffe4f0);
}

.skills-desc {
    font-size: 1.1rem;
    color: #9a6a82;
    font-style: italic;
    margin-top: 10px;
}

.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;
}

/* ===== Python 新手入门课程 ===== */
.python-course-section {
    background: linear-gradient(135deg, #e6fffa 0%, #ebf8ff 50%, #faf5ff 100%);
    margin: 50px auto;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 8px 30px rgba(72, 187, 120, 0.1);
    border: 2px solid rgba(72, 187, 120, 0.15);
    text-align: center;
}

.python-course-section h2 {
    color: #276749;
    margin-bottom: 15px;
}

.python-course-section h2::after {
    content: '♡ ♡ ♡';
    color: #48bb78;
}

.course-intro {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 30px;
}

.course-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: white;
    padding: 12px 20px;
    border-radius: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(72, 187, 120, 0.2);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-3px);
}

.feature-icon {
    font-size: 1.3rem;
}

.feature-text {
    color: #4a5568;
    font-weight: 500;
}

.course-chapters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.chapter-badge {
    background: white;
    color: #48bb78;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid rgba(72, 187, 120, 0.3);
    transition: all 0.3s ease;
}

.chapter-badge.active {
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
    border: none;
}

.chapter-badge:hover {
    background: #48bb78;
    color: white;
    transform: scale(1.05);
}

.course-btn {
    display: inline-block;
    background: linear-gradient(135deg, #48bb78, #38a169);
    color: white;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(72, 187, 120, 0.3);
    transition: all 0.3s ease;
}

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

/* ===== 关于我部分 ===== */
.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;
}

/* ===== 学习技能栏目 ===== */
.learning-section {
    background: linear-gradient(135deg, #fff5f7 0%, #ffeef2 50%, #fff0f5 100%);
    margin: 50px auto;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 8px 30px rgba(232, 120, 154, 0.1);
    border: 2px solid rgba(232, 120, 154, 0.15);
}

.learning-section h2 {
    text-align: center;
    font-size: 2rem;
    color: #d63384;
    margin-bottom: 10px;
}

.learning-section h2::after {
    content: '♡ ♡ ♡';
    display: block;
    font-size: 1rem;
    color: #e8789a;
    margin-top: 5px;
}

.learning-intro {
    text-align: center;
    color: #6b7280;
    margin-bottom: 35px;
    font-size: 1rem;
}

.learning-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

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

.learning-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e8789a, #f4a0b8, #e8789a);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.learning-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(232, 120, 154, 0.18);
    border-color: rgba(232, 120, 154, 0.3);
}

.learning-card:hover::before {
    transform: scaleX(1);
}

.learning-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.learning-card h3 {
    font-size: 1.2rem;
    color: #d63384;
    margin-bottom: 10px;
}

.learning-card p {
    font-size: 0.9rem;
    color: #6b7280;
    margin-bottom: 15px;
    line-height: 1.6;
}

.learning-link {
    display: inline-block;
    color: #e8789a;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s;
}

.learning-card:hover .learning-link {
    color: #d63384;
}

/* ===== 兴趣爱好部分 ===== */
.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);
    }
}

/* ===== 滚动进入动画 ===== */
.scroll-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate.from-left {
    transform: translateX(-40px);
}

.scroll-animate.from-left.visible {
    transform: translateX(0);
}

.scroll-animate.from-right {
    transform: translateX(40px);
}

.scroll-animate.from-right.visible {
    transform: translateX(0);
}

.scroll-animate.scale-in {
    transform: scale(0.9);
}

.scroll-animate.scale-in.visible {
    transform: scale(1);
}

/* 延迟动画 */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }
.delay-6 { transition-delay: 0.6s !important; }

/* ===== 数字跳动后缀 ===== */
.stat-suffix {
    font-size: 1.5rem;
    color: #e8789a;
    font-weight: bold;
}

/* ===== 留言板 ===== */
.message-section {
    background: linear-gradient(135deg, #fff5f7 0%, #fef3f2 50%, #fff0f5 100%);
    margin: 50px auto;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 8px 30px rgba(232, 120, 154, 0.1);
    border: 2px solid rgba(232, 120, 154, 0.15);
}

.message-section h2 {
    text-align: center;
    color: #d63384;
    margin-bottom: 8px;
}

.message-section h2::after {
    content: '♡ ♡ ♡';
    display: block;
    font-size: 1rem;
    color: #e8789a;
    margin-top: 5px;
}

.message-intro {
    text-align: center;
    color: #6b7280;
    margin-bottom: 30px;
}

.message-form {
    background: white;
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(232, 120, 154, 0.08);
    border: 2px solid rgba(232, 120, 154, 0.1);
}

.form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
}

.msg-input {
    flex: 1;
    padding: 12px 18px;
    border: 2px solid #f3e8ed;
    border-radius: 12px;
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s;
    font-family: inherit;
    color: #4a5568;
}

.msg-input:focus {
    border-color: #e8789a;
}

.msg-input::placeholder {
    color: #c4b5bd;
}

.msg-select {
    padding: 12px 18px;
    border: 2px solid #f3e8ed;
    border-radius: 12px;
    font-size: 0.95rem;
    outline: none;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s;
    color: #4a5568;
    font-family: inherit;
}

.msg-select:focus {
    border-color: #e8789a;
}

.msg-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #f3e8ed;
    border-radius: 12px;
    font-size: 0.95rem;
    outline: none;
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
    transition: border-color 0.3s;
    color: #4a5568;
    line-height: 1.6;
}

.msg-textarea:focus {
    border-color: #e8789a;
}

.msg-textarea::placeholder {
    color: #c4b5bd;
}

.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.char-count {
    font-size: 0.85rem;
    color: #9ca3af;
}

.msg-submit {
    background: linear-gradient(135deg, #e8789a, #d63384);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.msg-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(232, 120, 154, 0.3);
}

.msg-submit:active {
    transform: translateY(0);
}

/* 留言列表 */
.message-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 16px;
    border: 2px solid rgba(232, 120, 154, 0.08);
    transition: all 0.3s ease;
    animation: messageIn 0.5s ease-out;
}

@keyframes messageIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.message-item:hover {
    box-shadow: 0 5px 20px rgba(232, 120, 154, 0.1);
    border-color: rgba(232, 120, 154, 0.2);
}

.message-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #fff0f3, #fce4f0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    border: 2px solid rgba(232, 120, 154, 0.15);
}

.message-body {
    flex: 1;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.message-name {
    font-weight: 600;
    color: #d63384;
    font-size: 0.95rem;
}

.message-time {
    font-size: 0.8rem;
    color: #9ca3af;
}

.message-text {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 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;
    }
}
