:root {
    --pink: #ff6b9d;
    --orange: #ff8c42;
    --purple: #8b5cf6;
    --deep-purple: #5b21b6;
    --gold: #fbbf24;
    --dark: #1a1124;
    --darker: #0f0a1a;
    --card-bg: rgba(255, 255, 255, 0.06);
    --card-border: rgba(255, 255, 255, 0.1);
    --text: #f0e6ff;
    --text-dim: #b8a9d4;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;
    background: var(--darker);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ===== Custom Scrollbar ===== */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--darker);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--pink), var(--purple));
    border-radius: 3px;
}

/* ===== Floating Particles Background ===== */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}
.particle {
    position: absolute;
    border-radius: 50%;
    animation: floatUp linear infinite;
    opacity: 0;
}
@keyframes floatUp {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.2;
    }
    100% {
        transform: translateY(-10vh) scale(1);
        opacity: 0;
    }
}

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 2rem;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav.scrolled {
    background: rgba(15, 10, 26, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(139, 92, 246, 0.15);
    padding: 0.7rem 2rem;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.55rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--pink), var(--orange), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.1em;
}
.nav-logo img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    -webkit-text-fill-color: initial;
}
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}
.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    padding: 0.3rem 0;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--pink), var(--purple));
    transition: all 0.3s;
    transform: translateX(-50%);
    border-radius: 1px;
}
.nav-links a:hover {
    color: #fff;
}
.nav-links a:hover::after {
    width: 100%;
}
.nav-download-btn {
    padding: 0.55rem 1.6rem;
    border-radius: 50px;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(255, 107, 157, 0.35);
    text-decoration: none;
    display: inline-block;
}
.nav-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 107, 157, 0.5);
}
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    z-index: 1001;
}
.menu-toggle span {
    width: 26px;
    height: 2.5px;
    border-radius: 3px;
    background: #fff;
    transition: all 0.3s;
}
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 10, 26, 0.97);
    backdrop-filter: blur(20px);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    list-style: none;
}
.mobile-nav.active {
    display: flex;
}
.mobile-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1.45rem;
    font-weight: 600;
    transition: color 0.3s;
}
.mobile-nav a:hover {
    color: var(--pink);
}

/* ===== Section Common ===== */
section {
    position: relative;
    z-index: 1;
    padding: 6rem 2rem;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
}
.section-title {
    text-align: center;
    margin-bottom: 3.5rem;
}
.section-title h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--pink), var(--orange), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.8rem;
    letter-spacing: 0.05em;
}
.section-title p {
    color: var(--text-dim);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}
.section-title .divider {
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--pink), var(--purple));
    margin: 1rem auto;
    border-radius: 2px;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 5rem;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}
.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/banner/banner1e57b1b1ec9e4e5e1153857bbca6a0661781058943.jpg') center/cover no-repeat;
    opacity: 0.5;
    animation: heroBgScale 20s ease-in-out infinite alternate;
}
@keyframes heroBgScale {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% -20%, rgba(139, 92, 246, 0.45), transparent),
        radial-gradient(ellipse 50% 40% at 80% 80%, rgba(255, 107, 157, 0.35), transparent),
        radial-gradient(ellipse 50% 40% at 20% 80%, rgba(255, 140, 66, 0.3), transparent),
        linear-gradient(180deg, rgba(15, 10, 26, 0.7) 0%, rgba(26, 17, 36, 0.6) 100%);
}
.hero-content {
    text-align: center;
    max-width: 900px;
    position: relative;
    z-index: 1;
}
.hero-badge {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    background: rgba(255, 107, 157, 0.15);
    border: 1px solid rgba(255, 107, 157, 0.3);
    color: var(--pink);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 157, 0.3);
    }
    50% {
        box-shadow: 0 0 0 12px rgba(255, 107, 157, 0);
    }
}
.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    background: linear-gradient(135deg, #ff6b9d 0%, #ff8c42 30%, #fbbf24 50%, #ff6b9d 70%, #8b5cf6 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s ease-in-out infinite;
    letter-spacing: 0.08em;
}
@keyframes shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}
.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    color: var(--text-dim);
    margin-bottom: 2rem;
    font-weight: 400;
    line-height: 1.7;
}
.hero-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}
.hero-buttons .qr-trigger {
    display: flex;
}
.btn {
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.35s;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
}
.btn-primary {
    background: linear-gradient(135deg, var(--pink), var(--purple));
    color: #fff;
    border: 2px solid transparent;
    box-shadow: 0 8px 30px rgba(255, 107, 157, 0.4);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 107, 157, 0.55);
}
.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
}
.btn-outline:hover {
    border-color: var(--pink);
    background: rgba(255, 107, 157, 0.1);
    transform: translateY(-3px);
}
.btn .sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #fff;
    pointer-events: none;
    animation: sparkleFade 0.8s ease-out forwards;
}
@keyframes sparkleFade {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(3);
        opacity: 0;
    }
}
.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    margin-top: 3.5rem;
    flex-wrap: wrap;
}
.stat-item {
    text-align: center;
}
.stat-number {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--pink), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label {
    font-size: 0.85rem;
    color: var(--text-dim);
    margin-top: 0.2rem;
}

/* ===== About Section ===== */
.about {
    background: linear-gradient(180deg, var(--dark) 0%, rgba(26, 17, 36, 0.8) 100%);
    position: relative;
}
.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.3), transparent);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-visual {
    position: relative;
}
.about-visual .visual-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.25);
    border: 2px solid rgba(255, 107, 157, 0.2);
    aspect-ratio: 16/9;
    background: var(--card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-visual .visual-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-visual .decorative-ring {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid rgba(255, 107, 157, 0.3);
    pointer-events: none;
    animation: rotateRing 20s linear infinite;
}
.about-visual .decorative-ring:nth-child(2) {
    top: auto;
    right: auto;
    bottom: -30px;
    left: -30px;
    width: 70px;
    height: 70px;
    border-color: rgba(139, 92, 246, 0.3);
    animation-direction: reverse;
    animation-duration: 15s;
}
@keyframes rotateRing {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}
.about-text h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1.2rem;
    color: #fff;
}
.about-text p {
    color: var(--text-dim);
    font-size: 1.02rem;
    line-height: 1.85;
    margin-bottom: 1.5rem;
}
.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}
.tag {
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #c4b5fd;
    transition: all 0.3s;
    cursor: default;
}
.tag:hover {
    background: rgba(139, 92, 246, 0.25);
    border-color: rgba(139, 92, 246, 0.5);
    transform: translateY(-2px);
}

/* ===== Classes Section ===== */
.classes {
    background: linear-gradient(180deg, rgba(26, 17, 36, 0.8) 0%, var(--darker) 100%);
    position: relative;
}
.classes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.class-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
    cursor: default;
}
.class-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--pink), var(--purple), var(--orange));
    opacity: 0;
    transition: opacity 0.4s;
}
.class-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 107, 157, 0.3);
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.15);
}
.class-card:hover::before {
    opacity: 1;
}
.class-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    position: relative;
}
.class-icon::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.15);
    animation: rotateRing 12s linear infinite;
}
.class-icon.warrior {
    background: linear-gradient(135deg, #ff4444, #ff6b6b);
}
.class-icon.shield {
    background: linear-gradient(135deg, #4ecdc4, #44b8b0);
}
.class-icon.mage {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
}
.class-icon.ranger {
    background: linear-gradient(135deg, #ff8c42, #ffaa5e);
}
.class-card h4 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    color: #fff;
}
.class-card p {
    font-size: 0.88rem;
    color: var(--text-dim);
    line-height: 1.6;
}

/* ===== Features Section ===== */
.features {
    background: linear-gradient(180deg, var(--darker) 0%, var(--dark) 100%);
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}
.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.35s;
    position: relative;
    overflow: hidden;
}
.feature-card:hover {
    border-color: rgba(255, 140, 66, 0.3);
    box-shadow: 0 15px 40px rgba(255, 140, 66, 0.1);
    transform: translateY(-4px);
}
.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 107, 157, 0.08), transparent);
    pointer-events: none;
}
.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}
.feature-card h4 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.6rem;
    color: #fff;
}
.feature-card p {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.65;
}

/* ===== Rewards Section ===== */
.rewards {
    background: linear-gradient(180deg, var(--dark) 0%, var(--darker) 100%);
    position: relative;
}
.rewards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}
.reward-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    transition: all 0.35s;
    position: relative;
    overflow: hidden;
}
.reward-card:hover {
    border-color: rgba(251, 191, 36, 0.35);
    box-shadow: 0 15px 40px rgba(251, 191, 36, 0.08);
    transform: translateX(5px);
}
.reward-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--gold), var(--orange));
    opacity: 0;
    transition: opacity 0.35s;
}
.reward-card:hover::before {
    opacity: 1;
}
.reward-icon {
    font-size: 2.8rem;
    flex-shrink: 0;
    filter: drop-shadow(0 0 12px rgba(251, 191, 36, 0.3));
}
.reward-card h4 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.3rem;
}
.reward-card p {
    font-size: 0.9rem;
    color: var(--text-dim);
    line-height: 1.5;
}
.reward-highlight {
    color: var(--gold);
    font-weight: 700;
}

/* ===== Screenshots Section ===== */
.screenshots {
    background: linear-gradient(180deg, var(--darker) 0%, var(--dark) 100%);
}
.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}
.screenshot-item {
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    border: 2px solid var(--card-border);
    transition: all 0.35s;
    aspect-ratio: 16/9;
    background: var(--card-bg);
}
.screenshot-item:hover {
    border-color: rgba(139, 92, 246, 0.5);
    transform: scale(1.03);
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.2);
}
.screenshot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.screenshot-item:hover img {
    transform: scale(1.1);
}
.screenshot-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(15, 10, 26, 0.7));
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    transition: opacity 0.3s;
    opacity: 0;
}
.screenshot-item:hover .screenshot-overlay {
    opacity: 1;
}
.screenshot-overlay span {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ===== Lightbox ===== */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.lightbox.active {
    display: flex;
}
.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.lightbox-close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 2001;
    transition: opacity 0.3s;
}
.lightbox-close:hover {
    opacity: 0.7;
}

/* ===== Guide Section ===== */
.guide {
    background: linear-gradient(180deg, var(--dark) 0%, var(--darker) 100%);
}
.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.guide-card {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 20px;
    padding: 1.6rem;
    text-decoration: none;
    transition: all 0.35s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.guide-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(255, 107, 157, 0.06));
    opacity: 0;
    transition: opacity 0.35s ease;
}
.guide-card:hover {
    border-color: rgba(139, 92, 246, 0.35);
    box-shadow: 0 12px 32px rgba(139, 92, 246, 0.12);
    transform: translateY(-3px);
}
.guide-card:hover::before {
    opacity: 1;
}
.guide-card-icon {
    font-size: 2.4rem;
    flex-shrink: 0;
    line-height: 1;
}
.guide-card-content h4 {
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
}
.guide-card-content p {
    color: var(--text-dim);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.7rem;
}
.guide-card-tag {
    display: inline-block;
    font-size: 0.75rem;
    padding: 0.2rem 0.7rem;
    border-radius: 99px;
    background: rgba(139, 92, 246, 0.15);
    color: var(--purple);
    font-weight: 600;
}
@media (max-width: 768px) {
    .guide-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* ===== Download Section ===== */
.download {
    background: linear-gradient(180deg, var(--dark) 0%, var(--darker) 100%);
    position: relative;
    overflow: hidden;
}
.download::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(139, 92, 246, 0.12), transparent 70%);
    pointer-events: none;
}
.download-wrapper {
    position: relative;
    z-index: 1;
}
.download-platforms {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto 3rem;
}
.download-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}
.download-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(255, 107, 157, 0.06), transparent, rgba(139, 92, 246, 0.06), transparent);
    animation: conicSpin 8s linear infinite;
    pointer-events: none;
}
@keyframes conicSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
.download-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 107, 157, 0.35);
    box-shadow: 0 20px 50px rgba(139, 92, 246, 0.2);
}
.download-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 1.4rem;
    color: #fff;
    position: relative;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
/* iOS 图标 */
.icon-ios {
    background: linear-gradient(145deg, #1a1a1a 0%, #3a3a3a 50%, #1a1a1a 100%);
    box-shadow: 0 0 30px rgba(160, 160, 180, 0.3), 0 0 60px rgba(100, 100, 200, 0.15);
    color: #e8e8ed;
}
/* Android 图标 */
.icon-android {
    background: linear-gradient(145deg, #1b5e20 0%, #3ddc84 50%, #a4c639 100%);
    box-shadow: 0 0 30px rgba(61, 220, 132, 0.35), 0 0 60px rgba(61, 220, 132, 0.15);
    color: #fff;
}
/* 悬停时图标放大 + 光晕增强 */
.download-card:hover .icon-ios {
    box-shadow: 0 0 40px rgba(160, 160, 180, 0.5), 0 0 80px rgba(100, 100, 200, 0.25);
    transform: scale(1.08);
}
.download-card:hover .icon-android {
    box-shadow: 0 0 40px rgba(61, 220, 132, 0.55), 0 0 80px rgba(61, 220, 132, 0.25);
    transform: scale(1.08);
}
.download-card-icon::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.15);
    animation: rotateRing 10s linear infinite;
    pointer-events: none;
}
.download-card:hover .download-card-icon::after {
    border-color: rgba(255, 255, 255, 0.3);
    animation-duration: 5s;
}
.download-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
}
.download-card > p {
    color: var(--text-dim);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}
.download-version {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
    margin-bottom: 1.5rem;
}
.btn-download-platform {
    display: inline-block;
    width: 100%;
    max-width: 260px;
    padding: 0.85rem 1.5rem;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.35s;
    letter-spacing: 0.04em;
    color: #fff;
}
.btn-download-ios {
    background: linear-gradient(135deg, #636366, #48484a);
    box-shadow: 0 6px 24px rgba(99, 99, 102, 0.35);
}
.btn-download-ios:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(99, 99, 102, 0.5);
}
.btn-download-android {
    background: linear-gradient(135deg, #3ddc84, #2db566);
    box-shadow: 0 6px 24px rgba(61, 220, 132, 0.35);
}
.btn-download-android:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(61, 220, 132, 0.5);
}

/* Download QR */
.download-qr-wrapper {
    max-width: 400px;
    margin: 0 auto 3rem;
}
.download-qr-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s;
}
.download-qr-card:hover {
    border-color: rgba(139, 92, 246, 0.35);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.15);
    transform: translateY(-4px);
}
.download-qr-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.4rem;
}
.download-qr-card > p {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}
.download-qr-card img {
    display: block;
    width: 180px;
    height: 180px;
    margin: 0 auto;
    border-radius: 12px;
    padding: 8px;
    background: #fff;
    object-fit: contain;
}

/* Download Tips */
.download-tips {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}
.tip-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    transition: all 0.3s;
    align-items: flex-start;
}
.tip-item:hover {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}
.tip-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    line-height: 1;
}
.tip-item h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.3rem;
}
.tip-item p {
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.55;
}

/* Download Responsive */
@media (max-width: 768px) {
    .download-platforms {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    .download-tips {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

/* ===== Footer ===== */
footer {
    background: var(--darker);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 2rem 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto 3rem;
    text-align: left;
}
.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 700;
}
.footer-col p, .footer-col a {
    color: var(--text-dim);
    font-size: 0.88rem;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}
.footer-col a:hover {
    color: var(--pink);
}

/* ===== 友情链接 ===== */
.footer-friends {
    max-width: 900px;
    margin: 0 auto 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-friends h4 {
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    text-align: center;
}
.friends-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}
.friends-links a {
    display: inline-block;
    color: var(--text-dim);
    font-size: 0.8rem;
    text-decoration: none;
    padding: 0.3rem 0.9rem;
    border-radius: 99px;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    transition: all 0.3s ease;
}
.friends-links a:hover {
    color: var(--pink);
    border-color: rgba(255, 107, 157, 0.35);
    background: rgba(255, 107, 157, 0.08);
    transform: translateY(-1px);
}

.footer-bottom {
    color: var(--text-dim);
    font-size: 0.8rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--pink), var(--purple));
    border: none;
    cursor: pointer;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 6px 24px rgba(255, 107, 157, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.35s ease;
}
.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(255, 107, 157, 0.5);
}
@media (max-width: 768px) {
    .back-to-top {
        bottom: 1.2rem;
        right: 1.2rem;
        width: 42px;
        height: 42px;
    }
}

/* ===== QR Tooltip (Hero Button Hover) ===== */
.qr-trigger {
    position: relative;
    display: inline-block;
}
.qr-tooltip {
    position: absolute;
    bottom: calc(100% + 16px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(26, 17, 36, 0.97);
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 16px;
    padding: 1rem;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
    pointer-events: none;
}
.qr-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: rgba(26, 17, 36, 0.97);
}
.qr-tooltip img {
    display: block;
    width: 128px;
    height: 128px;
    border-radius: 8px;
    padding: 6px;
    background: #fff;
    object-fit: contain;
}
.qr-tooltip span {
    display: block;
    color: var(--text-dim);
    font-size: 0.75rem;
    margin-top: 0.5rem;
}
.qr-trigger:hover .qr-tooltip {
    opacity: 1;
    visibility: visible;
}

/* ===== Animations ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
.fade-in-delay-1 {
    transition-delay: 0.1s;
}
.fade-in-delay-2 {
    transition-delay: 0.2s;
}
.fade-in-delay-3 {
    transition-delay: 0.3s;
}
.fade-in-delay-4 {
    transition-delay: 0.4s;
}

/* ===== Rainbow Divider ===== */
.rainbow-divider {
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #ff6b9d, #ff8c42, #fbbf24, #34d399, #60a5fa, #8b5cf6, #ff6b9d);
    background-size: 200% 100%;
    animation: rainbowMove 4s linear infinite;
}
@keyframes rainbowMove {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .classes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .about-visual {
        order: -1;
    }
}
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .menu-toggle {
        display: flex;
    }
    .classes-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .rewards-grid {
        grid-template-columns: 1fr;
    }
    .screenshot-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-stats {
        gap: 1.5rem;
    }
    section {
        padding: 4rem 1.2rem;
    }
    .nav {
        padding: 0.8rem 1.2rem;
    }
    .nav-download-btn {
        font-size: 0.9rem;
        padding: 0.45rem 1.2rem;
    }
}
@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .hero-buttons .qr-trigger {
        width: 100%;
        max-width: 280px;
    }
    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    .classes-grid {
        grid-template-columns: 1fr;
    }
    .screenshot-grid {
        grid-template-columns: 1fr;
    }
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    .about-tags {
        justify-content: center;
    }
}
