/* ========================================
   CSS Variables & Reset
   ======================================== */
:root {
    /* Colors - Cute & Warm Theme */
    --primary-color: #7EC8E3;        /* 柔和的天蓝色 */
    --secondary-color: #5BB5D9;      /* 稍深的天蓝色 */
    --accent-color: #FFE5B4;          /* 柔和的黄色 */
    --pink-accent: #FFB6C1;          /* 粉色点缀 */
    --mint-green: #98D8C8;            /* 薄荷绿 */
    --peach: #FFDAB9;                 /* 桃色 */
    --dark-color: #4A90A4;            /* 深蓝色 */
    --light-color: #F0F8FF;          /* 爱丽丝蓝 */

    /* Gradients - Warm & Playful */
    --gradient-primary: linear-gradient(135deg, #7EC8E3 0%, #98D8C8 100%);
    --gradient-secondary: linear-gradient(135deg, #FFE5B4 0%, #FFB6C1 100%);
    --gradient-warm: linear-gradient(135deg, #FFDAB9 0%, #FFE5B4 100%);

    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', 'PingFang SC', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50%;

    /* Shadows - Soft & Cute */
    --shadow-sm: 0 2px 12px rgba(126, 200, 227, 0.15);
    --shadow-md: 0 4px 20px rgba(126, 200, 227, 0.25);
    --shadow-lg: 0 8px 40px rgba(126, 200, 227, 0.35);
    --shadow-pink: 0 4px 20px rgba(255, 182, 193, 0.3);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

/* ========================================
   Navbar
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 3px solid #7EC8E3;
}

.navbar .container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 20px;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.nav-logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.nav-logo-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.nav-game-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #3CB8A0;
    white-space: nowrap;
}

.nav-tagline {
    font-size: 0.85rem;
    color: #333333;
    white-space: nowrap;
    margin-top: 2px;
}

.navbar-download-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 2rem;
    background: linear-gradient(135deg, #5FD3D1 0%, #3CB8A0 100%);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all var(--transition-base);
    box-shadow: 0 4px 15px rgba(60, 184, 160, 0.3);
    flex-shrink: 0;
}

.navbar-download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(60, 184, 160, 0.4);
    background: linear-gradient(135deg, #3CB8A0 0%, #5FD3D1 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.8;
    color: #333;
    overflow-x: hidden;
    background: linear-gradient(180deg, #F0F8FF 0%, #FFE5B4 50%, #F0F8FF 100%);
    padding-top: 80px;
}

/* ========================================
   Utility Classes
   ======================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    overflow: hidden;
}

/* Buttons */
.download-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.4s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--radius-lg);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    font-size: 1.1rem;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
    border-radius: 30px;
    padding: 1rem 2.5rem;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, #98D8C8 0%, #7EC8E3 100%);
}

.btn-icon {
    font-size: 1.3rem;
}

/* Hero Visual Elements */

/* Hero Background Image */
.hero-background-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    pointer-events: none;
    z-index: 1;
}

/* Hero 区域适龄提示 */
.age-rating-hero {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    cursor: pointer;
    transition: transform var(--transition-base);
}

.age-rating-hero:hover {
    transform: scale(1.05);
}

/* Hero 游戏Logo */
.hero-game-logo {
    position: absolute;
    top: 20px;
    right: 14px;
    z-index: 10;
    width: 180px;
    height: 120px;
    object-fit: contain;
}

/* Hero 区域下载按钮 */
.hero-actions {
    position: absolute;
    bottom: 6%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: flex-start;
    gap: 28px;
    justify-content: center;
}

.hero-download {
    display: flex;
    flex-direction: column;
    gap: 14px;
    justify-content: center;
}

.hero-download-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all var(--transition-base);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 160px;
    justify-content: center;
    white-space: nowrap;
}

.hero-download-btn.ios {
    background: #f5f5f7;
}

.hero-download-btn.ios:hover {
    background: #e5e5ea;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.hero-download-btn.ios .btn-icon {
    width: 28px;
    height: 28px;
}

.hero-download-btn.ios .btn-text {
    color: #2c2c2c;
}

.hero-download-btn.android {
    background: #f5f5f7;
}

.hero-download-btn.android:hover {
    background: #e5e5ea;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.hero-download-btn.android .btn-icon {
    width: 28px;
    height: 28px;
}

.hero-download-btn.android .btn-text {
    color: #2c2c2c;
}

.hero-download-btn .btn-icon {
    flex-shrink: 0;
}

/* Hero QR Code Section */
.hero-qrcode {
    display: flex;
    gap: 18px;
    justify-content: center;
}

.qrcode-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.qrcode-img {
    width: 136px;
    height: 136px;
    border-radius: 8px;
    background: white;
    padding: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.qrcode-label {
    font-size: 0.85rem;
    color: white;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Court Lines Background */
.court-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 15% 20%, rgba(255, 182, 193, 0.08) 0%, transparent 30%),
        radial-gradient(circle at 85% 80%, rgba(152, 216, 200, 0.08) 0%, transparent 30%),
        radial-gradient(circle at 50% 50%, rgba(255, 229, 180, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* ========================================
   Features Section - 游戏特色 (卡片堆叠效果)
   ======================================== */
.features {
    padding: 2rem var(--spacing-md);
    background: linear-gradient(180deg, #FFF8F0 0%, #FFE4D6 50%, #FFF8F0 100%);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 30%, rgba(255, 182, 193, 0.1) 0%, transparent 40%),
                      radial-gradient(circle at 80% 70%, rgba(152, 216, 200, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.features-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.features-title-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: linear-gradient(135deg, #FFB347 0%, #FFCC99 100%);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 179, 71, 0.3);
}

.features-title-badge .title-line {
    width: 30px;
    height: 3px;
    background: white;
    border-radius: 2px;
    position: relative;
}

.features-title-badge .title-line::before,
.features-title-badge .title-line::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.features-title-badge .title-line::before {
    left: -12px;
}

.features-title-badge .title-line::after {
    right: -12px;
}

.features-title-badge .section-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* 卡片展示区 */
.features-showcase {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    position: relative;
    z-index: 1;
    min-height: 500px;
}

/* 箭头按钮 */
.arrow-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: white;
    color: #666;
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.arrow-btn svg {
    width: 24px;
    height: 24px;
}

.arrow-btn:hover {
    background: linear-gradient(135deg, #FFB347 0%, #FFCC99 100%);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 179, 71, 0.4);
}

.arrow-btn:active {
    transform: scale(0.95);
}

/* 卡片容器 */
.cards-container {
    position: relative;
    width: 320px;
    height: 543px;
    perspective: 1200px;
}

/* 单张卡片 */
.feature-card {
    position: absolute;
    width: 280px;
    height: 474px;
    left: 50%;
    top: 50%;
    margin-left: -140px;
    margin-top: -237px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.card-frame {
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 4px solid white;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* 上一张卡片 - 左侧 */
.feature-card.prev {
    transform: translateX(-180px) scale(0.75) rotateY(25deg);
    opacity: 0.6;
    z-index: 1;
    filter: brightness(0.9);
}

/* 当前卡片 - 中间 */
.feature-card.active {
    transform: translateX(0) scale(1) rotateY(0deg);
    opacity: 1;
    z-index: 3;
}

.feature-card.active .card-frame {
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25), 0 0 0 4px rgba(255, 179, 71, 0.3);
}

/* 下一张卡片 - 右侧 */
.feature-card.next {
    transform: translateX(180px) scale(0.75) rotateY(-25deg);
    opacity: 0.6;
    z-index: 1;
    filter: brightness(0.9);
}

/* 隐藏的卡片 */
.feature-card.hidden {
    transform: translateX(0) scale(0.6);
    opacity: 0;
    z-index: 0;
    pointer-events: none;
}

/* 文字说明区域 */
.feature-caption-area {
    text-align: center;
    margin-top: var(--spacing-md);
    position: relative;
    z-index: 1;
    min-height: 80px;
}

.caption-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FFB347 0%, #FFCC99 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    box-shadow: 0 4px 15px rgba(255, 179, 71, 0.3);
}

.caption-text {
    color: #4A5568;
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
}

/* 底部指示点 */
.screenshot-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: var(--spacing-md);
    position: relative;
    z-index: 1;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all var(--transition-base);
}

.dot.active {
    background: linear-gradient(135deg, #FFB347 0%, #FFCC99 100%);
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255, 179, 71, 0.6);
}

/* 响应式 */
@media (max-width: 768px) {
    .features-showcase {
        min-height: 410px;
        gap: var(--spacing-sm);
    }

    .cards-container {
        width: 260px;
        height: 440px;
    }

    .feature-card {
        width: 220px;
        height: 371px;
        margin-left: -110px;
        margin-top: -186px;
    }

    .feature-card.prev {
        transform: translateX(-130px) scale(0.7) rotateY(20deg);
    }

    .feature-card.next {
        transform: translateX(130px) scale(0.7) rotateY(-20deg);
    }

    .arrow-btn {
        width: 40px;
        height: 40px;
    }

    .arrow-btn svg {
        width: 20px;
        height: 20px;
    }

    .caption-text {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .features-showcase {
        min-height: 340px;
    }

    .cards-container {
        width: 220px;
        height: 371px;
    }

    .feature-card {
        width: 180px;
        height: 302px;
        margin-left: -90px;
        margin-top: -151px;
    }

    .feature-card.prev {
        transform: translateX(-100px) scale(0.65) rotateY(15deg);
    }

    .feature-card.next {
        transform: translateX(100px) scale(0.65) rotateY(-15deg);
    }

    .arrow-btn {
        width: 36px;
        height: 36px;
    }

    .feature-caption-area {
        padding: 0 var(--spacing-sm);
    }
}

/* ========================================
   Game Intro Section - 游戏介绍
   ======================================== */
.game-intro {
    padding: 2rem var(--spacing-md);
    background: linear-gradient(180deg, #F0F8FF 0%, #E0F4F8 50%, #F0F8FF 100%);
    position: relative;
    overflow: hidden;
}

.game-intro::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 15% 25%, rgba(126, 200, 227, 0.15) 0%, transparent 40%),
                      radial-gradient(circle at 85% 75%, rgba(152, 216, 200, 0.15) 0%, transparent 40%);
    pointer-events: none;
}

.intro-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
    z-index: 1;
}

.intro-title-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: linear-gradient(135deg, #7EC8E3 0%, #98D8C8 100%);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(126, 200, 227, 0.3);
}

.intro-title-badge .title-line {
    width: 30px;
    height: 3px;
    background: white;
    border-radius: 2px;
    position: relative;
}

.intro-title-badge .title-line::before,
.intro-title-badge .title-line::after {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.intro-title-badge .title-line::before {
    left: -12px;
}

.intro-title-badge .title-line::after {
    right: -12px;
}

.intro-title-badge .section-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.intro-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.intro-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    border: 2px solid rgba(126, 200, 227, 0.3);
}

.intro-lead {
    font-size: 1.15rem;
    color: #4A5568;
    text-align: center;
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.intro-lead strong {
    color: #5BB5D9;
    font-weight: 700;
}

.intro-features {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.intro-feature-item {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    padding: var(--spacing-sm) var(--spacing-md);
    background: linear-gradient(135deg, rgba(126, 200, 227, 0.1) 0%, rgba(152, 216, 200, 0.1) 100%);
    border-radius: var(--radius-md);
}

.intro-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.intro-feature-text {
    color: #4A5568;
    line-height: 1.6;
    font-size: 0.95rem;
}

.intro-feature-text strong {
    color: #4A90A4;
}

.intro-description {
    text-align: center;
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-md);
    background: linear-gradient(135deg, rgba(255, 229, 180, 0.3) 0%, rgba(255, 182, 193, 0.2) 100%);
    border-radius: var(--radius-md);
}

.intro-description p {
    color: #4A5568;
    line-height: 1.8;
    margin-bottom: var(--spacing-xs);
}

.intro-description p:last-child {
    margin-bottom: 0;
}

.intro-description strong {
    color: #FFB347;
    font-weight: 700;
}

.intro-footer {
    text-align: center;
    padding-top: var(--spacing-sm);
    border-top: 2px dashed rgba(126, 200, 227, 0.3);
}

.intro-footer p {
    color: #5BB5D9;
    font-weight: 600;
    font-size: 1.05rem;
    margin: var(--spacing-xs) 0;
}

.intro-emoji {
    font-size: 1.5rem;
    margin: 0 var(--spacing-xs);
}

/* 响应式 */
@media (max-width: 768px) {
    .intro-title-badge {
        padding: 0.6rem 1.5rem;
    }

    .intro-title-badge .section-title {
        font-size: 1.2rem;
    }

    .intro-title-badge .title-line {
        width: 20px;
    }

    .intro-card {
        padding: var(--spacing-md);
    }

    .intro-lead {
        font-size: 1rem;
    }

    .intro-feature-item {
        padding: var(--spacing-sm);
    }

    .intro-feature-text {
        font-size: 0.9rem;
    }
}

/* ========================================
   Download Section
   ======================================== */
.download {
    padding: var(--spacing-xl) var(--spacing-md);
    background: linear-gradient(135deg, #FFE5B4 0%, #FFB6C1 50%, #98D8C8 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.download-description {
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: var(--spacing-lg);
    font-weight: 500;
}

.download-buttons-large {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    background: white;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: 20px;
    text-decoration: none;
    color: #333;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
    min-width: 240px;
    position: relative;
    z-index: 1;
}

.download-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, white 0%, rgba(255, 255, 255, 0.95) 100%);
}

.btn-icon-large {
    font-size: 2.5rem;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-label {
    font-size: 0.9rem;
    color: #666;
}

.btn-platform {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
}

/* ========================================
   Footer
   ======================================== */
.footer {
    background: linear-gradient(135deg, #4A90A4 0%, #5BB5D9 100%);
    color: white;
    padding: var(--spacing-lg) var(--spacing-md);
}

.footer-content {
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: var(--spacing-sm);
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

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

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

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

@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

@keyframes gentle-wave {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-5px) rotate(5deg);
    }
    75% {
        transform: translateY(-5px) rotate(-5deg);
    }
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
    /* 导航栏响应式 */
    .navbar-logo {
        gap: 8px;
    }

    .nav-logo-icon {
        width: 32px;
        height: 32px;
    }

    .nav-game-title {
        font-size: 1rem;
    }

    .nav-tagline {
        font-size: 0.75rem;
    }

    .navbar-download-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: var(--spacing-md);
        box-shadow: var(--shadow-md);
        transform: translateY(-150%);
        transition: transform var(--transition-base);
        gap: var(--spacing-sm);
    }

    .nav-links.active {
        transform: translateY(0);
    }

    .nav-links li {
        text-align: center;
    }

    .nav-links a {
        display: block;
        padding: var(--spacing-sm);
    }

    .hero {
        padding-top: 120px;
    }

    .hero-actions {
        bottom: 5%;
        gap: 14px;
        flex-direction: column;
        align-items: center;
    }

    .hero-download {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }

    .hero-download-btn {
        min-width: 160px;
        padding: 12px 22px;
        font-size: 1rem;
        white-space: nowrap;
    }

    .hero-qrcode {
        gap: 12px;
    }

    .qrcode-img {
        width: 96px;
        height: 96px;
        padding: 4px;
    }

    .shuttlecock {
        font-size: 5rem;
    }

    .features-grid,
    .about-features,
    .screenshots-grid {
        grid-template-columns: 1fr;
    }

    .download-buttons-large {
        flex-direction: column;
        align-items: center;
    }

    .download-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }

    .about-card {
        padding: var(--spacing-md);
    }

    .about-heading {
        font-size: 1.5rem;
    }

    .about-description {
        font-size: 1rem;
    }

    .about-feature-item {
        padding: var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    .game-title {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .btn {
        padding: var(--spacing-sm);
        font-size: 1rem;
    }

    .hero-actions {
        bottom: 4%;
        width: calc(100% - 24px);
        --mobile-qr-size: 82px;
        --mobile-qr-gap: 12px;
        --mobile-qr-total: calc(var(--mobile-qr-size) * 2 + var(--mobile-qr-gap));
    }

    .hero-download {
        width: var(--mobile-qr-total);
        flex-direction: column;
        align-items: center;
    }

    .hero-download-btn {
        width: 100%;
        box-sizing: border-box;
        min-width: 140px;
        padding: 10px 12px;
        font-size: 0.9rem;
        text-align: center;
    }

    .hero-qrcode {
        width: var(--mobile-qr-total);
        gap: var(--mobile-qr-gap);
        justify-content: space-between;
    }

    .qrcode-img {
        width: var(--mobile-qr-size);
        height: var(--mobile-qr-size);
    }

    .qrcode-label {
        font-size: 0.78rem;
    }
}
/* ========================================
   Footer Compliance Section
   ======================================== */
.footer {
    background: linear-gradient(135deg, #4A90A4 0%, #5BB5D9 100%);
    color: white;
    padding: var(--spacing-md) var(--spacing-md);
}

.footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

/* 适龄提示 */
.age-rating-section {
    margin-bottom: 0;
}

.age-rating-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: transform var(--transition-base);
    padding: var(--spacing-xs);
    border-radius: var(--radius-md);
}

.age-rating-icon:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 0.1);
}

.age-rating-img {
    width: 62px;
    height: 81px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    display: block;
}

/* 合规协议链接 */
.compliance-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.3rem;
    font-size: 0.8rem;
}

.compliance-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.compliance-links a:hover {
    color: #FFE5B4;
    text-decoration: underline;
}

.divider {
    opacity: 0.5;
}

/* 备案信息 */
.beian-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.75rem;
    text-align: center;
}

.beian-item {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.3rem;
}

.beian-link {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.beian-link:hover {
    color: #FFE5B4;
}

.beian-icon {
    font-size: 0.9rem;
}

/* 游戏出版信息 */
.publish-info {
    font-size: 0.75rem;
    text-align: center;
    opacity: 0.85;
}

/* 投诉邮箱 */
.contact-email {
    font-size: 0.75rem;
}

.contact-email a {
    color: #FFE5B4;
    text-decoration: none;
}

.contact-email a:hover {
    text-decoration: underline;
}

/* 健康游戏忠告 */
.health-notice {
    text-align: center;
    font-size: 0.7rem;
    line-height: 1.5;
    opacity: 0.8;
    max-width: 600px;
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    background: rgba(0, 0, 0, 0.1);
}

.health-notice p {
    margin: 0;
}

/* 页脚品牌信息 */
.footer-content {
    text-align: center;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: var(--spacing-xs);
}

.footer-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

/* 二维码 */
.qr-section {
    margin-top: var(--spacing-md);
    text-align: center;
}

.qr-code {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-sm);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.qr-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
}

/* 备案图标 */
.beian-img {
    width: 24px;
    height: 24px;
    vertical-align: middle;
    border-radius: 0;
    border: none;
}

/* ========================================
   Age Rating Modal
   ======================================== */
.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    backdrop-filter: blur(5px);
}

.age-modal.active {
    display: flex;
}

.age-modal-content {
    background: white;
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    animation: modalSlideIn 0.3s ease;
    box-shadow: var(--shadow-lg);
}

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

.age-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md);
    border-bottom: 1px solid #eee;
    background: linear-gradient(135deg, #7EC8E3 0%, #98D8C8 100%);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.age-modal-header h3 {
    margin: 0;
    color: white;
    font-size: 1.3rem;
}

.age-modal-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background var(--transition-fast);
}

.age-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.age-modal-body {
    padding: var(--spacing-md);
}

.age-modal-body p {
    margin-bottom: var(--spacing-sm);
    line-height: 1.8;
    color: #333;
}

.age-modal-body p:last-child {
    margin-bottom: 0;
}

/* ========================================
   Responsive Footer
   ======================================== */
@media (max-width: 768px) {
    .compliance-links,
    .beian-item,
    .publish-info {
        font-size: 0.8rem;
    }
    
    .health-notice {
        font-size: 0.75rem;
    }
    
    .age-modal-content {
        max-height: 70vh;
    }
}

/* ========================================
   Additional Enhancements
   ======================================== */

/* Smooth scroll behavior */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: none;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background: var(--primary-color);
    color: white;
}
