* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
}

html, body {
    height: 100%;
    overflow: hidden;
}

.container {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* 全屏背景 */
.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)),
                url('../img/1.jpg') no-repeat center center;
    background-size: cover;
    z-index: 1;
}

/* 主内容区域 */
.main-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 0 20px;
}

.logo {
    font-size: 3rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-text {
    font-size: 3.5rem;
    font-weight: bold;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.title {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    letter-spacing: 3px;
}

.subtitle {
    font-size: 1.8rem;
    max-width: 800px;
    margin-bottom: 40px;
    line-height: 1.6;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

/* 透明材质按钮 */
.btn-shantou {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 15px 40px;
    font-size: 1.4rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-shantou:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* 美食特色展示 */
.food-features {
    display: flex;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
    justify-content: center;
}

.food-item {
    width: 150px;
    text-align: center;
}

.food-icon {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #ffcc00;
    text-shadow: 0 0 10px rgba(255, 204, 0, 0.5);
}

.food-name {
    font-size: 1.2rem;
    font-weight: bold;
}

/* 第二页 - 贡献页面 */
.contributions-page {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a2a3a, #2c3e50);
    color: white;
    z-index: 3;
    padding: 60px 20px;
    transition: transform 0.8s ease;
    overflow-y: auto;
}

.contributions-page.active {
    transform: translateY(-100%);
}

.contributions-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

/* 返回首页按钮 */
.back-home-btn {
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.back-home-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.page-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 40px;
    color: #ffcc00;
}

.contributions-section {
    margin-bottom: 40px;
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    border-left: 4px solid #ffcc00;
    padding-left: 15px;
}

.contributions-list {
    list-style: none;
    padding: 0;
}

.contributions-list li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.contributions-list i {
    color: #ffcc00;
}

.copyright {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
}

/* 滚动提示 */
.scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    z-index: 2;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.3rem;
    }

    .logo-text {
        font-size: 2.5rem;
    }

    .food-features {
        gap: 15px;
    }

    .food-item {
        width: 120px;
    }

    .back-home-btn {
        position: relative;
        margin-bottom: 20px;
        align-self: flex-end;
    }
}