/* ════════════════════════════════════════════════════ AMUSEMENT — Premium Dark Mode Design System ════════════════════════════════════════════════════ */ /* ─── Design Tokens ─── */ :root { /* Background & Surface */ --bg-primary: #0a0a1a; --bg-secondary: #0f0f2a; --bg-surface: rgba(255, 255, 255, 0.03); --bg-glass: rgba(255, 255, 255, 0.05); --bg-glass-hover: rgba(255, 255, 255, 0.08); /* Accent gradient */ --accent-1: #6c5ce7; --accent-2: #a855f7; --accent-3: #ec4899; --accent-4: #06b6d4; --gradient-primary: linear-gradient(135deg, var(--accent-1), var(--accent-2), var(--accent-3)); --gradient-subtle: linear-gradient(135deg, rgba(108, 92, 231, 0.15), rgba(168, 85, 247, 0.15)); /* Text */ --text-primary: #f0f0f8; --text-secondary: rgba(240, 240, 248, 0.6); --text-muted: rgba(240, 240, 248, 0.35); /* Borders */ --border-glass: rgba(255, 255, 255, 0.08); --border-glow: rgba(168, 85, 247, 0.3); /* Shadows */ --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3); --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4); --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5); --shadow-glow: 0 0 40px rgba(168, 85, 247, 0.15); /* Spacing */ --nav-height: 72px; --section-padding: clamp(4rem, 10vh, 8rem); --container-max: 1200px; /* Typography */ --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; --font-mono: 'JetBrains Mono', 'Fira Code', monospace; /* Transitions */ --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94); --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1); --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275); --duration-fast: 200ms; --duration-normal: 350ms; --duration-slow: 600ms; } /* ─── Base Reset ─── */ *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; } html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } body { font-family: var(--font-body); background: var(--bg-primary); color: var(--text-primary); line-height: 1.6; overflow-x: hidden; min-height: 100vh; } a { color: inherit; text-decoration: none; } button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; } img { max-width: 100%; display: block; } ::selection { background: rgba(168, 85, 247, 0.3); color: var(--text-primary); } /* scrollbar */ ::-webkit-scrollbar { width: 6px; } ::-webkit-scrollbar-track { background: var(--bg-primary); } ::-webkit-scrollbar-thumb { background: rgba(168, 85, 247, 0.3); border-radius: 3px; } ::-webkit-scrollbar-thumb:hover { background: rgba(168, 85, 247, 0.5); } /* ─── Cursor Glow ─── */ #cursor-glow { position: fixed; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(circle, rgba(168, 85, 247, 0.06) 0%, transparent 70%); pointer-events: none; z-index: 9999; transform: translate(-50%, -50%); transition: opacity 0.3s; will-change: left, top; } /* ─── Particles Canvas ─── */ #particles-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; opacity: 0.4; } /* ─── Glass Utilities ─── */ .glass-card { background: var(--bg-glass); backdrop-filter: blur(20px) saturate(1.2); -webkit-backdrop-filter: blur(20px) saturate(1.2); border: 1px solid var(--border-glass); border-radius: 16px; transition: all var(--duration-normal) var(--ease-smooth); } .glass-card:hover { background: var(--bg-glass-hover); border-color: var(--border-glow); box-shadow: var(--shadow-glow); } .glass-panel { background: rgba(10, 10, 26, 0.9); backdrop-filter: blur(30px) saturate(1.4); -webkit-backdrop-filter: blur(30px) saturate(1.4); border: 1px solid var(--border-glass); } .glass-nav { background: rgba(10, 10, 26, 0.7); backdrop-filter: blur(20px) saturate(1.2); -webkit-backdrop-filter: blur(20px) saturate(1.2); border-bottom: 1px solid var(--border-glass); } /* ─── Gradient Text ─── */ .gradient-text { background: var(--gradient-primary); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; } /* ─── Buttons ─── */ .btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 28px; border-radius: 12px; font-weight: 600; font-size: 0.95rem; transition: all var(--duration-normal) var(--ease-smooth); position: relative; overflow: hidden; } .btn::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent); opacity: 0; transition: opacity var(--duration-fast); } .btn:hover::before { opacity: 1; } .btn-primary { background: var(--gradient-primary); color: white; box-shadow: 0 4px 20px rgba(168, 85, 247, 0.3); } .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(168, 85, 247, 0.4); } .btn-primary:active { transform: translateY(0); } .btn-ghost { border: 1px solid var(--border-glass); color: var(--text-secondary); } .btn-ghost:hover { border-color: var(--border-glow); color: var(--text-primary); background: var(--bg-glass); } .btn-full { width: 100%; justify-content: center; } .btn-sm { padding: 8px 16px; font-size: 0.85rem; border-radius: 8px; } /* ─── Section Base ─── */ .section { position: relative; z-index: 1; padding: var(--section-padding) clamp(1.5rem, 5vw, 3rem); max-width: var(--container-max); margin: 0 auto; } .section-header { text-align: center; margin-bottom: 3.5rem; } .section-tag { display: inline-block; padding: 6px 16px; border-radius: 20px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; background: var(--gradient-subtle); border: 1px solid rgba(168, 85, 247, 0.2); color: var(--accent-2); margin-bottom: 1rem; } .section-title { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; margin-bottom: 0.75rem; } .section-subtitle { color: var(--text-secondary); font-size: 1.05rem; max-width: 500px; margin: 0 auto; } /* ─── Navigation ─── */ nav.glass-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-height); display: flex; align-items: center; justify-content: space-between; padding: 0 clamp(1.5rem, 5vw, 3rem); transition: all var(--duration-normal) var(--ease-smooth); } nav.scrolled { background: rgba(10, 10, 26, 0.9); box-shadow: var(--shadow-sm); } .nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; } .brand-icon { font-size: 1.5rem; filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.4)); } .nav-links { display: flex; gap: 8px; } .nav-link { padding: 8px 16px; border-radius: 8px; font-size: 0.9rem; font-weight: 500; color: var(--text-secondary); transition: all var(--duration-fast) var(--ease-smooth); position: relative; } .nav-link:hover, .nav-link.active { color: var(--text-primary); background: var(--bg-glass); } .nav-link.active::after { content: ''; position: absolute; bottom: 4px; left: 50%; width: 20px; height: 2px; background: var(--gradient-primary); border-radius: 1px; transform: translateX(-50%); } .nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; } .nav-toggle span { width: 22px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: all var(--duration-fast) var(--ease-smooth); } .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); } .nav-toggle.open span:nth-child(2) { opacity: 0; } .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); } /* Mobile menu */ .mobile-menu { position: fixed; top: var(--nav-height); left: 0; right: 0; z-index: 99; display: none; flex-direction: column; padding: 1rem 1.5rem 1.5rem; border-radius: 0 0 16px 16px; transform: translateY(-20px); opacity: 0; transition: all var(--duration-normal) var(--ease-smooth); } .mobile-menu.show { display: flex; transform: translateY(0); opacity: 1; } .mobile-link { padding: 12px 16px; border-radius: 8px; font-weight: 500; color: var(--text-secondary); transition: all var(--duration-fast); } .mobile-link:hover { background: var(--bg-glass); color: var(--text-primary); } @media (max-width: 768px) { .nav-links { display: none; } .nav-toggle { display: flex; } } /* ─── Hero ─── */ .hero-section { min-height: 100vh; display: flex; align-items: center; justify-content: space-between; gap: 4rem; padding-top: calc(var(--nav-height) + 2rem); } .hero-content { flex: 1; max-width: 560px; } .hero-badge { display: inline-block; padding: 8px 18px; border-radius: 24px; font-size: 0.85rem; font-weight: 500; background: var(--gradient-subtle); border: 1px solid rgba(168, 85, 247, 0.2); color: var(--accent-2); margin-bottom: 1.5rem; animation: fadeInUp 0.8s var(--ease-smooth) both; } .hero-title { font-size: clamp(2.8rem, 6vw, 4.5rem); font-weight: 900; line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 1.5rem; } .title-line { display: block; animation: fadeInUp 0.8s var(--ease-smooth) both; } .title-line:nth-child(1) { animation-delay: 0.1s; } .title-line:nth-child(2) { animation-delay: 0.25s; } .title-line:nth-child(3) { animation-delay: 0.4s; } .hero-description { color: var(--text-secondary); font-size: 1.1rem; line-height: 1.7; margin-bottom: 2rem; max-width: 460px; animation: fadeInUp 0.8s 0.5s var(--ease-smooth) both; } .hero-actions { display: flex; gap: 12px; flex-wrap: wrap; animation: fadeInUp 0.8s 0.65s var(--ease-smooth) both; } /* Hero floating cards */ .hero-visual { flex: 1; position: relative; height: 420px; max-width: 420px; } .floating-card { position: absolute; padding: 20px; border-radius: 16px; display: flex; flex-direction: column; gap: 10px; font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); animation: float 6s ease-in-out infinite; will-change: transform; } .card-1 { top: 10%; left: 10%; width: 180px; animation-delay: 0s; } .card-2 { top: 35%; right: 5%; width: 190px; animation-delay: -2s; } .card-3 { bottom: 10%; left: 20%; width: 170px; animation-delay: -4s; } .mini-chart { width: 100%; height: 40px; background: linear-gradient(90deg, var(--accent-1), var(--accent-2), var(--accent-3)); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 40'%3E%3Cpath d='M0 35 Q15 10 30 25 T60 15 T100 20 V40 H0Z' fill='black'/%3E%3C/svg%3E"); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 40'%3E%3Cpath d='M0 35 Q15 10 30 25 T60 15 T100 20 V40 H0Z' fill='black'/%3E%3C/svg%3E"); mask-size: cover; -webkit-mask-size: cover; border-radius: 4px; } .mini-bars { display: flex; align-items: flex-end; gap: 4px; height: 40px; } .mini-bars::before, .mini-bars::after { content: ''; flex: 1; border-radius: 2px; background: var(--accent-2); } .mini-bars::before { height: 60%; } .mini-bars::after { height: 85%; } .mini-ring { width: 40px; height: 40px; border: 3px solid transparent; border-top-color: var(--accent-3); border-right-color: var(--accent-2); border-radius: 50%; animation: spin 3s linear infinite; } @media (max-width: 900px) { .hero-section { flex-direction: column; text-align: center; } .hero-content { max-width: 100%; } .hero-description { margin-left: auto; margin-right: auto; } .hero-actions { justify-content: center; } .hero-visual { display: none; } } /* ─── Feature Cards ─── */ .cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; } .feature-card { padding: 2rem; position: relative; overflow: hidden; cursor: default; } .feature-card:hover { transform: translateY(-4px); } .card-glow { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(168,85,247,0.08), transparent 60%); pointer-events: none; opacity: 0; transition: opacity var(--duration-normal); } .feature-card:hover .card-glow { opacity: 1; } .card-icon { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border-radius: 14px; background: var(--gradient-subtle); border: 1px solid rgba(168, 85, 247, 0.15); color: var(--accent-2); margin-bottom: 1.25rem; } .card-title { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; } .card-text { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.6; margin-bottom: 1.25rem; } .card-metrics { display: flex; gap: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--border-glass); } .metric { display: flex; flex-direction: column; } .metric-value { font-size: 1.25rem; font-weight: 800; font-family: var(--font-mono); background: var(--gradient-primary); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; } .metric-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; } /* ─── Stats ─── */ .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; } .stat-card { padding: 2rem; text-align: center; } .stat-number { display: block; font-size: 3rem; font-weight: 900; font-family: var(--font-mono); background: var(--gradient-primary); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1.1; margin-bottom: 0.5rem; } .stat-label { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 1rem; display: block; } .stat-bar { width: 100%; height: 4px; background: var(--bg-glass); border-radius: 2px; overflow: hidden; } .stat-fill { height: 100%; width: 0; background: var(--gradient-primary); border-radius: 2px; transition: width 1.5s var(--ease-smooth); } /* ─── Gallery ─── */ .gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } .gallery-item { position: relative; aspect-ratio: 1; overflow: hidden; cursor: pointer; } .gallery-wide { grid-column: span 2; aspect-ratio: 2 / 1; } .gallery-visual { width: 100%; height: 100%; position: relative; overflow: hidden; } .gallery-overlay { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 1.25rem; background: linear-gradient(to top, rgba(10,10,26,0.8) 0%, transparent 60%); opacity: 0; transition: opacity var(--duration-normal) var(--ease-smooth); } .gallery-item:hover .gallery-overlay { opacity: 1; } .gallery-item:hover { transform: scale(1.02); } .gallery-tag { font-size: 0.85rem; font-weight: 600; padding: 6px 14px; border-radius: 8px; background: var(--bg-glass); border: 1px solid var(--border-glass); } /* Abstract shapes */ .abstract-shape { position: absolute; inset: 0; transition: transform var(--duration-slow) var(--ease-smooth); } .gallery-item:hover .abstract-shape { transform: scale(1.1); } .shape-a { background: radial-gradient(circle at 30% 40%, hsla(260, 80%, 60%, 0.6), transparent 50%), radial-gradient(circle at 70% 60%, hsla(320, 80%, 55%, 0.5), transparent 45%), radial-gradient(circle at 50% 80%, hsla(200, 80%, 50%, 0.4), transparent 40%); } .shape-b { background: linear-gradient( 45deg, hsla(320, 80%, 50%, 0.5) 0%, hsla(260, 70%, 60%, 0.4) 25%, hsla(180, 60%, 50%, 0.3) 50%, hsla(140, 70%, 45%, 0.4) 75%, hsla(320, 80%, 50%, 0.5) 100% ); background-size: 300% 300%; animation: auroraShift 8s ease-in-out infinite; } .shape-c { background: radial-gradient(circle at 50% 50%, hsla(180, 80%, 55%, 0.6), transparent 55%); filter: blur(30px); animation: blobPulse 4s ease-in-out infinite; } .shape-d { background: linear-gradient(0deg, hsla(30, 90%, 55%, 0) 40%, hsla(30, 90%, 55%, 0.1) 42%, hsla(30, 90%, 55%, 0.6) 50%, hsla(30, 90%, 55%, 0.1) 58%, hsla(30, 90%, 55%, 0) 60%), linear-gradient(90deg, hsla(350, 90%, 55%, 0) 40%, hsla(350, 90%, 55%, 0.1) 42%, hsla(350, 90%, 55%, 0.6) 50%, hsla(350, 90%, 55%, 0.1) 58%, hsla(350, 90%, 55%, 0) 60%); animation: neonPulse 2s ease-in-out infinite; } .shape-e { background: repeating-linear-gradient( 90deg, hsla(140, 70%, 50%, 0.05) 0px, hsla(140, 70%, 50%, 0.3) 2px, hsla(140, 70%, 50%, 0.05) 4px ); animation: waveScroll 3s linear infinite; } .shape-f { background: linear-gradient(135deg, hsla(210, 80%, 60%, 0.3), transparent 50%), linear-gradient(225deg, hsla(280, 80%, 60%, 0.3), transparent 50%), linear-gradient(315deg, hsla(340, 80%, 60%, 0.3), transparent 50%); } @media (max-width: 768px) { .gallery-grid { grid-template-columns: 1fr 1fr; } .gallery-wide { grid-column: span 2; } } @media (max-width: 480px) { .gallery-grid { grid-template-columns: 1fr; } .gallery-wide { grid-column: span 1; aspect-ratio: 16 / 9; } } /* ─── Contact ─── */ .contact-section { padding-bottom: 6rem; } .contact-container { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding: 3rem; } .contact-info { display: flex; flex-direction: column; justify-content: center; } .contact-text { color: var(--text-secondary); margin-bottom: 2rem; line-height: 1.7; } .contact-details { display: flex; flex-direction: column; gap: 1rem; } .contact-item { display: flex; align-items: center; gap: 12px; color: var(--text-secondary); font-size: 0.95rem; } .contact-item svg { color: var(--accent-2); flex-shrink: 0; } .contact-form { display: flex; flex-direction: column; gap: 1.25rem; } .form-group { display: flex; flex-direction: column; gap: 6px; } .form-group label { font-size: 0.85rem; font-weight: 500; color: var(--text-secondary); } .form-input { padding: 12px 16px; border-radius: 10px; border: 1px solid var(--border-glass); background: var(--bg-glass); color: var(--text-primary); font-family: var(--font-body); font-size: 0.95rem; transition: all var(--duration-fast) var(--ease-smooth); outline: none; resize: vertical; } .form-input::placeholder { color: var(--text-muted); } .form-input:focus { border-color: var(--border-glow); box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1); } @media (max-width: 768px) { .contact-container { grid-template-columns: 1fr; padding: 2rem; } } /* ─── Footer ─── */ .site-footer { text-align: center; padding: 2rem clamp(1.5rem, 5vw, 3rem); border-top: 1px solid var(--border-glass); border-bottom: none; } .footer-content { max-width: var(--container-max); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; } .footer-brand { display: flex; align-items: center; gap: 8px; font-weight: 700; } .footer-copy { color: var(--text-muted); font-size: 0.85rem; } .footer-links { display: flex; gap: 1.5rem; } .footer-links a { color: var(--text-secondary); font-size: 0.85rem; transition: color var(--duration-fast); } .footer-links a:hover { color: var(--text-primary); } /* ─── Toast ─── */ .toast { position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(120%); padding: 14px 24px; border-radius: 12px; font-size: 0.9rem; font-weight: 500; background: var(--bg-glass); backdrop-filter: blur(20px); border: 1px solid var(--border-glass); box-shadow: var(--shadow-md); z-index: 200; transition: transform var(--duration-normal) var(--ease-spring); white-space: nowrap; } .toast.show { transform: translateX(-50%) translateY(0); } /* ─── Install Prompt ─── */ .install-prompt { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 150; display: flex; align-items: center; gap: 12px; padding: 14px 18px; font-size: 0.9rem; animation: fadeInUp 0.5s var(--ease-spring) both; } .btn-dismiss { color: var(--text-muted); font-size: 1.1rem; padding: 4px; transition: color var(--duration-fast); } .btn-dismiss:hover { color: var(--text-primary); } /* ─── Reveal Animations ─── */ .reveal { opacity: 0; transform: translateY(30px); transition: all 0.7s var(--ease-smooth); } .reveal.visible { opacity: 1; transform: translateY(0); } /* ─── Keyframes ─── */ @keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } @keyframes float { 0%, 100% { transform: translateY(0px); } 50% { transform: translateY(-15px); } } @keyframes spin { to { transform: rotate(360deg); } } @keyframes auroraShift { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } } @keyframes blobPulse { 0%, 100% { transform: scale(1); filter: blur(30px); } 50% { transform: scale(1.2); filter: blur(40px); } } @keyframes neonPulse { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } } @keyframes waveScroll { from { background-position-x: 0; } to { background-position-x: 40px; } }