169 lines
4.8 KiB
CSS
169 lines
4.8 KiB
CSS
@import "tailwindcss";
|
|
|
|
:root {
|
|
--background: #060b19;
|
|
--background-soft: #0b1329;
|
|
--foreground: #e8eefc;
|
|
--muted: #94a3b8;
|
|
--card: rgba(11, 19, 41, 0.72);
|
|
--card-strong: rgba(15, 25, 50, 0.9);
|
|
--card-border: rgba(148, 163, 184, 0.26);
|
|
--ring: rgba(56, 189, 248, 0.38);
|
|
--accent: #22d3ee;
|
|
--accent-2: #818cf8;
|
|
--accent-3: #f472b6;
|
|
}
|
|
|
|
@theme inline {
|
|
--color-background: var(--background);
|
|
--color-foreground: var(--foreground);
|
|
--font-sans: var(--font-geist-sans);
|
|
--font-mono: var(--font-geist-mono);
|
|
}
|
|
|
|
@media (prefers-color-scheme: dark) {
|
|
:root {
|
|
--background: #050915;
|
|
--foreground: #e2e8f8;
|
|
}
|
|
}
|
|
|
|
html.light {
|
|
--background: #f3f6ff;
|
|
--background-soft: #e9efff;
|
|
--foreground: #0f172a;
|
|
--muted: #475569;
|
|
--card: rgba(255, 255, 255, 0.84);
|
|
--card-strong: rgba(255, 255, 255, 0.96);
|
|
--card-border: rgba(148, 163, 184, 0.34);
|
|
--ring: rgba(14, 116, 144, 0.22);
|
|
--accent: #0891b2;
|
|
--accent-2: #4f46e5;
|
|
--accent-3: #db2777;
|
|
}
|
|
|
|
@keyframes bg-shift {
|
|
0% { background-position: 0% 0%, 100% 0%, 50% 0%; }
|
|
50% { background-position: 10% 20%, 90% 16%, 50% 100%; }
|
|
100% { background-position: 0% 0%, 100% 0%, 50% 0%; }
|
|
}
|
|
|
|
@keyframes panel-glow {
|
|
0% { box-shadow: 0 12px 30px rgba(15, 23, 42, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06); }
|
|
50% { box-shadow: 0 14px 34px rgba(34, 211, 238, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.08); }
|
|
100% { box-shadow: 0 12px 30px rgba(15, 23, 42, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06); }
|
|
}
|
|
|
|
@keyframes neon-pulse {
|
|
0%, 100% { box-shadow: 0 10px 24px rgba(34, 211, 238, 0.28); }
|
|
50% { box-shadow: 0 14px 30px rgba(244, 114, 182, 0.3); }
|
|
}
|
|
|
|
body {
|
|
background: var(--background);
|
|
color: var(--foreground);
|
|
font-family: var(--font-geist-sans), Arial, sans-serif;
|
|
background-image:
|
|
radial-gradient(1000px 440px at 10% -10%, rgba(34, 211, 238, 0.2), transparent 64%),
|
|
radial-gradient(900px 460px at 88% -16%, rgba(129, 140, 248, 0.22), transparent 60%),
|
|
linear-gradient(180deg, var(--background-soft), var(--background));
|
|
background-size: 120% 120%, 120% 120%, 100% 100%;
|
|
animation: bg-shift 18s ease-in-out infinite;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
* {
|
|
border-color: var(--card-border);
|
|
}
|
|
|
|
.card-glass {
|
|
@apply rounded-2xl border p-4 backdrop-blur-xl transition duration-300;
|
|
background:
|
|
linear-gradient(140deg, color-mix(in srgb, var(--accent) 10%, transparent), transparent 40%),
|
|
linear-gradient(320deg, color-mix(in srgb, var(--accent-2) 12%, transparent), transparent 50%),
|
|
var(--card);
|
|
border-color: var(--card-border);
|
|
animation: panel-glow 6s ease-in-out infinite;
|
|
}
|
|
|
|
.card-glass:hover {
|
|
box-shadow: 0 18px 42px rgba(34, 211, 238, 0.2);
|
|
transform: translateY(-3px) scale(1.01);
|
|
}
|
|
|
|
.pill {
|
|
@apply rounded-full border px-3.5 py-1.5 text-xs font-medium transition duration-200;
|
|
background: rgba(148, 163, 184, 0.1);
|
|
border-color: rgba(148, 163, 184, 0.24);
|
|
}
|
|
|
|
.pill-active {
|
|
@apply text-cyan-50;
|
|
background: linear-gradient(135deg, rgba(6, 182, 212, 0.46), rgba(99, 102, 241, 0.42));
|
|
border-color: rgba(125, 211, 252, 0.5);
|
|
}
|
|
|
|
.cta-main {
|
|
@apply rounded-xl px-4 py-2 text-sm font-semibold text-slate-950 transition duration-200;
|
|
background: linear-gradient(120deg, #67e8f9 0%, #a5b4fc 50%, #f9a8d4 100%);
|
|
box-shadow: 0 10px 24px rgba(34, 211, 238, 0.28);
|
|
animation: neon-pulse 3.8s ease-in-out infinite;
|
|
}
|
|
|
|
.cta-main:hover {
|
|
transform: translateY(-2px) scale(1.015);
|
|
box-shadow: 0 14px 32px rgba(99, 102, 241, 0.4);
|
|
}
|
|
|
|
.cta-sub {
|
|
@apply rounded-xl border px-4 py-2 text-sm transition duration-200;
|
|
background: linear-gradient(180deg, rgba(15, 23, 42, 0.32), rgba(15, 23, 42, 0.2));
|
|
}
|
|
|
|
.cta-sub:hover {
|
|
border-color: rgba(125, 211, 252, 0.45);
|
|
background: rgba(15, 23, 42, 0.4);
|
|
}
|
|
|
|
.section-title {
|
|
@apply text-xl font-semibold tracking-tight md:text-2xl;
|
|
}
|
|
|
|
.input-fancy {
|
|
@apply w-full rounded-2xl border px-4 py-3 text-sm outline-none transition placeholder:text-slate-400;
|
|
background: rgba(15, 23, 42, 0.36);
|
|
border-color: rgba(125, 211, 252, 0.2);
|
|
}
|
|
|
|
.input-fancy:focus {
|
|
box-shadow: 0 0 0 4px var(--ring);
|
|
}
|
|
|
|
.panel {
|
|
@apply rounded-2xl border p-4 md:p-5;
|
|
background:
|
|
linear-gradient(145deg, color-mix(in srgb, var(--accent) 7%, transparent), transparent 48%),
|
|
linear-gradient(315deg, color-mix(in srgb, var(--accent-2) 9%, transparent), transparent 52%),
|
|
var(--card);
|
|
border-color: var(--card-border);
|
|
animation: panel-glow 7s ease-in-out infinite;
|
|
}
|
|
|
|
.panel-strong {
|
|
@apply rounded-2xl border p-4 md:p-5;
|
|
background:
|
|
linear-gradient(140deg, color-mix(in srgb, var(--accent) 12%, transparent), transparent 42%),
|
|
linear-gradient(320deg, color-mix(in srgb, var(--accent-3) 12%, transparent), transparent 55%),
|
|
var(--card-strong);
|
|
border-color: var(--card-border);
|
|
animation: panel-glow 5.5s ease-in-out infinite;
|
|
}
|
|
|
|
.text-muted {
|
|
color: var(--muted);
|
|
}
|
|
|
|
a, button {
|
|
transition: all 0.22s ease;
|
|
}
|