/* ========================================
   编程知识 - mrgr.cn 全局样式
   烘焙潮流风：暖黄 + 浅粉 + 奶白
   ======================================== */

:root {
    --warm-yellow: #F4C86E;
    --light-pink: #FFD4D9;
    --cream-white: #FFF8F0;
    --deep-brown: #5D4037;
    --soft-orange: #FFAB73;
    --accent-gold: #FFD700;
    --text-dark: #3E2723;
    --text-light: #6D4C41;
    --border-radius-oval: 50px;
    --border-radius-square: 8px;
    --transition-speed: 0.3s;
    --shadow-soft: 0 4px 20px rgba(93, 64, 55, 0.1);
    --shadow-hover: 0 8px 30px rgba(93, 64, 55, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', sans-serif;
    background-color: var(--cream-white);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-speed) ease;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ========================================
   顶部导航栏
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(135deg, var(--cream-white) 0%, var(--light-pink) 100%);
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-speed) ease;
}

.header.scrolled {
    background: linear-gradient(135deg, var(--warm-yellow) 0%, var(--soft-orange) 100%);
    box-shadow: var(--shadow-hover);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 28px;
    font-weight: bold;
    color: var(--deep-brown);
}

.logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    position: relative;
    padding: 10px 15px;
    color: var(--text-dark);
    font-weight: 500;
    border-radius: var(--border-radius-oval);
    transition: all var(--transition-speed) ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--deep-brown);
    border-radius: 2px;
    transition: width var(--transition-speed) ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover,
.nav-link.active {
    background: var(--warm-yellow);
    color: var(--deep-brown);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--deep-brown);
    border-radius: 2px;
    transition: all var(--transition-speed) ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* ========================================
   页脚
   ======================================== */
.footer {
    background: linear-gradient(135deg, var(--deep-brown) 0%, #3E2723 100%);
    color: var(--cream-white);
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--warm-yellow);
    margin-bottom: 20px;
    font-size: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--soft-orange);
    border-radius: 2px;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: var(--light-pink);
    transition: all var(--transition-speed) ease;
}

.footer-section ul li a:hover {
    color: var(--warm-yellow);
    padding-left: 10px;
}

.footer-section p {
    color: var(--cream-white);
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 248, 240, 0.2);
    color: var(--light-pink);
}

/* ========================================
   通用动画
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ========================================
   按钮样式
   ======================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--border-radius-oval);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--warm-yellow) 0%, var(--soft-orange) 100%);
    color: var(--deep-brown);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--warm-yellow);
    color: var(--deep-brown);
}

.btn-secondary:hover {
    background: var(--warm-yellow);
    color: var(--deep-brown);
}

/* ========================================
   卡片样式
   ======================================== */
.card {
    background: var(--cream-white);
    border-radius: var(--border-radius-square);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-speed) ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-title {
    font-size: 18px;
    color: var(--deep-brown);
    margin-bottom: 10px;
}

.card-text {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--cream-white);
        flex-direction: column;
        padding: 40px 20px;
        gap: 20px;
        transition: left var(--transition-speed) ease;
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .logo {
        font-size: 22px;
    }

    .logo img {
        width: 40px;
        height: 40px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* ========================================
   首页特有样式
   ======================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--cream-white) 0%, var(--light-pink) 50%, var(--warm-yellow) 100%);
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 10;
}

.hero-title {
    font-size: 64px;
    color: var(--deep-brown);
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--text-light);
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.6s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 椭圆形与方形组合布局 */
.ellipse-square-section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 36px;
    color: var(--deep-brown);
    margin-bottom: 60px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--warm-yellow), var(--soft-orange));
    margin: 20px auto 0;
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--cream-white);
    padding: 40px;
    border-radius: 30px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-speed) ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(244, 200, 110, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
}

.feature-card:hover::before {
    animation: shine 1.5s ease;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) rotate(45deg);
    }
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--warm-yellow), var(--soft-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

.feature-title {
    font-size: 22px;
    color: var(--deep-brown);
    margin-bottom: 15px;
}

.feature-desc {
    color: var(--text-light);
    line-height: 1.8;
}

/* 资讯列表区域 */
.news-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--cream-white) 0%, var(--light-pink) 100%);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--cream-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-speed) ease;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.news-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.news-card-content {
    padding: 25px;
}

.news-card-title {
    font-size: 20px;
    color: var(--deep-brown);
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-card-excerpt {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
    font-size: 13px;
}

.news-card-date {
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-card-link {
    color: var(--soft-orange);
    font-weight: 600;
}

.news-card-link:hover {
    color: var(--deep-brown);
}

/* ========================================
   内页通用样式
   ======================================== */
.page-header {
    background: linear-gradient(135deg, var(--warm-yellow) 0%, var(--soft-orange) 100%);
    padding: 150px 0 80px;
    text-align: center;
}

.page-title {
    font-size: 48px;
    color: var(--deep-brown);
    margin-bottom: 20px;
}

.page-subtitle {
    font-size: 20px;
    color: var(--text-dark);
    max-width: 800px;
    margin: 0 auto;
}

.content-section {
    padding: 80px 0;
}

/* ========================================
   新闻列表页样式
   ======================================== */
.news-list-page {
    padding-top: 120px;
}

.news-list-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding: 40px 0;
}

.news-list-main {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.news-item {
    display: flex;
    gap: 25px;
    background: var(--cream-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-speed) ease;
}

.news-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.news-item-image {
    width: 280px;
    height: 180px;
    object-fit: cover;
    flex-shrink: 0;
}

.news-item-content {
    padding: 25px 25px 25px 0;
    flex: 1;
}

.news-item-title {
    font-size: 22px;
    color: var(--deep-brown);
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-item-excerpt {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-item-meta {
    display: flex;
    gap: 20px;
    color: var(--text-light);
    font-size: 13px;
}

.news-sidebar {
    background: var(--cream-white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    height: fit-content;
    position: sticky;
    top: 120px;
}

.sidebar-title {
    font-size: 22px;
    color: var(--deep-brown);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--warm-yellow);
}

.sidebar-news-item {
    padding: 15px 0;
    border-bottom: 1px solid rgba(93, 64, 55, 0.1);
}

.sidebar-news-item:last-child {
    border-bottom: none;
}

.sidebar-news-title {
    font-size: 15px;
    color: var(--deep-brown);
    margin-bottom: 8px;
    line-height: 1.4;
}

.sidebar-news-date {
    font-size: 12px;
    color: var(--text-light);
}

/* ========================================
   新闻详情页样式
   ======================================== */
.news-detail-page {
    padding-top: 120px;
}

.news-detail-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.news-detail-header {
    margin-bottom: 40px;
}

.news-detail-title {
    font-size: 42px;
    color: var(--deep-brown);
    margin-bottom: 20px;
    line-height: 1.3;
}

.news-detail-meta {
    display: flex;
    gap: 30px;
    color: var(--text-light);
    font-size: 14px;
    padding-bottom: 30px;
    border-bottom: 2px solid var(--warm-yellow);
}

.news-detail-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 40px;
}

.news-detail-content {
    font-size: 18px;
    line-height: 2;
    color: var(--text-dark);
}

.news-detail-content p {
    margin-bottom: 25px;
}

.news-detail-content img {
    max-width: 100%;
    border-radius: 15px;
    margin: 30px 0;
}

.related-news-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--light-pink);
}

.related-news-title {
    font-size: 28px;
    color: var(--deep-brown);
    margin-bottom: 30px;
}

.related-news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

/* ========================================
   关于页面样式
   ======================================== */
.about-intro-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--cream-white) 0%, var(--light-pink) 100%);
}

.about-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    border-radius: 30px;
    box-shadow: var(--shadow-hover);
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-text h2 {
    font-size: 36px;
    color: var(--deep-brown);
    margin-bottom: 25px;
}

.about-text p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 2;
    margin-bottom: 20px;
}

/* ========================================
   服务页面样式
   ======================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.service-card {
    background: var(--cream-white);
    padding: 45px 35px;
    border-radius: 25px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-speed) ease;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(135deg, var(--warm-yellow) 0%, var(--cream-white) 100%);
}

.service-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--warm-yellow), var(--soft-orange));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
}

.service-title {
    font-size: 24px;
    color: var(--deep-brown);
    margin-bottom: 15px;
}

.service-desc {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* ========================================
   案例页面样式
   ======================================== */
.cases-filter {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid var(--warm-yellow);
    background: transparent;
    border-radius: var(--border-radius-oval);
    color: var(--deep-brown);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--warm-yellow);
    color: var(--deep-brown);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 35px;
}

.case-card {
    background: var(--cream-white);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-speed) ease;
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.case-image {
    width: 100%;
    height: 260px;
    object-fit: cover;
}

.case-content {
    padding: 30px;
}

.case-category {
    display: inline-block;
    padding: 6px 15px;
    background: var(--light-pink);
    color: var(--deep-brown);
    border-radius: var(--border-radius-oval);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.case-title {
    font-size: 22px;
    color: var(--deep-brown);
    margin-bottom: 12px;
}

.case-desc {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.case-link {
    color: var(--soft-orange);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.case-link:hover {
    color: var(--deep-brown);
}

/* ========================================
   教程页面样式
   ======================================== */
.tutorials-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    padding: 40px 0;
}

.tutorial-sidebar {
    background: var(--cream-white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    height: fit-content;
    position: sticky;
    top: 120px;
}

.tutorial-category {
    margin-bottom: 30px;
}

.tutorial-category-title {
    font-size: 18px;
    color: var(--deep-brown);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--warm-yellow);
}

.tutorial-category ul li {
    margin-bottom: 10px;
}

.tutorial-category ul li a {
    color: var(--text-light);
    font-size: 14px;
    display: block;
    padding: 8px 12px;
    border-radius: 10px;
    transition: all var(--transition-speed) ease;
}

.tutorial-category ul li a:hover {
    background: var(--light-pink);
    color: var(--deep-brown);
}

.tutorials-main {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.tutorial-card {
    display: flex;
    gap: 25px;
    background: var(--cream-white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-speed) ease;
}

.tutorial-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.tutorial-card-image {
    width: 200px;
    height: 140px;
    object-fit: cover;
    border-radius: 15px;
    flex-shrink: 0;
}

.tutorial-card-content {
    flex: 1;
}

.tutorial-card-title {
    font-size: 22px;
    color: var(--deep-brown);
    margin-bottom: 12px;
}

.tutorial-card-desc {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.tutorial-card-meta {
    display: flex;
    gap: 20px;
    color: var(--text-light);
    font-size: 13px;
}

/* ========================================
   问答页面样式
   ======================================== */
.qa-section {
    padding: 80px 0;
}

.qa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px;
}

.qa-card {
    background: var(--cream-white);
    padding: 35px;
    border-radius: 25px;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-speed) ease;
}

.qa-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.qa-question {
    font-size: 20px;
    color: var(--deep-brown);
    margin-bottom: 15px;
    line-height: 1.4;
}

.qa-answer {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.qa-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.qa-tag {
    padding: 5px 12px;
    background: var(--light-pink);
    color: var(--deep-brown);
    border-radius: var(--border-radius-oval);
    font-size: 12px;
}

/* ========================================
   联系页面样式
   ======================================== */
.contact-section {
    padding: 80px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    background: linear-gradient(135deg, var(--warm-yellow) 0%, var(--soft-orange) 100%);
    padding: 50px;
    border-radius: 30px;
    color: var(--deep-brown);
}

.contact-info h2 {
    font-size: 32px;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--cream-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.contact-form {
    background: var(--cream-white);
    padding: 50px;
    border-radius: 30px;
    box-shadow: var(--shadow-soft);
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    margin-bottom: 10px;
    color: var(--deep-brown);
    font-weight: 600;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid var(--light-pink);
    border-radius: 15px;
    font-size: 16px;
    font-family: inherit;
    transition: all var(--transition-speed) ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--warm-yellow);
    box-shadow: 0 0 0 3px rgba(244, 200, 110, 0.2);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

/* ========================================
   工具类
   ======================================== */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.hidden {
    display: none;
}

/* ========================================
   加载动画
   ======================================== */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--cream-white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--light-pink);
    border-top-color: var(--warm-yellow);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
