Snapshot: full project state
This commit is contained in:
433
static/style.css
Normal file
433
static/style.css
Normal file
@@ -0,0 +1,433 @@
|
||||
/* Supernova — galaxy theme. Slow, cinematic, ordered. */
|
||||
:root {
|
||||
--bg: #050510;
|
||||
--bg2: #0a0a22;
|
||||
--panel: rgba(20, 18, 48, 0.55);
|
||||
--panel-border: rgba(130, 110, 255, 0.18);
|
||||
--nebula-a: #7b2ff7;
|
||||
--nebula-b: #2b6cff;
|
||||
--nebula-c: #ff2d95;
|
||||
--star: #cfe0ff;
|
||||
--text: #e8eaf6;
|
||||
--muted: #9aa0c0;
|
||||
--glow: 0 0 24px rgba(123, 47, 247, 0.35);
|
||||
--radius: 18px;
|
||||
}
|
||||
|
||||
* { box-sizing: border-box; }
|
||||
|
||||
html, body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background: var(--bg);
|
||||
color: var(--text);
|
||||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", sans-serif;
|
||||
min-height: 100%;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
}
|
||||
|
||||
body { overflow-x: hidden; }
|
||||
|
||||
/* ------- background: starfield canvas + nebula ------- */
|
||||
#starfield {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.nebula {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
z-index: 0;
|
||||
pointer-events: none;
|
||||
background:
|
||||
radial-gradient(ellipse 60% 50% at 15% 20%, rgba(123,47,247,0.28), transparent 60%),
|
||||
radial-gradient(ellipse 50% 45% at 85% 30%, rgba(43,108,255,0.22), transparent 60%),
|
||||
radial-gradient(ellipse 55% 50% at 50% 90%, rgba(255,45,149,0.18), transparent 60%),
|
||||
linear-gradient(180deg, var(--bg) 0%, var(--bg2) 60%, #0a0618 100%);
|
||||
animation: nebula-drift 40s ease-in-out infinite alternate;
|
||||
}
|
||||
|
||||
@keyframes nebula-drift {
|
||||
0% { transform: translate(0,0) scale(1); }
|
||||
100% { transform: translate(0,-2%) scale(1.05); }
|
||||
}
|
||||
|
||||
/* ------- layout ------- */
|
||||
.wrap {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
max-width: 1180px;
|
||||
margin: 0 auto;
|
||||
padding: 0 24px;
|
||||
}
|
||||
|
||||
/* ------- nav ------- */
|
||||
nav.top {
|
||||
position: sticky;
|
||||
top: 0;
|
||||
z-index: 10;
|
||||
backdrop-filter: blur(16px);
|
||||
background: rgba(8, 8, 24, 0.6);
|
||||
border-bottom: 1px solid var(--panel-border);
|
||||
}
|
||||
nav.top .inner {
|
||||
max-width: 1180px;
|
||||
margin: 0 auto;
|
||||
padding: 14px 24px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 22px;
|
||||
}
|
||||
.brand {
|
||||
font-weight: 800;
|
||||
font-size: 1.25rem;
|
||||
letter-spacing: 0.5px;
|
||||
text-decoration: none;
|
||||
color: var(--text);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 9px;
|
||||
}
|
||||
.brand .orb {
|
||||
width: 20px; height: 20px; border-radius: 50%;
|
||||
background: radial-gradient(circle at 35% 35%, #e6d0ff, var(--nebula-a) 60%, var(--nebula-c));
|
||||
box-shadow: var(--glow);
|
||||
}
|
||||
.navlinks { margin-left: auto; display: flex; align-items: center; gap: 18px; }
|
||||
.navlinks a {
|
||||
color: var(--muted);
|
||||
text-decoration: none;
|
||||
font-size: 0.92rem;
|
||||
font-weight: 600;
|
||||
transition: color .2s;
|
||||
}
|
||||
.navlinks a:hover { color: var(--text); }
|
||||
.balance-pill {
|
||||
background: var(--panel);
|
||||
border: 1px solid var(--panel-border);
|
||||
padding: 6px 13px;
|
||||
border-radius: 999px;
|
||||
font-weight: 700;
|
||||
font-size: 0.9rem;
|
||||
color: #7cffb0;
|
||||
}
|
||||
|
||||
/* ------- buttons ------- */
|
||||
.btn {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 8px;
|
||||
border: none;
|
||||
cursor: pointer;
|
||||
text-decoration: none;
|
||||
font-weight: 700;
|
||||
font-size: 0.98rem;
|
||||
padding: 12px 26px;
|
||||
border-radius: 12px;
|
||||
color: #fff;
|
||||
background: linear-gradient(135deg, var(--nebula-a), var(--nebula-b));
|
||||
box-shadow: 0 4px 24px rgba(123,47,247,0.4);
|
||||
transition: transform .18s ease, box-shadow .18s ease;
|
||||
}
|
||||
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 34px rgba(123,47,247,0.55); }
|
||||
.btn.ghost {
|
||||
background: transparent;
|
||||
border: 1px solid var(--panel-border);
|
||||
box-shadow: none;
|
||||
color: var(--text);
|
||||
}
|
||||
.btn.ghost:hover { background: rgba(123,47,247,0.12); }
|
||||
.btn.sm { padding: 8px 16px; font-size: 0.86rem; }
|
||||
|
||||
/* ------- hero ------- */
|
||||
.hero {
|
||||
padding: 88px 0 72px;
|
||||
text-align: center;
|
||||
}
|
||||
.hero h1 {
|
||||
font-size: clamp(2.4rem, 6vw, 4.4rem);
|
||||
margin: 0 0 18px;
|
||||
line-height: 1.05;
|
||||
font-weight: 900;
|
||||
letter-spacing: -0.5px;
|
||||
background: linear-gradient(120deg, #ffffff, #cfc4ff 40%, var(--nebula-c));
|
||||
-webkit-background-clip: text;
|
||||
background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
}
|
||||
.hero p.sub {
|
||||
font-size: 1.18rem;
|
||||
color: var(--muted);
|
||||
max-width: 640px;
|
||||
margin: 0 auto 32px;
|
||||
line-height: 1.6;
|
||||
}
|
||||
.hero .cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
|
||||
|
||||
/* ------- stat strip ------- */
|
||||
.stats {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
|
||||
gap: 16px;
|
||||
margin: 48px 0;
|
||||
}
|
||||
.stat {
|
||||
background: var(--panel);
|
||||
border: 1px solid var(--panel-border);
|
||||
border-radius: var(--radius);
|
||||
padding: 22px;
|
||||
text-align: center;
|
||||
backdrop-filter: blur(8px);
|
||||
}
|
||||
.stat .n { font-size: 1.9rem; font-weight: 900; color: #fff; }
|
||||
.stat .l { color: var(--muted); font-size: 0.88rem; margin-top: 4px; }
|
||||
|
||||
/* ------- platform grid (services) ------- */
|
||||
.section-title {
|
||||
font-size: 1.7rem;
|
||||
font-weight: 800;
|
||||
margin: 40px 0 18px;
|
||||
}
|
||||
.platform-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
|
||||
gap: 18px;
|
||||
}
|
||||
.card {
|
||||
background: var(--panel);
|
||||
border: 1px solid var(--panel-border);
|
||||
border-radius: var(--radius);
|
||||
padding: 24px;
|
||||
backdrop-filter: blur(8px);
|
||||
transition: transform .22s ease, box-shadow .22s ease, border-color .22s;
|
||||
}
|
||||
.card:hover {
|
||||
transform: translateY(-4px);
|
||||
border-color: rgba(130,110,255,0.45);
|
||||
box-shadow: var(--glow);
|
||||
}
|
||||
.card h3 { margin: 0 0 8px; font-size: 1.15rem; }
|
||||
.card .meta { color: var(--muted); font-size: 0.86rem; }
|
||||
.card .price {
|
||||
font-size: 1.35rem;
|
||||
font-weight: 800;
|
||||
color: #7cffb0;
|
||||
margin: 10px 0;
|
||||
}
|
||||
.card .row { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
|
||||
|
||||
/* platform icon "planets" */
|
||||
.planet {
|
||||
width: 44px; height: 44px; border-radius: 50%;
|
||||
display: inline-flex; align-items: center; justify-content: center;
|
||||
font-size: 1.4rem;
|
||||
box-shadow: inset -4px -4px 10px rgba(0,0,0,0.35);
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
/* ------- forms ------- */
|
||||
.field { margin-bottom: 18px; }
|
||||
.field label { display: block; color: var(--muted); font-size: 0.86rem; font-weight: 600; margin-bottom: 6px; }
|
||||
.field input {
|
||||
width: 100%;
|
||||
padding: 13px 15px;
|
||||
border-radius: 11px;
|
||||
border: 1px solid var(--panel-border);
|
||||
background: rgba(10,10,30,0.6);
|
||||
color: var(--text);
|
||||
font-size: 1rem;
|
||||
}
|
||||
.field input:focus { outline: none; border-color: var(--nebula-b); box-shadow: 0 0 0 3px rgba(43,108,255,0.2); }
|
||||
|
||||
/* ------- slider ------- */
|
||||
.slider-wrap { margin: 22px 0; }
|
||||
input[type=range] {
|
||||
-webkit-appearance: none; appearance: none;
|
||||
width: 100%; height: 8px; border-radius: 999px;
|
||||
background: linear-gradient(90deg, var(--nebula-a), var(--nebula-b));
|
||||
outline: none;
|
||||
}
|
||||
input[type=range]::-webkit-slider-thumb {
|
||||
-webkit-appearance: none; appearance: none;
|
||||
width: 26px; height: 26px; border-radius: 50%;
|
||||
background: #fff;
|
||||
border: 4px solid var(--nebula-c);
|
||||
cursor: pointer;
|
||||
box-shadow: var(--glow);
|
||||
}
|
||||
.live-price {
|
||||
text-align: center;
|
||||
font-size: 2rem;
|
||||
font-weight: 900;
|
||||
color: #7cffb0;
|
||||
margin: 12px 0;
|
||||
}
|
||||
.live-price small { color: var(--muted); font-size: 0.85rem; font-weight: 600; }
|
||||
|
||||
/* ------- tables ------- */
|
||||
table.list { width: 100%; border-collapse: collapse; }
|
||||
table.list th, table.list td {
|
||||
text-align: left; padding: 13px 14px;
|
||||
border-bottom: 1px solid var(--panel-border);
|
||||
font-size: 0.94rem;
|
||||
}
|
||||
table.list th { color: var(--muted); font-weight: 700; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.4px; }
|
||||
.badge {
|
||||
display: inline-block; padding: 3px 11px; border-radius: 999px;
|
||||
font-size: 0.78rem; font-weight: 700;
|
||||
}
|
||||
.badge.pending { background: rgba(255,200,80,0.18); color: #ffd36b; }
|
||||
.badge.completed{ background: rgba(124,255,176,0.18); color: #7cffb0; }
|
||||
.badge.credited { background: rgba(124,255,176,0.18); color: #7cffb0; }
|
||||
.badge.inprogress{ background: rgba(90,160,255,0.18); color: #7cc4ff; }
|
||||
.badge.canceled { background: rgba(255,120,120,0.18); color: #ff9a9a; }
|
||||
|
||||
/* ------- flash ------- */
|
||||
.flash {
|
||||
padding: 13px 18px; border-radius: 11px; margin: 16px 0;
|
||||
font-weight: 600; font-size: 0.94rem;
|
||||
}
|
||||
.flash.error { background: rgba(255,90,90,0.16); border: 1px solid rgba(255,90,90,0.35); color: #ffb3b3; }
|
||||
.flash.success { background: rgba(124,255,176,0.14); border: 1px solid rgba(124,255,176,0.35); color: #a4ffc9; }
|
||||
|
||||
/* ------- auth card ------- */
|
||||
.auth-card { max-width: 420px; margin: 60px auto; }
|
||||
|
||||
/* ------- footer ------- */
|
||||
footer.site {
|
||||
position: relative; z-index: 2;
|
||||
margin-top: 80px;
|
||||
padding: 34px 0;
|
||||
text-align: center;
|
||||
color: var(--muted);
|
||||
border-top: 1px solid var(--panel-border);
|
||||
font-size: 0.88rem;
|
||||
}
|
||||
footer.site a { color: var(--nebula-b); text-decoration: none; font-weight: 600; }
|
||||
|
||||
.muted { color: var(--muted); }
|
||||
.center { text-align: center; }
|
||||
.mt-2 { margin-top: 20px; }
|
||||
|
||||
/* ------- interactivity: press, tilt, reveal, ripple, launch ------- */
|
||||
.btn:active {
|
||||
transform: translateY(1px) scale(0.97);
|
||||
box-shadow: 0 2px 12px rgba(123,47,247,0.4);
|
||||
}
|
||||
@keyframes ripple {
|
||||
from { transform: scale(0); opacity: 0.5; }
|
||||
to { transform: scale(2.4); opacity: 0; }
|
||||
}
|
||||
|
||||
/* card tilt smoothing — gentle, cinematic */
|
||||
.card {
|
||||
transition: transform .25s cubic-bezier(.22,.68,.43,1), box-shadow .22s ease, border-color .22s ease;
|
||||
will-change: transform;
|
||||
}
|
||||
.card.reveal { transition: opacity .7s ease, transform .7s ease, box-shadow .22s ease, border-color .22s ease; }
|
||||
|
||||
/* scroll reveal */
|
||||
.reveal { opacity: 0; transform: translateY(16px); }
|
||||
.reveal.revealed { opacity: 1; transform: translateY(0); }
|
||||
|
||||
/* launch button — pulsing "ready to go" glow */
|
||||
@keyframes pulse-glow {
|
||||
0%, 100% { box-shadow: 0 4px 24px rgba(123,47,247,0.4); }
|
||||
50% { box-shadow: 0 4px 44px rgba(255,45,149,0.6); }
|
||||
}
|
||||
.btn.launch { animation: pulse-glow 2.6s ease-in-out infinite; }
|
||||
.btn.launch .rocket { display: inline-block; transition: transform .2s ease; }
|
||||
.btn.launch:hover .rocket { transform: translateY(-3px) translateX(2px); }
|
||||
.btn.launch:active .rocket { transform: translateY(6px); }
|
||||
|
||||
/* launch celebration banner */
|
||||
#launch-banner {
|
||||
position: fixed; top: 20px; left: 50%; transform: translateX(-50%) translateY(-80px);
|
||||
z-index: 10000;
|
||||
background: linear-gradient(135deg, var(--nebula-a), var(--nebula-c));
|
||||
color: #fff; font-weight: 800; padding: 14px 28px; border-radius: 999px;
|
||||
box-shadow: 0 8px 40px rgba(255,45,149,0.5);
|
||||
opacity: 0; pointer-events: none;
|
||||
transition: transform .5s cubic-bezier(.22,1,.36,1), opacity .4s ease;
|
||||
}
|
||||
#launch-banner.show { transform: translateX(-50%) translateY(0); opacity: 1; }
|
||||
|
||||
/* ------- orbital planet picker ------- */
|
||||
.orbit-wrap {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
max-width: 480px;
|
||||
height: 440px;
|
||||
margin: 12px auto 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.orbit-sun {
|
||||
width: 92px; height: 92px;
|
||||
border-radius: 50%;
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
font-size: 2.5rem;
|
||||
background: radial-gradient(circle at 35% 35%, #fff, var(--nebula-a) 50%, var(--nebula-c));
|
||||
box-shadow: 0 0 50px rgba(123,47,247,0.7), 0 0 90px rgba(255,45,149,0.4);
|
||||
z-index: 2;
|
||||
animation: sun-pulse 4s ease-in-out infinite;
|
||||
}
|
||||
@keyframes sun-pulse {
|
||||
0%, 100% { box-shadow: 0 0 40px rgba(123,47,247,0.6), 0 0 80px rgba(255,45,149,0.35); }
|
||||
50% { box-shadow: 0 0 62px rgba(123,47,247,0.85), 0 0 115px rgba(255,45,149,0.55); }
|
||||
}
|
||||
.orbit-ring { position: absolute; inset: 0; }
|
||||
.orbit-ring::before {
|
||||
content: "";
|
||||
position: absolute; top: 50%; left: 50%;
|
||||
width: 350px; height: 350px;
|
||||
transform: translate(-50%, -50%);
|
||||
border-radius: 50%;
|
||||
border: 1px solid rgba(130,110,255,0.16);
|
||||
}
|
||||
.planet-orb {
|
||||
position: absolute; top: 50%; left: 50%;
|
||||
width: 64px; height: 64px;
|
||||
margin: -32px 0 0 -32px;
|
||||
border-radius: 50%;
|
||||
display: flex; align-items: center; justify-content: center;
|
||||
text-decoration: none;
|
||||
background: radial-gradient(circle at 35% 35%, #3b2b8a, #150d2c 72%);
|
||||
box-shadow: inset -4px -4px 10px rgba(0,0,0,0.45), 0 0 18px rgba(123,47,247,0.35);
|
||||
transition: box-shadow .3s ease, background .3s ease;
|
||||
will-change: transform;
|
||||
}
|
||||
.planet-orb .po-emoji { font-size: 1.5rem; pointer-events: none; }
|
||||
.planet-orb .po-name {
|
||||
position: absolute; top: 100%; left: 50%;
|
||||
transform: translateX(-50%) translateY(6px);
|
||||
white-space: nowrap;
|
||||
font-size: 0.75rem; font-weight: 700; color: var(--muted);
|
||||
opacity: 0; transition: opacity .25s ease, color .25s ease;
|
||||
pointer-events: none;
|
||||
}
|
||||
.planet-orb:hover { box-shadow: inset -4px -4px 10px rgba(0,0,0,0.45), 0 0 30px rgba(255,45,149,0.65); z-index: 3; }
|
||||
.planet-orb:hover .po-name { opacity: 1; color: var(--text); }
|
||||
|
||||
/* ------- delivery ticker ------- */
|
||||
.tick { margin-bottom: 16px; }
|
||||
.tick-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 6px; }
|
||||
.tick-name { font-weight: 700; font-size: 0.92rem; }
|
||||
.tick-meta { color: var(--muted); font-size: 0.8rem; white-space: nowrap; }
|
||||
.tick-bar {
|
||||
height: 10px; border-radius: 999px;
|
||||
background: rgba(10,10,30,0.6);
|
||||
border: 1px solid var(--panel-border);
|
||||
overflow: hidden;
|
||||
}
|
||||
.tick-fill {
|
||||
height: 100%;
|
||||
background: linear-gradient(90deg, var(--nebula-a), var(--nebula-c));
|
||||
border-radius: 999px;
|
||||
transition: width 1s cubic-bezier(.22,1,.36,1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user