:root {
    --bg-primary: #0f0f13;
    --bg-secondary: #1a1a24;
    --bg-card: #22222e;
    --accent-pink: #e84393;
    --accent-purple: #a855f7;
    --accent-gradient: linear-gradient(135deg, #e84393, #a855f7);
    --text-primary: #f0f0f5;
    --text-secondary: #9898a8;
    --text-muted: #5c5c6e;
    --border-color: #2e2e3e;
    --font-display: 'Zen Maru Gothic', 'Noto Sans SC', system-ui, sans-serif;
    --font-body: 'Noto Sans SC', system-ui, -apple-system, sans-serif;
    --max-width: 800px;
}

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

html {
    scroll-behavior: smooth;
}

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

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(15, 15, 19, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 900;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    gap: 28px;
}

.nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav a:hover {
    color: var(--text-primary);
}

.hero {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 50% 40%, rgba(168, 85, 247, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 30% 60%, rgba(232, 67, 147, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 560px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(48px, 10vw, 80px);
    font-weight: 900;
    line-height: 1.1;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
}

.hero-subtitle {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}

.hero-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: 32px;
}

.hero-desc strong {
    color: var(--text-primary);
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.feature-chip {
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    background: rgba(168, 85, 247, 0.12);
    color: var(--accent-purple);
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.version-section,
.download-section {
    padding: 80px 24px;
}

.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 40px;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.version-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    max-width: 520px;
    margin: 0 auto;
}

.version-loading {
    text-align: center;
    color: var(--text-muted);
    font-size: 14px;
    padding: 20px 0;
}

.version-row {
    display: flex;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.version-row:last-child {
    border-bottom: none;
}

.version-label {
    flex: 0 0 100px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
}

.version-value {
    flex: 1;
    font-size: 14px;
    color: var(--text-primary);
    line-height: 1.8;
}

.download-section {
    text-align: center;
    padding-bottom: 120px;
}

.download-buttons {
    margin-bottom: 16px;
}

.btn-download {
    display: inline-block;
    padding: 14px 48px;
    border-radius: 12px;
    background: var(--accent-gradient);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 24px rgba(232, 67, 147, 0.3);
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 32px rgba(232, 67, 147, 0.45);
}

.download-hint {
    font-size: 13px;
    color: var(--text-muted);
}

.footer {
    border-top: 1px solid var(--border-color);
    padding: 24px;
    text-align: center;
}

.footer-inner {
    font-size: 13px;
    color: var(--text-muted);
}

.footer a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.footer a:hover {
    color: var(--accent-purple);
}

.footer-sep {
    margin: 0 8px;
    opacity: 0.4;
}

.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 640px) {
    .nav { gap: 16px; }
    .nav a { font-size: 13px; }
    .hero { min-height: 70vh; padding: 100px 20px 60px; }
    .hero-desc { font-size: 15px; }
    .version-card { padding: 24px; }
    .version-label { flex: 0 0 80px; font-size: 13px; }
    .version-value { font-size: 13px; }
}
