/* 网易UU远程 主题样式 - 科技炫酷风格 */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #8b5cf6;
    --accent: #06b6d4;
    --bg-dark: #0a0a1a;
    --bg-card: rgba(99, 102, 241, 0.08);
    --bg-glass: rgba(255, 255, 255, 0.05);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --border-color: rgba(99, 102, 241, 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); }
}

.game-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: particle-fly 10s linear infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 30%; animation-delay: -2s; }
.particle:nth-child(3) { left: 50%; animation-delay: -4s; }
.particle:nth-child(4) { left: 70%; animation-delay: -6s; }
.particle:nth-child(5) { left: 90%; animation-delay: -8s; }

@keyframes particle-fly {
    0% { transform: translateY(100vh) scale(1); opacity: 0; }
    10% { opacity: 0.5; }
    90% { opacity: 0.5; }
    100% { transform: translateY(-100vh) scale(0.5); opacity: 0; }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(10, 10, 26, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
}

.logo-icon { font-size: 28px; }
.logo-text { font-size: 20px; font-weight: 700; }

.nav-links { display: flex; gap: 8px; }

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    transition: all 0.3s;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-primary);
    background: var(--bg-card);
}

/* Main Content */
.container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Hero Section */
.hero-section {
    padding: 120px 24px 60px;
    text-align: center;
}

.hero-content { max-width: 800px; margin: 0 auto; }

.controller-visual {
    position: relative;
    width: 280px;
    height: 220px;
    margin: 0 auto 40px;
}

.phone-frame {
    width: 120px;
    height: 220px;
    background: linear-gradient(145deg, #1a1a2e, #16213e);
    border-radius: 24px;
    border: 3px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.phone-screen {
    width: 90%;
    height: 85%;
    background: #0a0a1a;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.screen-game { text-align: center; }
.game-emoji { font-size: 48px; }
.fps-display {
    font-size: 12px;
    color: #22c55e;
    font-weight: bold;
    margin-top: 8px;
}

.touch-indicators { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 20px; }
.touch {
    width: 24px;
    height: 24px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    animation: touch-pulse 1.5s ease-in-out infinite;
}
.touch.t2 { animation-delay: -0.75s; }

@keyframes touch-pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.latency-badge {
    position: absolute;
    top: 20px;
    right: -20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 8px 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.5);
}

.latency-icon { font-size: 14px; }
.latency-value { font-size: 14px; font-weight: bold; }

.connection-rays {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 8px;
}

.ray {
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), transparent);
    border-radius: 2px;
    animation: ray-pulse 2s ease-in-out infinite;
}
.ray:nth-child(2) { animation-delay: -0.3s; }
.ray:nth-child(3) { animation-delay: -0.6s; }

@keyframes ray-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--text-primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 40px;
}

.hero-btns { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.6);
}

.btn-icon { width: 20px; height: 20px; }

/* Stats Section */
.stats-section { padding: 60px 24px; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 28px 20px;
    text-align: center;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.2);
}

.stat-icon { font-size: 32px; margin-bottom: 12px; }
.stat-value {
    font-size: 40px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-unit { font-size: 16px; color: var(--text-secondary); margin-top: -8px; }
.stat-label { font-size: 14px; color: var(--text-secondary); margin-top: 8px; }

/* Features Section */
.features-section { padding: 80px 24px; }
.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.feature-icon { font-size: 40px; margin-bottom: 16px; }
.feature-card h3 { font-size: 20px; margin-bottom: 12px; }
.feature-card p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; }

/* Footer */
.footer {
    padding: 40px 24px;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer-content p { color: var(--text-secondary); }
.footer-desc { font-size: 14px; margin-top: 8px; }

/* Download Page */
.download-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 24px;
}

.download-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 48px;
    max-width: 600px;
    width: 100%;
    text-align: center;
}

.download-card .icon { font-size: 80px; margin-bottom: 24px; }
.download-card h1 { font-size: 36px; margin-bottom: 16px; }

.version-info {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-glass);
    padding: 8px 20px;
    border-radius: 20px;
    margin-bottom: 24px;
}

.version-info span { color: var(--text-secondary); font-size: 14px; }

.app-info {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-bottom: 32px;
}

.app-version {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 32px;
}

.version-item {
    background: var(--bg-glass);
    padding: 16px;
    border-radius: 16px;
    text-align: center;
}

.version-item .label {
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.version-item .value {
    font-size: 16px;
    font-weight: 600;
}

.download-links { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    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(99, 102, 241, 0.4);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.6);
}

.back-link { margin-top: 24px; }
.back-link a { color: var(--text-secondary); text-decoration: none; transition: color 0.3s; }
.back-link a:hover { color: var(--text-primary); }

/* Suggestion Section */
.suggestion-section { padding: 60px 24px; }
.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.suggestion-links { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.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(99, 102, 241, 0.4);
}

.suggestion-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.6);
}

.suggestion-btn svg { width: 18px; height: 18px; }

/* 404 Page */
.error-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 24px;
}

.error-content { text-align: center; }
.error-code-display {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 24px;
}

.error-number {
    font-size: 80px;
    font-weight: 900;
    color: var(--primary);
}

.error-zero {
    font-size: 80px;
    font-weight: 900;
    color: var(--secondary);
}

.error-content h1 { font-size: 28px; margin-bottom: 12px; }
.error-content p { color: var(--text-secondary); margin-bottom: 32px; }

.error-decoration {
    display: flex;
    justify-content: center;
    gap: 40px;
    opacity: 0.3;
}

.deco-icon { font-size: 28px; animation: pulse 2s ease-in-out infinite; }
.deco-icon:nth-child(2) { animation-delay: -1s; }

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title { font-size: 42px; }
    .hero-subtitle { font-size: 18px; }
    .hero-desc { font-size: 14px; }
    .controller-visual { width: 220px; height: 180px; }
    .phone-frame { width: 100px; height: 180px; border-radius: 20px; }
    .game-emoji { font-size: 36px; }

    .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); }
    .download-links { flex-direction: column; gap: 12px; }
    .suggestion-links { flex-direction: column; }
    .error-number, .error-zero { font-size: 42px; }
}

@media (max-width: 480px) {
    .hero-section { padding: 100px 16px 40px; }
    .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; }
}
