:root {
    --primary: #ff4ecd;
    --primary-dark: #d61a9e;
    --secondary: #7c3aed;
    --accent: #00d4ff;
    --accent-glow: rgba(0, 212, 255, 0.4);
    --bg-dark: #0a0a12;
    --bg-card: rgba(20, 20, 40, 0.7);
    --bg-card-border: rgba(255, 78, 205, 0.2);
    --text: #f0f0f5;
    --text-muted: #a0a0b8;
    --gold: #ffd700;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background particles canvas */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary), var(--secondary));
    border-radius: 4px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 12px 24px;
    background: transparent;
    backdrop-filter: blur(0);
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 18, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 78, 205, 0.15);
}

.navbar.menu-open {
    background: rgba(10, 10, 18, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 78, 205, 0.15);
}

.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo img {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(255, 78, 205, 0.4);
}

.nav-logo span {
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width 0.3s;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(255, 78, 205, 0.35);
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(255, 78, 205, 0.5);
}

.nav-mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,18,0.3) 0%, rgba(10,10,18,0.6) 50%, var(--bg-dark) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 120px 24px 60px;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 18px;
    border-radius: 20px;
    background: rgba(255, 78, 205, 0.15);
    border: 1px solid rgba(255, 78, 205, 0.3);
    color: var(--primary);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease;
}

.hero-badge .pulse {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 16px;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.hero h1 .gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 50%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-muted);
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.3s both;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat .num {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    background: linear-gradient(135deg, var(--gold), #ffaa00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat .label {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    position: relative;
    animation: fadeInUp 0.8s ease 0.4s both;
}

/* QR code tooltip for hero download button */
.qr-tooltip {
    position: absolute;
    top: auto;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: #fff;
    border-radius: 14px;
    padding: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 60;
    pointer-events: none;
}

.qr-tooltip.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.qr-tooltip::after {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 14px;
    height: 14px;
    background: #fff;
    border-radius: 3px;
}

.qr-tooltip p {
    margin-top: 10px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #555;
    white-space: nowrap;
    text-align: center;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    border-radius: 30px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 25px rgba(255, 78, 205, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary::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;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(255, 78, 205, 0.55);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 36px;
    border-radius: 30px;
    background: transparent;
    color: var(--text);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid rgba(255, 78, 205, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(255, 78, 205, 0.1);
    transform: translateY(-3px);
}

.hero-icon {
    margin-top: 40px;
    animation: fadeInUp 0.8s ease 0.5s both;
}

.hero-icon img {
    width: 100px;
    height: 100px;
    border-radius: 22px;
    box-shadow: 0 0 40px rgba(255, 78, 205, 0.35);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Section Common */
section {
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    margin-bottom: 48px;
}

.section-title h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 900;
    margin-bottom: 10px;
}

.section-title h2 .gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Intro Section */
.intro {
    padding: 80px 0;
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.intro-media {
    position: relative;
}

.intro-media .main-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(124, 58, 237, 0.25);
    border: 1px solid rgba(255, 78, 205, 0.15);
}

.intro-media .float-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--bg-card-border);
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.float-card .tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 10px;
    background: rgba(255, 78, 205, 0.15);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.float-card .value {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--gold);
}

.intro-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.intro-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.intro-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.intro-tag {
    padding: 6px 14px;
    border-radius: 20px;
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid rgba(124, 58, 237, 0.25);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 500;
}

/* Guide Section */
.guide {
    padding: 80px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 212, 255, 0.04) 50%, transparent 100%);
}

.guide-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.guide-tab {
    padding: 10px 28px;
    border-radius: 30px;
    border: 1px solid rgba(255, 78, 205, 0.25);
    background: rgba(20, 20, 40, 0.6);
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.guide-tab:hover {
    border-color: rgba(255, 78, 205, 0.5);
    color: var(--text);
}

.guide-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(255, 78, 205, 0.35);
}

.guide-panel {
    display: none;
}

.guide-panel.active {
    display: block;
    animation: fadeInUp 0.5s ease both;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.guide-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--bg-card-border);
    border-radius: 16px;
    padding: 22px;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.guide-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.guide-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 78, 205, 0.35);
    box-shadow: 0 12px 30px rgba(124, 58, 237, 0.18);
}

.guide-card:hover::before {
    opacity: 1;
}

.guide-num {
    font-size: 1.6rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    line-height: 1;
}

.guide-card h4 {
    font-size: 1.02rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.guide-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.guide-class-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
}

.guide-class-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--bg-card-border);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}

.guide-class-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 212, 255, 0.35);
    box-shadow: 0 12px 30px rgba(0, 212, 255, 0.12);
}

.guide-class-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.guide-class-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 78, 205, 0.15), rgba(124, 58, 237, 0.15));
    border: 1px solid rgba(255, 78, 205, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--primary);
}

.guide-class-title h4 {
    font-size: 1.1rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.guide-class-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 8px;
}

.guide-class-card p:last-child {
    margin-bottom: 0;
}

.guide-class-card .highlight {
    color: var(--gold);
    font-weight: 700;
}

.guide-rebirth {
    max-width: 860px;
    margin: 0 auto;
}

.guide-rebirth-intro {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 78, 205, 0.25);
    border-radius: 16px;
    padding: 22px;
    margin-bottom: 16px;
}

.guide-rebirth-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 6px 18px rgba(255, 78, 205, 0.35);
}

.guide-rebirth-intro h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.guide-rebirth-intro p {
    font-size: 0.87rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.guide-rebirth-block {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: 16px;
    padding: 22px;
    margin-bottom: 16px;
}

.guide-rebirth-block h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--primary);
}

.guide-rebirth-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.guide-rebirth-block li {
    position: relative;
    padding: 8px 0 8px 24px;
    font-size: 0.87rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.guide-rebirth-block li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 17px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

.guide-rebirth-block li strong {
    color: var(--text);
}

.guide-rebirth-tip {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: linear-gradient(135deg, rgba(255, 78, 205, 0.1), rgba(124, 58, 237, 0.1));
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 16px;
    padding: 18px 20px;
}

.guide-rebirth-tip-icon {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd700, #ff9d00);
    color: #1a1a1a;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.guide-rebirth-tip p {
    font-size: 0.87rem;
    color: var(--text);
    line-height: 1.8;
}

/* Welfare Section */
.welfare {
    padding: 80px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(124,58,237,0.05) 50%, transparent 100%);
}

.welfare-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.welfare-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--bg-card-border);
    border-radius: 20px;
    padding: 28px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.welfare-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: opacity 0.3s;
}

.welfare-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 78, 205, 0.35);
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.2);
}

.welfare-card:hover::before {
    opacity: 1;
}

.welfare-card .icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
    background: linear-gradient(135deg, rgba(255,78,205,0.2), rgba(124,58,237,0.2));
    border: 1px solid rgba(255, 78, 205, 0.2);
}

.welfare-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.welfare-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.welfare-card.highlight {
    border-color: rgba(255, 215, 0, 0.3);
    background: linear-gradient(135deg, rgba(255,215,0,0.05), rgba(124,58,237,0.08));
}

.welfare-card.highlight .icon {
    background: linear-gradient(135deg, rgba(255,215,0,0.2), rgba(255,170,0,0.2));
    border-color: rgba(255, 215, 0, 0.3);
}

/* Features Section */
.features {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.feature-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 9/16;
    cursor: pointer;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: scale(1.03);
}

.feature-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.feature-card:hover img {
    transform: scale(1.1);
}

.feature-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(10,10,18,0.9) 0%, rgba(10,10,18,0.2) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
}

.feature-card .overlay h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.feature-card .overlay p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Screenshots Section */
.screenshots {
    padding: 80px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(255,78,205,0.03) 50%, transparent 100%);
}

.screenshots-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 20px 0 30px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.screenshots-slider::-webkit-scrollbar {
    display: none;
}

.screenshot-item {
    flex: 0 0 auto;
    width: 280px;
    scroll-snap-align: center;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 78, 205, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
}

.screenshot-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(124, 58, 237, 0.25);
    border-color: rgba(255, 78, 205, 0.4);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
}

.screenshots-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.screenshots-dots .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 78, 205, 0.3);
    transition: all 0.3s;
    cursor: pointer;
}

.screenshots-dots .dot.active {
    width: 24px;
    border-radius: 4px;
    background: var(--primary);
}

/* Download CTA */
.download {
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.download-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(124,58,237,0.15) 0%, transparent 70%);
}

.download .container {
    position: relative;
    z-index: 1;
}

.download h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    margin-bottom: 16px;
}

.download p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto 36px;
}

.download-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.download-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.download-info-item {
    text-align: center;
}

.download-info-item .num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
}

.download-info-item .label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.download-qr {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 78, 205, 0.25);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.12);
}

.download-qr p {
    font-size: 0.8rem;
    margin: 0;
    color: var(--text-muted);
}

/* Footer */
footer {
    padding: 40px 24px;
    text-align: center;
    border-top: 1px solid rgba(255, 78, 205, 0.1);
    background: rgba(10, 10, 18, 0.8);
}

footer p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

footer .footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

footer .footer-links a:hover {
    color: var(--primary);
}

footer .footer-friends {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

footer .footer-friends .footer-friends-title {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
}

footer .footer-friends a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s;
}

footer .footer-friends a:hover {
    color: var(--accent);
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,0.9);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.lightbox-close:hover {
    background: rgba(255,255,255,0.2);
}

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(255, 78, 205, 0.45);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all 0.3s ease;
    z-index: 1500;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 32px rgba(255, 78, 205, 0.65);
}

/* Responsive */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-mobile-toggle {
        display: block;
    }

    .hero-stats {
        gap: 24px;
    }

    .intro-grid {
        grid-template-columns: 1fr;
    }

    .intro-media .float-card {
        right: 10px;
        bottom: -10px;
    }

    .welfare-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .feature-card {
        border-radius: 12px;
    }

    .feature-card .overlay {
        padding: 12px;
    }

    .feature-card .overlay h4 {
        font-size: 0.9rem;
        margin-bottom: 2px;
    }

    .feature-card .overlay p {
        font-size: 0.68rem;
        line-height: 1.4;
    }

    .guide-tabs {
        gap: 8px;
        margin-bottom: 28px;
    }

    .guide-tab {
        padding: 8px 18px;
        font-size: 0.82rem;
    }

    .guide-grid,
    .guide-class-grid {
        grid-template-columns: 1fr;
    }

    .screenshot-item {
        width: 240px;
    }

    .download-info {
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}
