/* 汽水音乐 主题样式 - 红色音乐主题 */
:root {
    --primary: #ff4757;
    --primary-dark: #ff3344;
    --secondary: #ff6b81;
    --accent: #ffa502;
    --bg-dark: #0a0a12;
    --bg-card: rgba(255, 71, 87, 0.08);
    --bg-glass: rgba(255, 255, 255, 0.05);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --border-color: rgba(255, 71, 87, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    min-height: 100vh;
    color: var(--text-primary);
    background: var(--bg-dark);
    overflow-x: hidden;
}

/* Animated Background */
.bg-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    top: -150px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    bottom: -100px;
    left: -100px;
    animation-delay: -7s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, var(--accent), var(--primary));
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 30px) scale(1.02); }
}

.music-notes {
    position: absolute;
    width: 100%;
    height: 100%;
}

.note {
    position: absolute;
    font-size: 24px;
    color: var(--primary);
    opacity: 0.3;
    animation: note-float 8s ease-in-out infinite;
}

.note-1 { left: 10%; top: 20%; animation-delay: 0s; }
.note-2 { left: 30%; top: 60%; animation-delay: -2s; }
.note-3 { left: 70%; top: 30%; animation-delay: -4s; }
.note-4 { left: 85%; top: 70%; animation-delay: -6s; }

@keyframes note-float {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.3; }
    50% { transform: translateY(-30px) rotate(15deg); opacity: 0.5; }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(10, 10, 18, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon {
    font-size: 28px;
    filter: drop-shadow(0 0 10px var(--primary));
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
    background: var(--bg-card);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 60px;
    position: relative;
    z-index: 1;
}

.hero-content {
    text-align: center;
    max-width: 800px;
}

.music-visual {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
}

.vinyl-disc {
    width: 160px;
    height: 160px;
    margin: 0 auto;
    background: linear-gradient(135deg, #1a1a1a 0%, #333 50%, #1a1a1a 100%);
    border-radius: 50%;
    position: relative;
    animation: spin 8s linear infinite;
    box-shadow: 0 0 40px rgba(255, 71, 87, 0.4);
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.disc-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid #fff;
}

.disc-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 28px;
}

.equalizer {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 6px;
    height: 60px;
    margin-top: -20px;
}

.bar {
    width: 8px;
    background: linear-gradient(to top, var(--primary), var(--secondary));
    border-radius: 4px;
    animation: eq 0.8s ease-in-out infinite;
}

.bar-1 { height: 30px; animation-delay: 0s; }
.bar-2 { height: 50px; animation-delay: 0.1s; }
.bar-3 { height: 40px; animation-delay: 0.2s; }
.bar-4 { height: 60px; animation-delay: 0.3s; }
.bar-5 { height: 35px; animation-delay: 0.4s; }

@keyframes eq {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.5); }
}

.hero-title {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 22px;
    color: var(--secondary);
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 8px 30px rgba(255, 71, 87, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 71, 87, 0.6);
}

.btn-icon, .download-icon {
    width: 20px;
    height: 20px;
}

/* Stats Section */
.stats-section {
    padding: 60px 24px;
    position: relative;
    z-index: 1;
}

.stats-grid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(255, 71, 87, 0.2);
}

.stat-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.stat-value {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary);
    display: inline;
}

.stat-unit {
    font-size: 20px;
    color: var(--primary);
    font-weight: 600;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 8px;
}

/* Features Section */
.features-section {
    padding: 80px 24px;
    position: relative;
    z-index: 1;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(255, 71, 87, 0.15);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Footer */
.footer {
    padding: 40px 24px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
}

.footer-content p {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-desc {
    margin-top: 8px;
    opacity: 0.7;
}

/* Download Page */
.download-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 60px;
    position: relative;
    z-index: 1;
}

.download-container {
    max-width: 600px;
    width: 100%;
}

.download-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 48px;
}

.app-info {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
}

.app-icon {
    position: relative;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vinyl-mini {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1a1a1a 0%, #333 50%, #1a1a1a 100%);
    border-radius: 50%;
    position: relative;
    animation: spin 8s linear infinite;
    box-shadow: 0 0 30px rgba(255, 71, 87, 0.4);
}

.vinyl-mini .disc-center {
    width: 25px;
    height: 25px;
}

.vinyl-mini .disc-label {
    font-size: 16px;
}

.pulse-rings {
    position: absolute;
    inset: -15px;
}

.pulse-ring {
    position: absolute;
    inset: 0;
    border: 2px solid var(--primary);
    border-radius: 50%;
    opacity: 0;
    animation: ring-pulse 2s ease-out infinite;
}

.pulse-ring:nth-child(2) { animation-delay: 1s; }

@keyframes ring-pulse {
    0% { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

.app-details h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
}

.app-desc {
    color: var(--text-secondary);
    font-size: 14px;
}

.app-version {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 24px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    margin-bottom: 32px;
}

.version-item {
    text-align: center;
}

.version-label {
    display: block;
    color: var(--text-secondary);
    font-size: 12px;
    margin-bottom: 4px;
}

.version-value {
    color: var(--primary);
    font-weight: 600;
    font-size: 16px;
}

.download-specs {
    margin-bottom: 24px;
}

.download-specs h3 {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    transition: all 0.3s;
}

.spec-item:hover {
    background: rgba(255, 71, 87, 0.1);
}

.spec-icon {
    font-size: 20px;
}

.spec-name {
    font-size: 14px;
    font-weight: 500;
}

.spec-version {
    font-size: 11px;
    color: var(--text-secondary);
    margin-left: auto;
}

.download-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 32px;
}

.feature-tag {
    padding: 8px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 13px;
    color: var(--primary);
}

.download-btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 8px 30px rgba(255, 71, 87, 0.4);
}

.download-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 71, 87, 0.6);
}

.download-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 24px;
}

.link-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.link-item:hover {
    color: var(--primary);
}

.back-home {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.back-home:hover {
    color: var(--primary);
}

.back-home svg {
    width: 18px;
    height: 18px;
}

/* 404 Page */
.error-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 60px;
    position: relative;
    z-index: 1;
}

.error-content {
    text-align: center;
    max-width: 600px;
}

.error-visual {
    position: relative;
    margin-bottom: 40px;
}

.error-disc {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto;
}

.disc-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle, var(--primary), transparent);
    opacity: 0.3;
    animation: pulse-bg 2s ease-in-out infinite;
}

@keyframes pulse-bg {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.5; }
}

.error-icon {
    font-size: 60px;
    position: relative;
    z-index: 2;
    display: block;
    filter: drop-shadow(0 0 20px var(--primary));
    animation: spin 10s linear infinite;
}

.broken-lines {
    position: absolute;
    inset: 0;
    z-index: 3;
}

.line {
    position: absolute;
    background: var(--primary);
    transform-origin: center;
}

.line-1 {
    width: 100%;
    height: 2px;
    top: 45%;
    left: 0;
    animation: crack 3s ease-in-out infinite;
}

.line-2 {
    width: 2px;
    height: 100%;
    left: 55%;
    top: 0;
    animation: crack 3s ease-in-out infinite reverse;
}

@keyframes crack {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.error-code-display {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.error-number {
    font-size: 56px;
    font-weight: 800;
    color: var(--primary);
}

.error-zero {
    font-size: 56px;
    font-weight: 800;
    color: var(--text-secondary);
}

.error-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.error-message {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.error-suggestions {
    margin-bottom: 50px;
}

.suggestion-title {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 16px;
}

.suggestion-links {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.suggestion-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 8px 30px rgba(255, 71, 87, 0.4);
}

.suggestion-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 71, 87, 0.6);
}

.suggestion-btn.btn-secondary {
    background: var(--bg-glass);
    border: 1px solid var(--border-color);
    box-shadow: none;
}

.suggestion-btn.btn-secondary:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 30px rgba(255, 71, 87, 0.2);
}

.suggestion-btn svg {
    width: 18px;
    height: 18px;
}

.error-decoration {
    display: flex;
    justify-content: center;
    gap: 40px;
    opacity: 0.3;
}

.deco-note {
    font-size: 28px;
    animation: note-float 4s ease-in-out infinite;
}

.deco-note:nth-child(2) { animation-delay: -1.3s; }
.deco-note:nth-child(3) { animation-delay: -2.6s; }

/* Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: 42px; }
    .hero-subtitle { font-size: 18px; }
    .hero-desc { font-size: 14px; }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .download-card { padding: 32px 24px; }
    .app-info { flex-direction: column; text-align: center; }
    .app-version { grid-template-columns: repeat(3, 1fr); }
    .specs-grid { grid-template-columns: 1fr; }
    .download-links { flex-direction: column; gap: 12px; }
    
    .suggestion-links { flex-direction: column; }
    .error-code-display .error-number,
    .error-code-display .error-zero { font-size: 42px; }
}

@media (max-width: 480px) {
    .hero-section { padding: 100px 16px 40px; }
    .music-visual { width: 160px; height: 160px; }
    .vinyl-disc { width: 120px; height: 120px; }
    .hero-title { font-size: 36px; }
    
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .stat-value { font-size: 32px; }
    
    .features-grid { grid-template-columns: 1fr; }
    .features-section { padding: 60px 16px; }
    .section-title { font-size: 28px; }
}
