/* 重置样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* 移动端优先 - 头部样式 */
.header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px 0;
}

.header-banner {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

.site-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #000;
}

.subtitle {
    font-size: 16px;
    color: #666;
    font-weight: normal;
    font-style: italic;
}

/* 社交媒体链接 */
.social-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
    padding: 20px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.social-link {
    display: inline-block;
    padding: 10px 20px;
    color: #0073aa;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #005177;
    text-decoration: underline;
}

/* 游戏项目样式 */
.main-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.game-item {
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fafafa;
}

.game-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 20px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.game-content {
    width: 100%;
}

.game-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #000;
}

.game-description {
    font-size: 14px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.game-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.game-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    text-align: center;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.game-link:hover {
    background-color: #005177;
}

/* 页脚 */
.footer {
    margin-top: 40px;
    padding: 20px 0;
    border-top: 1px solid #eee;
    text-align: center;
}

.cookie-notice {
    font-size: 12px;
    color: #888;
}

/* 隐私协议页面样式 */
.privacy-policy {
    max-width: 900px;
    margin: 0 auto;
    padding: 30px 20px;
    background-color: #fff;
}

.policy-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #000;
    text-align: center;
}

.policy-updated {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-bottom: 30px;
    font-style: italic;
}

.policy-intro {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.policy-section {
    margin-bottom: 40px;
    padding: 25px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fafafa;
}

.section-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #000;
    padding-bottom: 10px;
    border-bottom: 2px solid #0073aa;
}

.subsection-title {
    font-size: 20px;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 15px;
    color: #333;
}

.subsubsection-title {
    font-size: 18px;
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 12px;
    color: #444;
}

.policy-list {
    margin: 15px 0;
    padding-left: 30px;
    line-height: 1.8;
}

.policy-list li {
    margin-bottom: 12px;
    color: #555;
    font-size: 15px;
}

.policy-list strong {
    color: #333;
    font-weight: 600;
}

.policy-section p {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 15px;
}

.contact-link {
    color: #0073aa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #005177;
    text-decoration: underline;
}

.footer-link {
    margin-top: 15px;
    text-align: center;
}

.footer-link a {
    color: #0073aa;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-link a:hover {
    color: #005177;
    text-decoration: underline;
}

/* 平板设备适配 (768px及以上) */
@media (min-width: 768px) {
    .container {
        padding: 30px 40px;
    }

    .header-banner {
        max-width: 800px;
        margin-bottom: 25px;
    }

    .site-title {
        font-size: 36px;
    }

    .subtitle {
        font-size: 18px;
    }

    .social-links {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
    }

    .social-link {
        font-size: 16px;
    }

    .game-item {
        padding: 25px;
    }

    .game-image {
        max-width: 600px;
        margin-bottom: 25px;
    }

    .game-content {
        width: 100%;
    }

    .game-title {
        font-size: 24px;
    }

    .game-description {
        font-size: 16px;
    }

    .game-links {
        flex-direction: row;
        gap: 15px;
    }

    .game-link {
        font-size: 15px;
        padding: 12px 25px;
    }
}

/* 桌面端适配 (1024px及以上) */
@media (min-width: 1024px) {
    .container {
        padding: 40px 40px;
    }

    .header {
        margin-bottom: 40px;
        padding: 30px 0;
    }

    .header-banner {
        max-width: 900px;
        margin-bottom: 30px;
    }

    .site-title {
        font-size: 42px;
    }

    .subtitle {
        font-size: 20px;
    }

    .social-links {
        margin-bottom: 50px;
        padding: 25px 0;
        gap: 30px;
    }

    .social-link {
        font-size: 17px;
        padding: 12px 25px;
    }

    .main-content {
        gap: 40px;
    }

    .game-item {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 30px;
        padding: 30px;
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .game-item:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .game-image {
        flex-shrink: 0;
        width: 350px;
        max-width: 350px;
        height: auto;
        margin: 0;
        border-radius: 6px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s ease;
    }

    .game-item:hover .game-image {
        transform: scale(1.02);
    }

    .game-content {
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .game-title {
        font-size: 26px;
        margin-bottom: 18px;
        margin-top: 0;
    }

    .game-description {
        font-size: 17px;
        margin-bottom: 20px;
    }

    .game-links {
        flex-direction: row;
        gap: 15px;
        flex-wrap: wrap;
    }

    .game-link {
        font-size: 16px;
        padding: 13px 30px;
        flex: 0 0 auto;
    }

    .footer {
        margin-top: 60px;
        padding: 30px 0;
    }

    .cookie-notice {
        font-size: 13px;
    }

    .privacy-policy {
        padding: 40px 30px;
    }

    .policy-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 26px;
    }

    .subsection-title {
        font-size: 22px;
    }

    .subsubsection-title {
        font-size: 19px;
    }

    .policy-section {
        padding: 30px;
    }
}

/* 大屏幕适配 (1440px及以上) */
@media (min-width: 1440px) {
    .container {
        padding: 50px 60px;
    }

    .main-content {
        gap: 50px;
    }

    .game-item {
        padding: 35px;
    }

    .game-image {
        width: 400px;
        max-width: 400px;
    }

    .header-banner {
        max-width: 1000px;
    }
}
