/* 全局样式 */
:root {
    --primary-color: #2d5a27;  /* 深绿色 */
    --secondary-color: #4a7c59;  /* 中等绿色 */
    --accent-color: #8ba888;  /* 浅绿色 */
    --text-color: #333;
    --light-text: #fff;
    --background-color: #f5f5f5;
    --card-background: #fff;
    --border-color: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    padding-top: 80px; /* 为固定定位的header留出空间 */
}

/* 页面滚动行为 */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* 为固定定位的header留出空间 */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 响应式布局 */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    header .container {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 10px 15px;
        position: relative;
    }
    
    .logo {
        flex: 1;
        display: flex;
        align-items: center;
    }
    
    .logo h1 {
        font-size: 1.3rem;
        margin-bottom: 0;
    }
    
    .nav-toggle {
        display: block;
        z-index: 1200;
    }
    
    nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        background: rgba(45, 90, 39, 0.97);
        display: none;
        flex-direction: column;
        align-items: center;
        z-index: 1100;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        animation: navFadeIn 0.3s;
        min-height: 100vh;
        transition: background 0.3s;
    }
    
    nav.active {
        display: flex;
        animation: navFadeIn 0.3s;
    }
    
    @keyframes navFadeIn {
        from { opacity: 0; transform: translateY(-20px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    nav ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
        text-align: center;
        padding: 0;
        margin: 0;
    }
    
    nav ul li {
        margin: 0;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }
    
    nav a {
        display: block;
        padding: 18px 0;
        font-size: 1.1rem;
        color: #fff;
        background: none;
        transition: background 0.2s, color 0.2s;
    }
    
    nav a:hover, nav a.active {
        background: rgba(76, 175, 80, 0.12);
        color: #ffe082;
    }
    
    header {
        min-height: unset;
        height: auto;
    }
    
    .game-grid, .news-grid, .team-grid, .values-grid {
        grid-template-columns: 1fr;
    }
    
    .team-member img {
        max-width: 200px;
        height: auto;
    }
    
    .game-card {
        flex-direction: column;
    }
    
    .game-info {
        padding: 15px;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-section {
        margin-bottom: 20px;
    }
    
    .hero-slider {
        height: 300px;
    }
    
    .hero-content {
        padding: 15px;
        width: 90%;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .social-links a {
        font-size: 1.2rem;
    }
    
    .download-actions {
        flex-direction: column;
    }
    
    .download-button, .trailer-button {
        width: 100%;
        text-align: center;
        margin: 5px 0;
    }
    
    .platform-buttons {
        flex-direction: column;
    }
    
    .platform-btn {
        width: 100%;
        margin: 5px 0;
    }
}

/* 平板设备适配 */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 90%;
    }
    
    .game-grid, .news-grid, .team-grid, .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-content {
        width: 80%;
    }
}

/* 小屏幕手机适配 */
@media (max-width: 480px) {
    .hero-slider {
        height: 250px;
    }
    
    .hero-content h2 {
        font-size: 1.2rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
    }
    
    .game-card img {
        height: 150px;
    }
    
    .team-member img {
        max-width: 150px;
    }
}

/* 头部样式 */
header {
    background-color: var(--primary-color);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: var(--light-text);
    font-size: 1.8rem;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: color 0.3s ease;
}

nav a:hover, nav a.active {
    color: var(--accent-color);
    text-decoration: none;
    background: none;
}

/* 英雄区域样式 */
.hero-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
    background: linear-gradient(rgba(45, 90, 39, 0.7), rgba(45, 90, 39, 0.7));
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--light-text);
    z-index: 2;
    background-color: rgba(45, 90, 39, 0.8);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

/* 按钮样式 */
.cta-button, .download-button, .trailer-button, .submit-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--light-text);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-weight: 500;
}

.cta-button:hover, .download-button:hover, .trailer-button:hover, .submit-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.trailer-button {
    background-color: var(--accent-color);
    margin-left: 1rem;
}

/* 游戏卡片样式 */
.game-card {
    background-color: var(--card-background);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    position: relative;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.game-card::after {
    display: none;
}

.game-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid var(--primary-color);
}

.game-card h3 {
    color: var(--primary-color);
    margin: 1rem;
    font-size: 1.5rem;
}

.game-card p {
    margin: 0 1rem 1rem;
    color: var(--text-color);
}

.game-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.game-description {
    margin: 10px 0;
    flex: 1;
}

.game-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
}

/* 团队成员样式 */
.team-member {
    background-color: var(--card-background);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.team-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin-bottom: 1rem;
    border: 3px solid var(--primary-color);
    object-fit: cover;
    object-position: center;
}

.team-member h4 {
    color: var(--primary-color);
    margin: 1rem 0 0.5rem;
    font-size: 1.2rem;
}

.position {
    color: var(--secondary-color);
    font-style: italic;
    margin-bottom: 1rem;
}

.bio {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* 新闻区域样式 */
.news {
    background-color: var(--card-background);
    padding: 3rem 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

article {
    background-color: var(--card-background);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-left: 4px solid var(--primary-color);
    transition: transform 0.3s ease;
}

article:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* 特色新闻样式 */
article.featured-news {
    border-left: 4px solid #ff6b35;
    background: linear-gradient(135deg, #fff 0%, #fff8f5 100%);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.15);
}

article.featured-news:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.25);
}

article.featured-news h3 {
    color: #ff6b35;
    display: flex;
    align-items: center;
    gap: 10px;
}

article h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.date {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* 页脚样式 */
footer {
    background-color: var(--primary-color);
    color: var(--light-text);
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--light-text);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--light-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-color);
    text-decoration: none;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--light-text);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-3px);
    color: var(--accent-color);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--secondary-color);
    color: var(--light-text);
    opacity: 0.8;
}

/* 表单样式 */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(45, 90, 39, 0.2);
}

/* 网格布局 */
.game-grid, .news-grid, .team-grid, .values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* 值卡片样式 */
.value-card {
    background-color: var(--card-background);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.value-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* 联系信息样式 */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
}

.contact-info {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.info-item i {
    margin-right: 10px;
    color: #3498db;
}

.contact-form {
    background-color: var(--card-background);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .team-member img {
        max-width: 200px;
    }
    
    .game-card img {
        height: 150px;
    }
    
    .hero-slider {
        height: 300px;
    }
    
    .hero-content {
        padding: 15px;
    }
    
    .hero-content h2 {
        font-size: 24px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
}

.game-video {
    margin-top: 40px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

.game-video h3 {
    margin-bottom: 20px;
    color: #333;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    margin-top: 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 768px) {
    .game-video {
        margin-top: 20px;
        padding: 15px;
    }
}

/* 农业元素装饰 */
.hero-slider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/leaf-pattern.png');
    opacity: 0.1;
    z-index: 1;
}

.game-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.slide-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(45, 90, 39, 0.7);
    color: white;
    border: none;
    padding: 15px 20px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    z-index: 3;
}

.slide-btn:hover {
    background-color: var(--primary-color);
}

.slide-btn.prev {
    left: 20px;
}

.slide-btn.next {
    right: 20px;
}

@media (max-width: 768px) {
    .slide-btn {
        padding: 10px 15px;
        font-size: 20px;
    }
    
    .slide-btn.prev {
        left: 10px;
    }
    
    .slide-btn.next {
        right: 10px;
    }
}

/* 下载页面样式 */
.download-section {
    padding: 4rem 0;
    background-color: var(--background-color);
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.download-card {
    background-color: var(--card-background);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.download-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* 特色卡片样式 */
.download-card.featured {
    border: 2px solid #ff6b35;
    background: linear-gradient(135deg, #fff 0%, #fff8f5 100%);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.2);
}

.download-card.featured:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.download-card.featured img {
    border-bottom: 3px solid #ff6b35;
}

.download-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 3px solid var(--primary-color);
}

.download-info {
    padding: 1.5rem;
}

.download-info h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* NEW标签样式 */
.new-badge {
    background: linear-gradient(45deg, #ff6b35, #ff8c42);
    color: white;
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(255, 107, 53, 0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.download-details {
    margin: 1.5rem 0;
}

.download-details p {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.download-details i {
    color: var(--primary-color);
    margin-right: 0.5rem;
    width: 20px;
}

.download-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}



@media (max-width: 768px) {
    .download-section {
        padding: 2rem 0;
    }

    .download-card {
        margin-bottom: 2rem;
    }

    .download-actions {
        flex-direction: column;
    }

    .download-actions a {
        width: 100%;
        text-align: center;
    }
}

/* 平台按钮样式 */
.platform-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.platform-btn {
    padding: 8px 15px;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.platform-btn.active {
    background-color: var(--primary-color);
}

.platform-btn:hover {
    background-color: var(--secondary-color);
}

/* 下载链接样式 */
.download-links {
    margin-bottom: 15px;
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.download-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.download-button.primary {
    background: linear-gradient(45deg, #ff6b35, #ff8c42);
    font-weight: bold;
    padding: 12px 24px;
    font-size: 1.1em;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.download-button.primary:hover {
    background: linear-gradient(45deg, #e55a2b, #e57a35);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.download-button.disabled {
    background-color: #ccc;
    color: #666;
    cursor: not-allowed;
    opacity: 0.6;
}

.download-button.disabled:hover {
    background-color: #ccc;
    transform: none;
    box-shadow: none;
}

.download-button i {
    font-size: 1.2em;
}

@media (max-width: 768px) {
    .platform-buttons {
        flex-direction: column;
    }
    
    .platform-btn {
        width: 100%;
    }
    
    .download-button {
        width: 100%;
        justify-content: center;
    }
}

/* 音频控制器样式 */
.audio-controls {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    padding: 10px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    max-height: 50px;
    overflow: hidden;
}

.audio-controls.expanded {
    max-height: 200px;
    padding: 15px;
}

.track-info {
    color: white;
    font-size: 14px;
    margin-bottom: 5px;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 10px;
}

.track-name {
    font-weight: bold;
}

.control-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.audio-controls button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 20px;
    padding: 5px;
    transition: color 0.3s;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.audio-controls button:hover {
    color: #4CAF50;
}

.progress-container {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    cursor: pointer;
    margin: 5px 0;
}

.progress-bar {
    height: 100%;
    background: #4CAF50;
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s linear;
}

.time-display {
    color: white;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    width: 200px;
}

.volume-slider {
    width: 200px;
    height: 4px;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    outline: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 12px;
    background: #4CAF50;
    border-radius: 50%;
    cursor: pointer;
}

.volume-slider::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: #4CAF50;
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

@media (max-width: 768px) {
    .audio-controls {
        bottom: 10px;
        right: 10px;
        padding: 8px;
    }

    .audio-controls.expanded {
        padding: 12px;
    }

    .progress-container,
    .time-display,
    .volume-slider {
        width: 150px;
    }
}

/* 歌词显示样式 */
.lyrics-container {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1000;
    text-align: center;
    max-width: 80%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 时间显示 */
.time-display {
    color: white;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 5px;
}

@media (max-width: 768px) {
    .audio-controls {
        bottom: 10px;
        right: 10px;
        padding: 8px;
        min-width: 180px;
    }
    
    .volume-slider {
        width: 80px;
    }

    .lyrics-container {
        bottom: 80px;
        font-size: 14px;
        padding: 8px 16px;
    }
}

/* 汉堡菜单按钮样式 */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: #fff;
    cursor: pointer;
    z-index: 1100;
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    nav {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background: var(--primary-color);
        display: none;
        flex-direction: column;
        align-items: center;
    }
    nav.active {
        display: flex;
    }
    nav ul {
        flex-direction: column;
        gap: 20px;
        width: 100%;
        text-align: center;
    }
    header .container {
        position: relative;
    }
} 