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

:root {
    --primary-color: #1a1a1a;
    --secondary-color: #ff4444;
    --accent-color: #ffd700;
    --text-color: #ffffff;
    --bg-dark: #0d0d0d;
    --bg-light: #1a1a1a;
    --bg-card: #2a2a2a;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.header {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-color) 100%);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.header-content {
    text-align: center;
    margin-bottom: 15px;
}

.logo {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 5px;
}

.subtitle {
    font-size: 1rem;
    color: #888;
    margin-top: 5px;
}

.nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.nav a {
    color: var(--text-color);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.hero {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.9)), 
                url('1.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    text-align: center;
    padding: 40px 20px;
}

.hero-content h2 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 68, 68, 0.5);
    animation: fadeInUp 1s ease;
}

.hero-content p {
    font-size: 1.5rem;
    color: #ccc;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s both;
}

.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(45deg, var(--secondary-color), #ff6b6b);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.4s both;
    box-shadow: 0 4px 15px rgba(255, 68, 68, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 68, 68, 0.6);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
}

.about {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
    color: #ccc;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.02);
}

.gallery {
    padding: 80px 0;
    background-color: var(--bg-dark);
}

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

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.videos {
    padding: 80px 0;
    background-color: var(--bg-light);
}

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

.video-item {
    background-color: var(--bg-card);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.video-item h3 {
    padding: 20px;
    font-size: 1.2rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.video-item iframe {
    width: 100%;
    height: 250px;
    border: none;
}

.download {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-color) 100%);
}

.download-content {
    display: flex;
    justify-content: center;
}

.download-card {
    background: linear-gradient(145deg, var(--bg-card) 0%, #1f1f1f 100%);
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 68, 68, 0.1);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    overflow: hidden;
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color), var(--secondary-color));
}

.download-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #333;
}

.android-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3DDC84 0%, #2bb968 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(61, 220, 132, 0.3);
    animation: float 3s ease-in-out infinite;
}

.android-icon svg {
    width: 50px;
    height: 50px;
}

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

.app-info {
    text-align: left;
}

.app-info h3 {
    font-size: 2rem;
    margin-bottom: 5px;
    color: var(--accent-color);
    font-weight: 700;
}

.version {
    display: inline-block;
    padding: 4px 12px;
    background-color: rgba(255, 215, 0, 0.1);
    border: 1px solid var(--accent-color);
    border-radius: 15px;
    font-size: 0.85rem;
    color: var(--accent-color);
}

.download-desc {
    color: #bbb;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 10px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background-color: rgba(255, 68, 68, 0.1);
    transform: translateY(-3px);
}

.feature-icon {
    font-size: 2rem;
}

.feature-item span:last-child {
    font-size: 0.9rem;
    color: #999;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 50px;
    background: linear-gradient(45deg, var(--secondary-color), #ff6b6b);
    color: white;
    text-decoration: none;
    border-radius: 35px;
    font-size: 1.3rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 68, 68, 0.5);
    width: 100%;
    position: relative;
    overflow: hidden;
}

.btn-download::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-download:hover::before {
    left: 100%;
}

.btn-download:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(255, 68, 68, 0.7);
}

.download-svg {
    width: 24px;
    height: 24px;
    animation: bounce 2s infinite;
}

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

.download-meta {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.platform-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background-color: rgba(61, 220, 132, 0.1);
    border: 1px solid rgba(61, 220, 132, 0.3);
    border-radius: 20px;
    font-size: 0.9rem;
    color: #3DDC84;
}

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

.footer {
    background-color: var(--bg-dark);
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid #333;
}

.footer p {
    color: #666;
    margin-bottom: 10px;
}

.footer-note {
    font-size: 0.9rem;
    color: #444;
}

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

@media (max-width: 768px) {
    .logo {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 0.9rem;
    }

    .nav {
        gap: 10px;
    }

    .nav a {
        padding: 6px 12px;
        font-size: 0.9rem;
    }

    .hero {
        min-height: 60vh;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .btn-primary {
        padding: 12px 30px;
        font-size: 1rem;
    }

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

    .about-content {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .gallery-item img {
        height: 150px;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .video-item iframe {
        height: 200px;
    }

    .download-card {
        padding: 30px 20px;
    }

    .download-card h3 {
        font-size: 1.5rem;
    }

    .btn-download {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 15px 0;
    }

    .logo {
        font-size: 1.8rem;
    }

    .nav {
        gap: 8px;
    }

    .nav a {
        padding: 5px 10px;
        font-size: 0.8rem;
    }

    .hero-content h2 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

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

    .about-text p {
        font-size: 1rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item img {
        height: 200px;
    }

    .video-item iframe {
        height: 180px;
    }
}
