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

:root {
    --primary-color: #1a73e8;
    --secondary-color: #34a853;
    --accent-color: #fbbc04;
    --text-dark: #202124;
    --text-light: #5f6368;
    --background-light: #f8f9fa;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #1a73e8, #4285f4);
    --gradient-secondary: linear-gradient(135deg, #34a853, #0f9d58);
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.2);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo h2 {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    padding: 10px 20px;
    margin: 0 5px;
    border-radius: 25px;
    transition: var(--transition);
    font-weight: 500;
}

.nav-link:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition);
}

/* 首页横幅 */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
    color: var(--white);
    padding-top: 70px;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    gap: 10px;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow-light);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.btn-play {
    background: var(--gradient-secondary);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 30px;
}

.btn-play:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* 浮动球动画 */
.hero-background {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.floating-ball {
    position: absolute;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.floating-ball:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.floating-ball:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.floating-ball:nth-child(3) {
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

/* 游戏展示区 */
.games-section {
    padding: 100px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.game-showcase {
    margin-bottom: 80px;
}

.game-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    background: var(--white);
    transition: var(--transition);
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-heavy);
}

.game-image {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.game-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: var(--transition);
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.game-image:hover .game-overlay {
    opacity: 1;
}

.game-image:hover img {
    transform: scale(1.1);
}

.game-info h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.game-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.game-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 2rem;
}

.feature-tag {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.game-stats {
    display: flex;
    gap: 30px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* 截图画廊 */
.screenshots-section h3 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.screenshot-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.screenshot-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.screenshot-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.screenshot-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 15px;
    text-align: center;
    font-weight: 500;
    transform: translateY(100%);
    transition: var(--transition);
}

.screenshot-item:hover .screenshot-overlay {
    transform: translateY(0);
}

/* 关于我们 */
.about-section {
    padding: 100px 0;
    background: var(--background-light);
}

.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 3rem;
    justify-content: center;
}

.about-stat {
    text-align: center;
}

.about-stat h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.about-stat p {
    color: var(--text-light);
    font-weight: 500;
}

/* Privacy Policy Page */
.privacy-section {
    padding: 120px 0 80px;
    background: var(--white);
    min-height: 100vh;
}

.privacy-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.privacy-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: center;
}

.last-updated {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--background-light);
}

.privacy-text {
    line-height: 1.8;
    color: var(--text-dark);
}

.privacy-text h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--background-light);
}

.privacy-text h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.privacy-text p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
    color: var(--text-light);
}

.privacy-text ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.privacy-text li {
    margin-bottom: 0.8rem;
    color: var(--text-light);
    line-height: 1.6;
}

.privacy-text li strong {
    color: var(--text-dark);
    font-weight: 600;
}

.contact-info {
    background: var(--background-light);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 2rem 0;
    border-left: 4px solid var(--primary-color);
}

.contact-info p {
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.policy-footer {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    margin-top: 3rem;
    text-align: center;
}

.policy-footer p {
    margin-bottom: 0;
    font-weight: 500;
    color: var(--white);
}

/* Contact Information Section in Privacy Policy */
.contact-info-section {
    background: var(--background-light);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    margin-top: 3rem;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-light);
}

.contact-info-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-details {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    border: 1px solid #e0e0e0;
}

.contact-details p {
    margin-bottom: 0.8rem;
    color: var(--text-dark);
    font-size: 1rem;
}

.contact-details p:last-child {
    margin-bottom: 0;
}

.contact-details strong {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.contact-details a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.privacy-note {
    font-style: italic;
    color: var(--text-light);
    text-align: center;
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(26, 115, 232, 0.05);
    border-radius: 6px;
}

.last-updated-footer {
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid #e0e0e0;
}

/* Responsive adjustments for contact info */
@media (max-width: 768px) {
    .contact-info-section {
        padding: 1.5rem;
    }
    
    .contact-info-section h3 {
        font-size: 1.3rem;
    }
    
    .contact-details {
        padding: 1rem;
    }
}

/* Responsive adjustments for privacy policy */
@media (max-width: 768px) {
    .privacy-content {
        padding: 0 15px;
    }
    
    .privacy-content h1 {
        font-size: 2rem;
    }
    
    .privacy-text h2 {
        font-size: 1.5rem;
    }
    
    .privacy-text h3 {
        font-size: 1.2rem;
    }
    
    .contact-info {
        padding: 1.5rem;
    }
    
    .policy-footer {
        padding: 1.5rem;
    }
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
    text-align: center;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-section p {
    color: #aaa;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #aaa;
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #aaa;
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow-medium);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        margin: 10px 0;
        display: block;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .game-card {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .about-content {
        text-align: center;
    }
    
    .about-stats {
        justify-content: center;
        gap: 20px;
    }
    
    .game-stats {
        justify-content: center;
    }
    
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .game-info h3 {
        font-size: 1.5rem;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .game-card {
        padding: 20px;
    }
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1557b0;
}
