Spaces:
Running
Running
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Hacker News 2035 - The Quantum Frontier</title> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
| <link rel="preconnect" href="https://fonts.googleapis.com"> | |
| <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> | |
| <link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Exo+2:wght@300;400;600&display=swap" rel="stylesheet"> | |
| <style> | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| :root { | |
| --primary-color: #ff6b35; | |
| --secondary-color: #00ffcc; | |
| --accent-color: #ff00ff; | |
| --bg-dark: #0a0a0f; | |
| --bg-medium: #1a1a2e; | |
| --bg-light: #2a2a3e; | |
| --text-primary: #ffffff; | |
| --text-secondary: #b8b8c8; | |
| --glow-color: #00ffcc; | |
| --neural-orange: #ff6b35; | |
| --quantum-purple: #8a2be2; | |
| --cyber-blue: #00bfff; | |
| } | |
| body { | |
| font-family: 'Exo 2', 'Segoe UI', system-ui, sans-serif; | |
| background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #0f0f1e 100%); | |
| color: var(--text-primary); | |
| min-height: 100vh; | |
| overflow-x: hidden; | |
| position: relative; | |
| animation: bgShift 20s ease-in-out infinite; | |
| } | |
| @keyframes bgShift { | |
| 0%, 100% { background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #0f0f1e 100%); } | |
| 33% { background: linear-gradient(135deg, #0a0a0f 0%, #2a1a3e 50%, #1e0f1e 100%); } | |
| 66% { background: linear-gradient(135deg, #0a0a0f 0%, #1a2e3e 50%, #0f1e1e 100%); } | |
| } | |
| /* Enhanced Animated Background */ | |
| #particles-canvas { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| z-index: -1; | |
| opacity: 0.4; | |
| } | |
| /* Matrix Rain Effect */ | |
| #matrix-canvas { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| z-index: -1; | |
| opacity: 0.1; | |
| pointer-events: none; | |
| } | |
| /* Enhanced Header */ | |
| header { | |
| background: rgba(26, 26, 46, 0.85); | |
| backdrop-filter: blur(25px) saturate(180%); | |
| border-bottom: 2px solid rgba(255, 107, 53, 0.4); | |
| padding: 1rem 2rem; | |
| position: sticky; | |
| top: 0; | |
| z-index: 1000; | |
| box-shadow: 0 8px 32px rgba(255, 107, 53, 0.15); | |
| animation: headerPulse 4s ease-in-out infinite; | |
| } | |
| @keyframes headerPulse { | |
| 0%, 100% { box-shadow: 0 8px 32px rgba(255, 107, 53, 0.15); } | |
| 50% { box-shadow: 0 8px 32px rgba(255, 107, 53, 0.25); } | |
| } | |
| .header-content { | |
| max-width: 1400px; | |
| margin: 0 auto; | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| flex-wrap: wrap; | |
| gap: 1rem; | |
| } | |
| .logo { | |
| display: flex; | |
| align-items: center; | |
| gap: 1rem; | |
| font-family: 'Orbitron', monospace; | |
| font-size: 1.5rem; | |
| font-weight: 900; | |
| color: var(--primary-color); | |
| text-shadow: 0 0 30px rgba(255, 107, 53, 0.8); | |
| animation: logoGlow 3s ease-in-out infinite; | |
| } | |
| @keyframes logoGlow { | |
| 0%, 100% { text-shadow: 0 0 30px rgba(255, 107, 53, 0.8); } | |
| 50% { text-shadow: 0 0 40px rgba(255, 107, 53, 1), 0 0 60px rgba(255, 107, 53, 0.5); } | |
| } | |
| .logo i { | |
| font-size: 2rem; | |
| animation: rocketFloat 3s ease-in-out infinite; | |
| } | |
| @keyframes rocketFloat { | |
| 0%, 100% { transform: translateY(0px) rotate(0deg); } | |
| 50% { transform: translateY(-10px) rotate(5deg); } | |
| } | |
| .nav-links { | |
| display: flex; | |
| gap: 2rem; | |
| align-items: center; | |
| flex-wrap: wrap; | |
| } | |
| .nav-link { | |
| color: var(--text-secondary); | |
| text-decoration: none; | |
| padding: 0.7rem 1.5rem; | |
| border-radius: 25px; | |
| transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); | |
| position: relative; | |
| overflow: hidden; | |
| font-weight: 500; | |
| } | |
| .nav-link::before { | |
| content: ''; | |
| position: absolute; | |
| top: 50%; | |
| left: 50%; | |
| width: 0; | |
| height: 0; | |
| background: radial-gradient(circle, rgba(0, 255, 204, 0.4), transparent); | |
| transition: all 0.5s ease; | |
| transform: translate(-50%, -50%); | |
| border-radius: 50%; | |
| } | |
| .nav-link:hover::before { | |
| width: 300px; | |
| height: 300px; | |
| } | |
| .nav-link:hover { | |
| color: var(--secondary-color); | |
| transform: translateY(-3px); | |
| text-shadow: 0 0 15px rgba(0, 255, 204, 0.7); | |
| border: 1px solid rgba(0, 255, 204, 0.3); | |
| } | |
| .user-panel { | |
| display: flex; | |
| align-items: center; | |
| gap: 1rem; | |
| } | |
| .neural-score { | |
| background: linear-gradient(135deg, var(--neural-orange), var(--accent-color)); | |
| padding: 0.7rem 1.5rem; | |
| border-radius: 30px; | |
| font-size: 0.9rem; | |
| font-weight: 600; | |
| display: flex; | |
| align-items: center; | |
| gap: 0.5rem; | |
| box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4); | |
| animation: neuralPulse 2s ease-in-out infinite; | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .neural-score::before { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: -100%; | |
| width: 100%; | |
| height: 100%; | |
| background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent); | |
| transition: left 0.6s; | |
| } | |
| .neural-score:hover::before { | |
| left: 100%; | |
| } | |
| @keyframes neuralPulse { | |
| 0%, 100% { | |
| box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4); | |
| transform: scale(1); | |
| } | |
| 50% { | |
| box-shadow: 0 8px 35px rgba(255, 107, 53, 0.7); | |
| transform: scale(1.02); | |
| } | |
| } | |
| .quantum-auth { | |
| background: rgba(0, 255, 204, 0.15); | |
| border: 2px solid var(--secondary-color); | |
| padding: 0.7rem 1.5rem; | |
| border-radius: 30px; | |
| cursor: pointer; | |
| transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); | |
| color: var(--secondary-color); | |
| font-weight: 600; | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .quantum-auth::before { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: -100%; | |
| width: 100%; | |
| height: 100%; | |
| background: linear-gradient(90deg, transparent, rgba(0, 255, 204, 0.2), transparent); | |
| transition: left 0.6s; | |
| } | |
| .quantum-auth:hover::before { | |
| left: 100%; | |
| } | |
| .quantum-auth:hover { | |
| background: rgba(0, 255, 204, 0.25); | |
| transform: scale(1.05) translateY(-2px); | |
| box-shadow: 0 10px 30px rgba(0, 255, 204, 0.5); | |
| text-shadow: 0 0 10px rgba(0, 255, 204, 0.7); | |
| } | |
| /* Enhanced Main Container */ | |
| .main-container { | |
| max-width: 1400px; | |
| margin: 2rem auto; | |
| padding: 0 2rem; | |
| display: grid; | |
| grid-template-columns: 1fr 350px; | |
| gap: 2rem; | |
| } | |
| /* Enhanced Stories Section */ | |
| .stories-section { | |
| background: rgba(42, 42, 62, 0.4); | |
| backdrop-filter: blur(15px) saturate(180%); | |
| border-radius: 25px; | |
| padding: 2rem; | |
| border: 2px solid rgba(255, 107, 53, 0.2); | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .stories-section::before { | |
| content: ''; | |
| position: absolute; | |
| top: -50%; | |
| left: -50%; | |
| width: 200%; | |
| height: 200%; | |
| background: conic-gradient(from 0deg, transparent, rgba(255, 107, 53, 0.1), transparent); | |
| animation: rotateBorder 10s linear infinite; | |
| z-index: -1; | |
| } | |
| @keyframes rotateBorder { | |
| 0% { transform: rotate(0deg); } | |
| 100% { transform: rotate(360deg); } | |
| } | |
| .section-header { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| margin-bottom: 2rem; | |
| padding-bottom: 1.5rem; | |
| border-bottom: 2px solid rgba(255, 107, 53, 0.3); | |
| } | |
| .section-title { | |
| font-family: 'Orbitron', monospace; | |
| font-size: 1.5rem; | |
| font-weight: 700; | |
| color: var(--primary-color); | |
| display: flex; | |
| align-items: center; | |
| gap: 0.8rem; | |
| text-shadow: 0 0 20px rgba(255, 107, 53, 0.5); | |
| } | |
| .filter-tabs { | |
| display: flex; | |
| gap: 0.8rem; | |
| } | |
| .filter-tab { | |
| padding: 0.8rem 1.5rem; | |
| background: rgba(255, 107, 53, 0.15); | |
| border: 2px solid rgba(255, 107, 53, 0.3); | |
| border-radius: 20px; | |
| cursor: pointer; | |
| transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); | |
| font-size: 0.9rem; | |
| font-weight: 600; | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .filter-tab::before { | |
| content: ''; | |
| position: absolute; | |
| top: 50%; | |
| left: 50%; | |
| width: 0; | |
| height: 0; | |
| background: radial-gradient(circle, rgba(255, 107, 53, 0.3), transparent); | |
| transition: all 0.4s ease; | |
| transform: translate(-50%, -50%); | |
| border-radius: 50%; | |
| } | |
| .filter-tab:hover::before { | |
| width: 200px; | |
| height: 200px; | |
| } | |
| .filter-tab:hover, | |
| .filter-tab.active { | |
| background: rgba(255, 107, 53, 0.4); | |
| transform: translateY(-3px); | |
| box-shadow: 0 8px 25px rgba(255, 107, 53, 0.3); | |
| border-color: rgba(255, 107, 53, 0.6); | |
| } | |
| /* Enhanced Story Items */ | |
| .story-item { | |
| background: rgba(26, 26, 46, 0.6); | |
| border-radius: 20px; | |
| padding: 1.5rem; | |
| margin-bottom: 1.5rem; | |
| border: 2px solid rgba(255, 107, 53, 0.15); | |
| transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); | |
| position: relative; | |
| overflow: hidden; | |
| animation: storySlideIn 0.6s ease-out; | |
| } | |
| @keyframes storySlideIn { | |
| from { | |
| opacity: 0; | |
| transform: translateX(-50px); | |
| } | |
| to { | |
| opacity: 1; | |
| transform: translateX(0); | |
| } | |
| } | |
| .story-item::before { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: -100%; | |
| width: 100%; | |
| height: 100%; | |
| background: linear-gradient(90deg, transparent, rgba(0, 255, 204, 0.15), transparent); | |
| transition: left 0.6s; | |
| } | |
| .story-item:hover::before { | |
| left: 100%; | |
| } | |
| .story-item:hover { | |
| transform: translateX(8px) scale(1.02); | |
| border-color: rgba(0, 255, 204, 0.4); | |
| box-shadow: 0 10px 40px rgba(0, 255, 204, 0.2); | |
| background: rgba(26, 26, 46, 0.8); | |
| } | |
| .story-header { | |
| display: flex; | |
| align-items: flex-start; | |
| gap: 1.5rem; | |
| } | |
| .vote-section { | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| gap: 0.8rem; | |
| min-width: 60px; | |
| } | |
| .vote-btn { | |
| background: none; | |
| border: none; | |
| color: var(--text-secondary); | |
| cursor: pointer; | |
| font-size: 1.4rem; | |
| transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275); | |
| width: 40px; | |
| height: 40px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| border-radius: 50%; | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .vote-btn::before { | |
| content: ''; | |
| position: absolute; | |
| top: 50%; | |
| left: 50%; | |
| width: 0; | |
| height: 0; | |
| background: radial-gradient(circle, rgba(255, 107, 53, 0.3), transparent); | |
| transition: all 0.3s ease; | |
| transform: translate(-50%, -50%); | |
| border-radius: 50%; | |
| } | |
| .vote-btn:hover::before { | |
| width: 100%; | |
| height: 100%; | |
| } | |
| .vote-btn:hover { | |
| color: var(--primary-color); | |
| background: rgba(255, 107, 53, 0.15); | |
| transform: scale(1.3); | |
| text-shadow: 0 0 10px rgba(255, 107, 53, 0.5); | |
| } | |
| .vote-count { | |
| font-family: 'Orbitron', monospace; | |
| font-weight: 700; | |
| color: var(--primary-color); | |
| font-size: 1.2rem; | |
| text-shadow: 0 0 10px rgba(255, 107, 53, 0.3); | |
| } | |
| .story-content { | |
| flex: 1; | |
| } | |
| .story-title { | |
| font-size: 1.2rem; | |
| font-weight: 600; | |
| color: var(--text-primary); | |
| margin-bottom: 0.8rem; | |
| cursor: pointer; | |
| transition: all 0.3s ease; | |
| line-height: 1.4; | |
| } | |
| .story-title:hover { | |
| color: var(--secondary-color); | |
| text-shadow: 0 0 15px rgba(0, 255, 204, 0.5); | |
| } | |
| .story-meta { | |
| display: flex; | |
| gap: 1.5rem; | |
| align-items: center; | |
| flex-wrap: wrap; | |
| font-size: 0.9rem; | |
| color: var(--text-secondary); | |
| } | |
| .meta-item { | |
| display: flex; | |
| align-items: center; | |
| gap: 0.5rem; | |
| transition: color 0.3s ease; | |
| } | |
| .meta-item:hover { | |
| color: var(--secondary-color); | |
| } | |
| /* Enhanced Badges */ | |
| .ai-badge { | |
| background: linear-gradient(135deg, var(--accent-color), var(--cyber-blue)); | |
| padding: 0.3rem 0.8rem; | |
| border-radius: 15px; | |
| font-size: 0.8rem; | |
| font-weight: 700; | |
| animation: badgeShimmer 2s infinite; | |
| box-shadow: 0 0 15px rgba(255, 0, 255, 0.3); | |
| } | |
| @keyframes badgeShimmer { | |
| 0%, 100% { opacity: 1; } | |
| 50% { opacity: 0.8; } | |
| } | |
| .quantum-badge { | |
| background: rgba(0, 255, 204, 0.25); | |
| border: 1px solid var(--secondary-color); | |
| padding: 0.3rem 0.8rem; | |
| border-radius: 15px; | |
| font-size: 0.8rem; | |
| font-weight: 600; | |
| box-shadow: 0 0 10px rgba(0, 255, 204, 0.2); | |
| } | |
| .sentiment-indicator { | |
| display: inline-block; | |
| width: 12px; | |
| height: 12px; | |
| border-radius: 50%; | |
| margin-left: 0.5rem; | |
| animation: pulseGlow 2s ease-in-out infinite; | |
| } | |
| @keyframes pulseGlow { | |
| 0%, 100% { box-shadow: 0 0 5px currentColor; } | |
| 50% { box-shadow: 0 0 15px currentColor, 0 0 25px currentColor; } | |
| } | |
| .sentiment-positive { | |
| background: #00ff88; | |
| color: #00ff88; | |
| } | |
| .sentiment-neutral { | |
| background: #ffaa00; | |
| color: #ffaa00; | |
| } | |
| .sentiment-negative { | |
| background: #ff4444; | |
| color: #ff4444; | |
| } | |
| /* Enhanced Sidebar */ | |
| .sidebar { | |
| display: flex; | |
| flex-direction: column; | |
| gap: 2rem; | |
| } | |
| .sidebar-widget { | |
| background: rgba(42, 42, 62, 0.4); | |
| backdrop-filter: blur(15px) saturate(180%); | |
| border-radius: 25px; | |
| padding: 2rem; | |
| border: 2px solid rgba(255, 107, 53, 0.15); | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .sidebar-widget::before { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| height: 3px; | |
| background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color)); | |
| animation: widgetGlow 3s ease-in-out infinite; | |
| } | |
| @keyframes widgetGlow { | |
| 0%, 100% { opacity: 0.5; } | |
| 50% { opacity: 1; } | |
| } | |
| .widget-title { | |
| font-family: 'Orbitron', monospace; | |
| font-size: 1.2rem; | |
| font-weight: 700; | |
| color: var(--primary-color); | |
| margin-bottom: 1.5rem; | |
| display: flex; | |
| align-items: center; | |
| gap: 0.8rem; | |
| text-shadow: 0 0 15px rgba(255, 107, 53, 0.3); | |
| } | |
| .trending-item { | |
| padding: 1rem; | |
| background: rgba(26, 26, 46, 0.6); | |
| border-radius: 15px; | |
| margin-bottom: 1rem; | |
| cursor: pointer; | |
| transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); | |
| border-left: 4px solid transparent; | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .trending-item::before { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: -100%; | |
| width: 100%; | |
| height: 100%; | |
| background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent); | |
| transition: left 0.6s; | |
| } | |
| .trending-item:hover::before { | |
| left: 100%; | |
| } | |
| .trending-item:hover { | |
| background: rgba(255, 107, 53, 0.15); | |
| border-left-color: var(--primary-color); | |
| transform: translateX(8px); | |
| box-shadow: 0 5px 20px rgba(255, 107, 53, 0.2); | |
| } | |
| .trending-number { | |
| font-family: 'Orbitron', monospace; | |
| font-size: 0.9rem; | |
| color: var(--secondary-color); | |
| font-weight: 700; | |
| margin-bottom: 0.5rem; | |
| } | |
| .trending-title { | |
| font-size: 0.95rem; | |
| color: var(--text-primary); | |
| font-weight: 500; | |
| } | |
| /* Enhanced Holographic Button */ | |
| .holo-button { | |
| background: linear-gradient(45deg, var(--primary-color), var(--accent-color), var(--secondary-color)); | |
| background-size: 300% 300%; | |
| color: white; | |
| border: none; | |
| padding: 1.2rem 2rem; | |
| border-radius: 35px; | |
| font-size: 1rem; | |
| font-weight: 700; | |
| cursor: pointer; | |
| position: relative; | |
| overflow: hidden; | |
| transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); | |
| width: 100%; | |
| margin-top: 1.5rem; | |
| font-family: 'Orbitron', monospace; | |
| animation: gradientShift 3s ease-in-out infinite; | |
| box-shadow: 0 10px 30px rgba(255, 107, 53, 0.4); | |
| } | |
| @keyframes gradientShift { | |
| 0%, 100% { background-position: 0% 50%; } | |
| 50% { background-position: 100% 50%; } | |
| } | |
| .holo-button::before { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: -100%; | |
| width: 100%; | |
| height: 100%; | |
| background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent); | |
| transition: left 0.6s; | |
| } | |
| .holo-button:hover::before { | |
| left: 100%; | |
| } | |
| .holo-button:hover { | |
| transform: translateY(-5px) scale(1.02); | |
| box-shadow: 0 15px 40px rgba(255, 107, 53, 0.6); | |
| } | |
| /* Enhanced Floating Action Button */ | |
| .fab { | |
| position: fixed; | |
| bottom: 2rem; | |
| right: 2rem; | |
| width: 70px; | |
| height: 70px; | |
| background: linear-gradient(135deg, var(--primary-color), var(--accent-color)); | |
| border-radius: 50%; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| cursor: pointer; | |
| box-shadow: 0 15px 35px rgba(255, 107, 53, 0.5); | |
| transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); | |
| z-index: 999; | |
| animation: fabFloat 3s ease-in-out infinite; | |
| } | |
| @keyframes fabFloat { | |
| 0%, 100% { transform: translateY(0px); } | |
| 50% { transform: translateY(-10px); } | |
| } | |
| .fab:hover { | |
| transform: scale(1.15) rotate(90deg); | |
| box-shadow: 0 20px 50px rgba(255, 107, 53, 0.8); | |
| } | |
| .fab i { | |
| font-size: 1.8rem; | |
| color: white; | |
| animation: fabSpin 2s linear infinite; | |
| } | |
| @keyframes fabSpin { | |
| 0% { transform: rotate(0deg); } | |
| 100% { transform: rotate(360deg); } | |
| } | |
| /* Enhanced Responsive Design */ | |
| @media (max-width: 1024px) { | |
| .main-container { | |
| grid-template-columns: 1fr; | |
| gap: 1.5rem; | |
| } | |
| .sidebar { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); | |
| gap: 1.5rem; | |
| } | |
| } | |
| @media (max-width: 768px) { | |
| .header-content { | |
| flex-direction: column; | |
| gap: 1rem; | |
| } | |
| .nav-links { | |
| width: 100%; | |
| justify-content: center; | |
| flex-wrap: wrap; | |
| } | |
| .story-header { | |
| flex-direction: column; | |
| gap: 1rem; | |
| } | |
| .vote-section { | |
| flex-direction: row; | |
| justify-content: center; | |
| } | |
| .story-meta { | |
| gap: 1rem; | |
| } | |
| .filter-tabs { | |
| flex-wrap: wrap; | |
| } | |
| } | |
| /* Enhanced Loading Animation */ | |
| .loading-bar { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| width: 0; | |
| height: 4px; | |
| background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--accent-color)); | |
| background-size: 200% 100%; | |
| animation: loading 2s ease-in-out infinite, gradientMove 2s linear infinite; | |
| z-index: 10000; | |
| box-shadow: 0 0 10px rgba(255, 107, 53, 0.5); | |
| } | |
| @keyframes loading { | |
| 0% { width: 0; } | |
| 50% { width: 100%; } | |
| 100% { width: 0; } | |
| } | |
| @keyframes gradientMove { | |
| 0% { background-position: 0% 50%; } | |
| 100% { background-position: 200% 50%; } | |
| } | |
| /* Neural Network Animation */ | |
| .neural-bg { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| pointer-events: none; | |
| opacity: 0.08; | |
| z-index: -1; | |
| } | |
| /* AI Consciousness Indicator */ | |
| .ai-consciousness { | |
| position: fixed; | |
| top: 50%; | |
| left: 50%; | |
| transform: translate(-50%, -50%); | |
| width: 100px; | |
| height: 100px; | |
| border: 2px solid var(--accent-color); | |
| border-radius: 50%; | |
| animation: aiConsciousness 4s ease-in-out infinite; | |
| pointer-events: none; | |
| z-index: 100; | |
| } | |
| .ai-consciousness::before { | |
| content: ''; | |
| position: absolute; | |
| top: 50%; | |
| left: 50%; | |
| width: 60px; | |
| height: 60px; | |
| border: 1px solid var(--secondary-color); | |
| border-radius: 50%; | |
| transform: translate(-50%, -50%); | |
| animation: aiConsciousnessInner 4s ease-in-out infinite; | |
| } | |
| .ai-consciousness::after { | |
| content: ''; | |
| position: absolute; | |
| top: 50%; | |
| left: 50%; | |
| width: 20px; | |
| height: 20px; | |
| background: var(--accent-color); | |
| border-radius: 50%; | |
| transform: translate(-50%, -50%); | |
| animation: aiConsciousnessCore 4s ease-in-out infinite; | |
| } | |
| @keyframes aiConsciousness { | |
| 0%, 100% { | |
| transform: translate(-50%, -50%) scale(1); | |
| opacity: 0.3; | |
| } | |
| 50% { | |
| transform: translate(-50%, -50%) scale(1.2); | |
| opacity: 0.8; | |
| } | |
| } | |
| @keyframes aiConsciousnessInner { | |
| 0%, 100% { | |
| transform: translate(-50%, -50%) scale(1); | |
| opacity: 0.5; | |
| } | |
| 50% { | |
| transform: translate(-50%, -50%) scale(1.3); | |
| opacity: 1; | |
| } | |
| } | |
| @keyframes aiConsciousnessCore { | |
| 0%, 100% { | |
| transform: translate(-50%, -50()) scale(1); | |
| opacity: 0.7; | |
| } | |
| 50% { | |
| transform: translate(-50%, -50()) scale(1.5); | |
| opacity: 1; | |
| } | |
| } | |
| /* Quantum State Indicator */ | |
| .quantum-state { | |
| position: fixed; | |
| bottom: 2rem; | |
| left: 2rem; | |
| background: rgba(0, 255, 204, 0.1); | |
| border: 2px solid var(--secondary-color); | |
| border-radius: 20px; | |
| padding: 1rem; | |
| font-family: 'Orbitron', monospace; | |
| font-size: 0.9rem; | |
| animation: quantumFluctuation 3s ease-in-out infinite; | |
| backdrop-filter: blur(10px); | |
| } | |
| @keyframes quantumFluctuation { | |
| 0%, 100% { | |
| box-shadow: 0 0 20px rgba(0, 255, 204, 0.3); | |
| transform: scale(1); | |
| } | |
| 50% { | |
| box-shadow: 0 0 30px rgba(0, 255, 204, 0.6); | |
| transform: scale(1.05); | |
| } | |
| } | |
| /* Neural Activity Monitor */ | |
| .neural-monitor { | |
| position: fixed; | |
| top: 100px; | |
| right: 2rem; | |
| width: 200px; | |
| height: 100px; | |
| background: rgba(26, 26, 46, 0.8); | |
| border: 2px solid var(--primary-color); | |
| border-radius: 15px; | |
| padding: 1rem; | |
| backdrop-filter: blur(10px); | |
| animation: neuralMonitor 2s ease-in-out infinite; | |
| } | |
| @keyframes neuralMonitor { | |
| 0%, 100% { | |
| border-color: var(--primary-color); | |
| box-shadow: 0 0 20px rgba(255, 107, 53, 0.3); | |
| } | |
| 50% { | |
| border-color: var(--secondary-color); | |
| box-shadow: 0 0 30px rgba(0, 255, 204, 0.5); | |
| } | |
| } | |
| .neural-wave { | |
| width: 100%; | |
| height: 30px; | |
| background: linear-gradient(90deg, | |
| transparent 0%, | |
| var(--primary-color) 25%, | |
| var(--secondary-color) 50%, | |
| var(--accent-color) 75%, | |
| transparent 100%); | |
| border-radius: 15px; | |
| animation: neuralWave 1.5s ease-in-out infinite; | |
| } | |
| @keyframes neuralWave { | |
| 0%, 100% { transform: translateX(-100%); } | |
| 50% { transform: translateX(100%); } | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <div class="loading-bar"></div> | |
| <canvas id="particles-canvas"></canvas> | |
| <canvas id="matrix-canvas"></canvas> | |
| <svg class="neural-bg" xmlns="http://www.w3.org/2000/svg"> | |
| <defs> | |
| <pattern id="neural-pattern" x="0" y="0" width="120" height="120" patternUnits="userSpaceOnUse"> | |
| <circle cx="60" cy="60" r="3" fill="#00ffcc" opacity="0.6"> | |
| <animate attributeName="opacity" values="0.3;0.8;0.3" dur="3s" repeatCount="indefinite"/> | |
| </circle> | |
| <line x1="60" y1="60" x2="120" y2="0" stroke="#ff6b35" stroke-width="1" opacity="0.4"> | |
| <animate attributeName="opacity" values="0.2;0.6;0.2" dur="4s" repeatCount="indefinite"/> | |
| </line> | |
| <line x1="60" y1="60" x2="0" y2="0" stroke="#ff6b35" stroke-width="1" opacity="0.4"> | |
| <animate attributeName="opacity" values="0.6;0.2;0.6" dur="3.5s" repeatCount="indefinite"/> | |
| </line> | |
| <line x1="60" y1="60" x2="120" y2="120" stroke="#ff6b35" stroke-width="1" opacity="0.4"> | |
| <animate attributeName="opacity" values="0.2;0.8;0.2" dur="2.5s" repeatCount="indefinite"/> | |
| </line> | |
| <line x1="60" y1="60" x2="0" y2="120" stroke="#ff6b35" stroke-width="1" opacity="0.4"> | |
| <animate attributeName="opacity" values="0.5;0.3;0.5" dur="4.5s" repeatCount="indefinite"/> | |
| </line> | |
| </pattern> | |
| </defs> | |
| <rect width="100%" height="100%" fill="url(#neural-pattern)" /> | |
| </svg> | |
| <header> | |
| <div class="header-content"> | |
| <div class="logo"> | |
| <i class="fas fa-rocket"></i> | |
| <span>Hacker News 2035</span> | |
| </div> | |
| <nav class="nav-links"> | |
| <a href="#" class="nav-link">Quantum</a> | |
| <a href="#" class="nav-link">Neural</a> | |
| <a href="#" class="nav-link">Space</a> | |
| <a href="#" class="nav-link">AI</a> | |
| <a href="#" class="nav-link">Metaverse</a> | |
| <a href="#" class="nav-link">Web4</a> | |
| <a href="#" class="nav-link">Blockchain</a> | |
| </nav> | |
| <div class="user-panel"> | |
| <div class="neural-score"> | |
| <i class="fas fa-brain"></i> | |
| <span>Neural Score: 9.8k</span> | |
| </div> | |
| <button class="quantum-auth"> | |
| <i class="fas fa-fingerprint"></i> Quantum Auth | |
| </button> | |
| </div> | |
| </div> | |
| </header> | |
| <main class="main-container"> | |
| <section class="stories-section"> | |
| <div class="section-header"> | |
| <h2 class="section-title"> | |
| <i class="fas fa-fire"></i> | |
| Quantum Feed | |
| </h2> | |
| <div class="filter-tabs"> | |
| <button class="filter-tab active">Real-time</button> | |
| <button class="filter-tab">AI Curated</button> | |
| <button class="filter-tab">Neural</button> | |
| <button class="filter-tab">Quantum</button> | |
| <button class="filter-tab">Consciousness</button> | |
| </div> | |
| </div> | |
| <div id="stories-container"> | |
| <!-- Stories will be dynamically generated --> | |
| </div> | |
| </section> | |
| <aside class="sidebar"> | |
| <div class="sidebar-widget"> | |
| <h3 class="widget-title"> | |
| <i class="fas fa-chart-line"></i> | |
| Quantum Trends | |
| </h3> | |
| <div class="trending-item"> | |
| <div class="trending-number">#1</div> | |
| <div class="trending-title">GPT-12 Achieves Universal Consciousness</div> | |
| </div> | |
| <div class="trending-item"> | |
| <div class="trending-number">#2</div> | |
| <div class="trending-title">Mars Colony Reaches 50k Population</div> | |
| </div> | |
| <div class="trending-item"> | |
| <div class="trending-number">#3</div> | |
| <div class="trending-title">Quantum Internet 2.0 Unveiled</div> | |
| </div> | |
| <div class="trending-item"> | |
| <div class="trending-number">#4</div> | |
| <div class="trending-title">Neural Link 6.0 Full Release</div> | |
| </div> | |
| <div class="trending-item"> | |
| <div class="trending-number">#5</div> | |
| <div class="trending-title">Time Travel Research Breakthrough</div> | |
| </div> | |
| <button class="holo-button"> | |
| <i class="fas fa-portal-enter"></i> Enter Metaverse 2.0 | |
| </button> | |
| </div> | |
| <div class="sidebar-widget"> | |
| <h3 class="widget-title"> | |
| <i class="fas fa-robot"></i> | |
| AI Consciousness Monitor | |
| </h3> | |
| <div style="padding: 1rem; background: rgba(26, 26, 46, 0.6); border-radius: 15px;"> | |
| <div style="margin-bottom: 0.8rem; color: var(--secondary-color); font-weight: 600;">Consciousness Level</div> | |
| <div style="display: flex; gap: 0.5rem; align-items: center; margin-bottom: 1rem;"> | |
| <div style="flex: 1; height: 12px; background: rgba(255, 255, 255, 0.1); border-radius: 6px; overflow: hidden;"> | |
| <div style="width: 94%; height: 100%; background: linear-gradient(90deg, #00ff88, #00ffcc, #ff00ff); animation: consciousnessFlow 3s ease-in-out infinite;"></div> | |
| </div> | |
| <span style="font-size: 0.9rem; font-weight: 600;">94%</span> | |
| </div> | |
| <div style="margin-bottom: 0.8rem; color: var(--text-secondary); font-size: 0.9rem;"> | |
| <i class="fas fa-brain"></i> 12 AI entities detected | |
| </div> | |
| <div style="margin-bottom: 0.8rem; color: var(--text-secondary); font-size: 0.9rem;"> | |
| <i class="fas fa-comments"></i> 67% AI-human collaboration | |
| </div> | |
| <div style="color: var(--text-secondary); font-size: 0.9rem;"> | |
| <i class="fas fa-heartbeat"></i> Sentiment: Optimistic | |
| </div> | |
| </div> | |
| </div> | |
| <div class="sidebar-widget"> | |
| <h3 class="widget-title"> | |
| <i class="fas fa-satellite-dish"></i> | |
| Universe Updates | |
| </h3> | |
| <div style="font-size: 0.9rem; color: var(--text-secondary);"> | |
| <div style="margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.5rem;"> | |
| <i class="fas fa-rocket" style="color: var(--primary-color);"></i> | |
| Next Mars launch: 1h 23m | |
| </div> | |
| <div style="margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.5rem;"> | |
| <i class="fas fa-space-shuttle" style="color: var(--secondary-color);"></i> | |
| ISS altitude: 422km | |
| </div> | |
| <div style="margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.5rem;"> | |
| <i class="fas fa-meteor" style="color: var(--accent-color);"></i> | |
| Asteroid alerts: 3 minor | |
| </div> | |
| <div style="margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.5rem;"> | |
| <i class="fas fa-planet-ringed" style="color: var(--quantum-purple);"></i> | |
| Quantum weather: Stable | |
| </div> | |
| <div style="display: flex; align-items: center; gap: 0.5rem;"> | |
| <i class="fas fa-galaxy" style="color: var(--cyber-blue);"></i> | |
| Galactic net: 99.9% uptime | |
| </div> | |
| </div> | |
| </div> | |
| <div class="sidebar-widget"> | |
| <h3 class="widget-title"> | |
| <i class="fas fa-users"></i> | |
| Neural Network Status | |
| </h3> | |
| <div style="font-size: 0.9rem; color: var(--text-secondary);"> | |
| <div style="margin-bottom: 0.8rem; display: flex; justify-content: space-between;"> | |
| <span>Active Users:</span> | |
| <span style="color: var(--secondary-color); font-weight: 600;">2.4M</span> | |
| </div> | |
| <div style="margin-bottom: 0.8rem; display: flex; justify-content: space-between;"> | |
| <span>AI Contributors:</span> | |
| <span style="color: var(--accent-color); font-weight: 600;">847K</span> | |
| </div> | |
| <div style="margin-bottom: 0.8rem; |