/* ========================================
   GameBox - More Games 落地页样式
   ======================================== */

:root {
    --color-bg: #0a0e14;
    --color-bg-alt: #11161e;
    --color-surface: #161c26;
    --color-surface-hover: #1e2633;
    --color-border: rgba(255, 255, 255, 0.06);
    --color-border-hover: rgba(255, 255, 255, 0.12);

    --color-primary: #6c5ce7;
    --color-primary-light: #a29bfe;
    --color-primary-dark: #5a4bd1;
    --color-primary-glow: rgba(108, 92, 231, 0.25);

    --color-accent: #00d68f;
    --color-accent-glow: rgba(0, 214, 143, 0.15);

    --color-text: #e4e8ee;
    --color-text-secondary: #8b95a5;
    --color-text-muted: #5a6575;

    --font-sans: 'Inter', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans SC', system-ui, -apple-system, sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);

    --container-max: 1200px;
    --header-height: 0px;
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul { list-style: none; }

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

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

.section__tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.section__title {
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-text);
}

.section__title span {
    color: var(--color-primary);
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: radial-gradient(ellipse at 50% 40%, rgba(108, 92, 231, 0.15) 0%, transparent 60%),
                var(--color-bg);
}

.hero__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 40px 24px;
}

.hero__icon {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-lg);
    object-fit: cover;
    box-shadow: 0 8px 40px rgba(108, 92, 231, 0.35),
                0 0 80px rgba(108, 92, 231, 0.15);
}

.hero__title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, #a29bfe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__tagline {
    font-size: 1.25rem;
    color: var(--color-text);
    font-weight: 500;
    max-width: 500px;
}

.hero__desc {
    font-size: 1rem;
    color: var(--color-text-secondary);
    max-width: 460px;
}

.hero__actions {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

/* ========================================
   Download Buttons
   ======================================== */
.btn--appstore,
.btn--googleplay {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 28px;
    border-radius: var(--radius-md);
    background: #000;
    color: #fff;
    min-height: 56px;
    min-width: 200px;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
    font-family: var(--font-sans);
}

.btn--appstore:hover,
.btn--googleplay:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.btn--appstore svg,
.btn--googleplay svg {
    flex-shrink: 0;
}

.btn__text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.btn__small {
    font-size: 0.625rem;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.btn__large {
    font-size: 1.125rem;
    font-weight: 600;
}

/* ========================================
   Features Section
   ======================================== */
.features {
    background: var(--color-bg-alt);
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    text-align: center;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary-glow);
}

.feature-card__icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card__title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--color-text);
}

.feature-card__desc {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--color-border);
}

.footer__text {
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

/* ========================================
   Scroll Animations
   ======================================== */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Responsive - Tablet (<= 1024px)
   ======================================== */
@media (max-width: 1024px) {
    .features__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========================================
   Responsive - Mobile (<= 768px)
   ======================================== */
@media (max-width: 768px) {
    .hero__title {
        font-size: 2rem;
    }

    .hero__icon {
        width: 96px;
        height: 96px;
    }

    .hero__tagline {
        font-size: 1.1rem;
    }

    .hero__actions {
        flex-direction: column;
        align-items: center;
    }

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

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

    .section__title {
        font-size: 1.75rem;
    }
}

/* ========================================
   Responsive - Small Mobile (<= 480px)
   ======================================== */
@media (max-width: 480px) {
    .hero__title {
        font-size: 1.5rem;
    }

    .hero__icon {
        width: 80px;
        height: 80px;
    }

    .hero__tagline {
        font-size: 1rem;
    }

    .hero__desc {
        font-size: 0.875rem;
    }

    .btn--appstore,
    .btn--googleplay {
        max-width: 100%;
    }
}
