@font-face {
    font-family: 'FZFWTongQPOPTJW';
    src: url('FZFWZhuZiAYuanJWE.TTF') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

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

:root {
    --primary-green: #2E7D32;
    --warm-gold: #DAA520;
    --dark-text: #1a1a1a;
    --light-text: #666666;
    --white: #ffffff;
}

body {
    font-family: 'FZFWTongQPOPTJW', '方正黑体简体', '方正兰亭黑简体', '方正书宋简体', 'FZHei-B01S', 'FZLTHJW', 'FZShuSong-Z01S', 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
    padding: 40px 20px;
    background: #faf8f5;
    position: relative;
    overflow-x: hidden;
}

/* 背景图片 */
.bg-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('greenun.jpg') center / cover no-repeat fixed;
    z-index: -4;
}

.bg-image-layer {
    position: fixed;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: url('yellnu.jpg') right center / cover no-repeat fixed;
    opacity: 0.35;
    z-index: -3;
    mask-image: linear-gradient(to left, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 100%);
}

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
        rgba(255, 248, 235, 0.85) 0%,
        rgba(250, 245, 235, 0.82) 100%);
    z-index: -2;
}

/* 浮动图片 */
.floating-wheat {
    position: fixed;
    width: 80px;
    height: 80px;
    object-fit: contain;
    pointer-events: none;
    opacity: 0.25;
    z-index: 0;
    animation: wheatFloat 20s infinite ease-in-out;
}

.floating-wheat:nth-child(1) {
    top: 15%;
    left: 8%;
    animation-delay: 0s;
}

.floating-wheat:nth-child(2) {
    top: 50%;
    right: 10%;
    animation-delay: 7s;
}

.floating-wheat:nth-child(3) {
    bottom: 20%;
    left: 15%;
    animation-delay: 14s;
}

@keyframes wheatFloat {
    0%, 100% {
        transform: translateY(0) translateX(0) rotate(0deg);
    }
    25% {
        transform: translateY(-30px) translateX(20px) rotate(10deg);
    }
    50% {
        transform: translateY(-15px) translateX(-15px) rotate(-8deg);
    }
    75% {
        transform: translateY(-25px) translateX(15px) rotate(5deg);
    }
}

.container {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

/* 头部 */
.header {
    text-align: center;
    margin-bottom: 30px;
    animation: fadeInDown 1s ease;
    position: relative;
}

.header-icon {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -40px;
    width: 80px;
    height: 80px;
    object-fit: contain;
    animation: bounce 2s ease infinite;
    opacity: 0.5;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary-green), var(--warm-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
}

.header p {
    font-size: 1.2rem;
    color: var(--light-text);
    font-weight: 400;
    letter-spacing: 0px;
    max-width: 600px;
    margin: 15px auto 0;
    line-height: 1.6;
}

/* 卡片网格 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    padding: 10px 0;
}

.card {
    text-decoration: none;
    color: inherit;
    display: block;
    animation: fadeInUp 0.8s ease backwards;
}

.card:nth-child(1) {
    animation-delay: 0.2s;
}

.card:nth-child(2) {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-inner {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.06),
        0 1px 8px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
}

.card:hover .card-inner {
    transform: translateY(-10px);
    box-shadow:
        0 15px 50px rgba(46, 125, 50, 0.15),
        0 5px 20px rgba(0, 0, 0, 0.08);
}

.card-image-box {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.card-divider {
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--warm-gold));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    width: 100%;
}

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

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.card:hover .card-img {
    transform: scale(1.08);
}

.card-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.card-play-icon span {
    font-size: 2rem;
    color: var(--primary-green);
    margin-left: 4px;
}

.card:hover .card-play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.card-info {
    padding: 35px 30px 40px;
    text-align: center;
}

.card-name {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 18px;
    color: var(--dark-text);
    letter-spacing: 0px;
}

.card-text {
    color: var(--light-text);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    font-weight: 400;
}

.card-arrow {
    display: inline-block;
    color: var(--primary-green);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.card:hover .card-arrow {
    transform: translateX(10px);
    color: var(--warm-gold);
}

/* 页脚 */
.footer {
    text-align: center;
    margin-top: 100px;
    color: var(--light-text);
    font-size: 0.95rem;
    opacity: 0.6;
    letter-spacing: 0px;
}

/* 响应式 */
@media (max-width: 900px) {
    .header h1 {
        font-size: 3.2rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    body {
        padding: 20px 10px;
    }

    .header {
        margin-bottom: 25px;
    }

    .header-icon {
        font-size: 3rem;
    }

    .header h1 {
        font-size: 3.5rem;
        letter-spacing: 0px;
        margin-bottom: 5px;
    }

    .header h1::after {
        width: 60px;
    }

    .header p {
        font-size: 1rem;
        margin: 8px auto 0;
    }

    .card-grid {
        gap: 20px;
        padding: 5px 0;
    }

    .card-image-box {
        height: 220px;
    }

    .card-info {
        padding: 20px 20px 25px;
    }

    .card-name {
        font-size: 1.5rem;
        margin-bottom: 12px;
    }

    .card-text {
        font-size: 0.95rem;
        margin-bottom: 18px;
    }

    .card-play-icon {
        width: 60px;
        height: 60px;
    }

    .card-play-icon span {
        font-size: 1.5rem;
    }

    .floating-wheat {
        display: none;
    }
}
