make themes more distict

This commit is contained in:
Lukas Cremer
2026-05-14 00:17:13 +02:00
parent f4a1b4dca9
commit ec78dfeddd
8 changed files with 995 additions and 737 deletions

422
public/themes/noir.css Normal file
View File

@@ -0,0 +1,422 @@
/* ═══════════════════════════════════════════════════════════════════════════
🔍 NOIR THEME — Crime files. Cold coffee. No magic here.
═══════════════════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Special+Elite&family=Source+Sans+3:wght@400;600;700&display=swap');
:root {
--n-black: #080c10;
--n-dark: #0d1117;
--n-surface: #161b22;
--n-raised: #1c2128;
--n-border: #30363d;
--n-border-dim: #21262d;
--n-text: #cdd9e5;
--n-muted: #768390;
--n-dim: #545d68;
--n-blue: #539bf5;
--n-blue-dark: #2e6cd1;
--n-amber: #c69026;
--n-red: #e5534b;
--n-green: #57ab5a;
--n-paper: #1a1209;
--n-paper-line: rgba(255,255,255,0.04);
--n-ink: #d4c9b0;
--n-ink-dim: #8a7d68;
--theme-accent: #539bf5; /* compat */
}
/* ─── Spacing & typography ───────────────────────────────────────────────── */
body { font-family: 'Source Sans 3', sans-serif; }
h1 { font-size: 1.5em; font-weight: 700; }
header { padding: 20px 36px; }
.sidebar-item { padding: 12px 16px; font-size: 0.88em; line-height: 1.4; }
.points-display { padding: 10px 18px; text-align: center; }
.points-label { font-size: 0.65em; font-weight: 700; margin-bottom: 3px; }
.points-value { font-size: 1.8em; font-weight: 700; }
.user-name { font-size: 0.78em; font-weight: 600; }
.logout-button { font-size: 0.72em; padding: 4px 10px; }
.progress-section { padding: 14px 36px; }
.progress-label { margin-bottom: 6px; font-size: 0.72em; font-weight: 700; }
.progress-bar-container { margin-bottom: 5px; }
.progress-text { font-size: 0.72em; font-weight: 600; }
.task-section { padding: 26px 36px; }
.chapter-description { padding: 16px 20px; margin-bottom: 22px; font-size: 0.96em; line-height: 1.9; }
.task-container { gap: 16px; }
.task-card { padding: 22px 26px; }
.task-header { margin-bottom: 14px; padding-bottom: 12px; }
.task-title { font-size: 0.85em; font-weight: 700; }
.task-points { padding: 3px 10px; font-size: 0.75em; font-weight: 700; }
.task-question { font-size: 1.05em; margin: 16px 0; line-height: 1.85; font-weight: 400; }
.task-input-group { gap: 10px; margin: 16px 0 10px; padding-top: 14px; }
.task-input { font-size: 1.05em; padding: 9px 12px; width: 130px; font-weight: 600; }
.task-button { padding: 9px 24px; font-size: 0.82em; font-weight: 700; }
.task-status { margin-top: 10px; font-size: 0.9em; font-weight: 700; }
.confetti { width: 5px; height: 5px; }
.message { padding: 11px 20px; font-size: 0.92em; font-weight: 700; }
.auth-card { padding: 32px; }
.auth-title { font-size: 1.4em; font-weight: 700; margin-bottom: 20px; padding-bottom: 14px; }
.auth-tabs { margin-bottom: 18px; }
.auth-tab { padding: 7px 14px; font-size: 0.75em; font-weight: 700; }
.auth-input { padding: 9px 12px; margin-bottom: 8px; font-size: 0.88em; }
.auth-error { font-size: 0.82em; margin-bottom: 8px; }
.auth-button { padding: 10px; font-size: 0.82em; font-weight: 700; }
.reset-button { padding: 7px 12px; font-size: 0.75em; font-weight: 600; }
.class-picker-card { padding: 32px; }
.class-picker-title { font-size: 1.3em; font-weight: 700; margin-bottom: 6px; }
.class-picker-subtitle { font-size: 0.85em; margin-bottom: 22px; }
.class-list { gap: 8px; }
.class-card { padding: 14px 18px; gap: 14px; }
.class-card-icon { font-size: 1.8em; }
.class-card-name { font-size: 1em; font-weight: 700; margin-bottom: 2px; }
.class-card-desc { font-size: 0.8em; }
.completion-icon { font-size: 2.6em; margin-bottom: 12px; }
/* ─── Full-page background ───────────────────────────────────────────────── */
body { background: var(--n-black); }
/* ─── Sidebar ────────────────────────────────────────────────────────────── */
.sidebar {
background: var(--n-dark);
border-right: 1px solid var(--n-border);
box-shadow: 2px 0 16px rgba(0,0,0,0.8);
}
.sidebar::-webkit-scrollbar { width: 2px; }
.sidebar::-webkit-scrollbar-thumb { background: var(--n-border); }
.sidebar-header {
background: var(--n-surface);
border-bottom: 1px solid var(--n-border);
padding: 20px 18px;
}
.sidebar-header h2 {
font-family: 'Special Elite', monospace;
color: var(--n-muted);
font-size: 0.72em;
font-weight: 400;
letter-spacing: 3px;
text-transform: uppercase;
}
.sidebar-item {
margin: 0;
border-radius: 0;
color: var(--n-muted);
font-weight: 400;
border-bottom: 1px solid var(--n-border-dim);
border-left: 2px solid transparent;
transition: background 0.12s, color 0.12s, border-left-color 0.12s;
}
.sidebar-item:hover {
background: var(--n-surface);
color: var(--n-text);
border-left-color: var(--n-dim);
transform: none;
}
.sidebar-item.active {
background: var(--n-raised);
border-left: 2px solid var(--n-blue);
color: var(--n-text);
font-weight: 700;
box-shadow: inset 3px 0 12px rgba(83,155,245,0.08);
}
.sidebar-item.completed {
border-left: 2px solid var(--n-green);
color: var(--n-green);
background: rgba(87,171,90,0.05);
}
.sidebar-item.completed.active {
background: var(--n-raised);
border-left: 2px solid var(--n-blue);
color: var(--n-text);
}
/* ─── Main content — aged dark paper ────────────────────────────────────── */
.main-content, .container {
background: var(--n-paper);
background-image: repeating-linear-gradient(
transparent, transparent 27px,
var(--n-paper-line) 27px, var(--n-paper-line) 28px
);
}
/* ─── Header ─────────────────────────────────────────────────────────────── */
header {
background: var(--n-dark);
border-bottom: 2px solid var(--n-blue);
}
h1 {
font-family: 'Special Elite', monospace;
font-weight: 400;
color: var(--n-text);
letter-spacing: 3px;
text-transform: uppercase;
background: none;
-webkit-background-clip: unset;
-webkit-text-fill-color: unset;
background-clip: unset;
animation: none;
}
/* ─── Points ─────────────────────────────────────────────────────────────── */
.points-display {
background: var(--n-surface);
border: 1px solid var(--n-border);
border-radius: 0;
box-shadow: none;
}
.points-label { color: var(--n-dim); text-transform: uppercase; letter-spacing: 2.5px; }
.points-value { color: var(--n-blue); font-family: 'Special Elite', monospace; }
/* ─── User area ──────────────────────────────────────────────────────────── */
.user-name { color: var(--n-muted); text-transform: uppercase; letter-spacing: 1px; }
.logout-button {
background: none;
border: 1px solid var(--n-border);
color: var(--n-muted);
border-radius: 0;
text-transform: uppercase;
letter-spacing: 1px;
transition: border-color 0.2s, color 0.2s;
}
.logout-button:hover { border-color: var(--n-red); color: var(--n-red); background: none; }
/* ─── Progress ───────────────────────────────────────────────────────────── */
.progress-section {
background: rgba(0,0,0,0.4);
border-bottom: 1px solid var(--n-border-dim);
}
.progress-label { color: var(--n-dim); text-transform: uppercase; letter-spacing: 2px; }
.progress-bar-container {
height: 6px;
background: rgba(255,255,255,0.06);
border-radius: 0;
border: none;
}
.progress-bar { background: var(--n-blue); border-radius: 0; animation: none; box-shadow: none; }
.progress-text { color: var(--n-dim); }
/* ─── Chapter description ────────────────────────────────────────────────── */
.chapter-description {
background: rgba(0,0,0,0.25);
border: 1px solid var(--n-border-dim);
border-left: 3px solid var(--n-blue);
border-radius: 0;
color: var(--n-ink);
font-family: 'Special Elite', monospace;
}
/* ─── Task cards — case files ────────────────────────────────────────────── */
.task-card {
background: rgba(0,0,0,0.3);
border: 1px solid var(--n-border-dim);
border-top: 2px solid var(--n-border);
border-radius: 0;
box-shadow: 0 2px 12px rgba(0,0,0,0.4);
transition: box-shadow 0.2s, border-top-color 0.2s;
}
.task-card::before { display: none; }
.task-card:hover {
box-shadow: 0 4px 20px rgba(0,0,0,0.5);
border-top-color: var(--n-blue);
transform: none;
}
.task-header { border-bottom: 1px solid var(--n-border-dim); }
.task-title {
font-family: 'Special Elite', monospace;
color: var(--n-text);
font-weight: 400;
text-transform: uppercase;
letter-spacing: 2px;
}
.task-points {
background: var(--n-surface);
color: var(--n-muted);
border: 1px solid var(--n-border);
border-radius: 0;
text-transform: uppercase;
letter-spacing: 1px;
}
.task-question { color: var(--n-ink); }
.task-input-group { border-top: 1px solid var(--n-border-dim); }
.task-input {
background: rgba(0,0,0,0.3);
border: 1px solid var(--n-border);
border-radius: 0;
color: var(--n-text);
font-family: 'Special Elite', monospace;
transition: border-color 0.2s;
}
.task-input:focus {
outline: none;
border-color: var(--n-blue);
box-shadow: 0 0 0 3px rgba(83,155,245,0.1);
}
.task-button {
background: var(--n-blue);
color: #fff;
border-radius: 0;
text-transform: uppercase;
letter-spacing: 2px;
box-shadow: none;
transition: background 0.15s;
}
.task-button:hover { background: var(--n-blue-dark); transform: none; box-shadow: none; opacity: 1; }
.task-button:active { background: #1f4fa5; }
.task-button:disabled { background: var(--n-surface); color: var(--n-dim); }
.task-status.success { color: var(--n-green); }
.task-status.error { color: var(--n-red); }
.task-status.completed { color: var(--n-amber); }
/* ─── Confetti (square, minimal) ─────────────────────────────────────────── */
.confetti { border-radius: 0; background: var(--n-blue); }
/* ─── Toast ──────────────────────────────────────────────────────────────── */
.message {
border-radius: 0;
border: 1px solid;
box-shadow: 0 4px 20px rgba(0,0,0,0.6);
font-family: 'Source Sans 3', sans-serif;
}
.message.success { background: #0d1f12; color: var(--n-green); border-color: var(--n-green); }
.message.error { background: #1f0d0d; color: #f07070; border-color: var(--n-red); }
/* ─── Overlays — CRT scanline texture ───────────────────────────────────── */
.auth-overlay,
.class-picker-overlay {
background:
repeating-linear-gradient(
0deg,
transparent, transparent 2px,
rgba(255,255,255,0.012) 2px, rgba(255,255,255,0.012) 4px
),
var(--n-black);
}
.auth-card,
.class-picker-card {
background: var(--n-dark);
border: 1px solid var(--n-border);
border-radius: 0;
box-shadow: 0 0 0 1px rgba(255,255,255,0.03), 0 20px 60px rgba(0,0,0,0.8);
backdrop-filter: none;
}
.auth-title {
font-family: 'Special Elite', monospace;
color: var(--n-text);
font-weight: 400;
letter-spacing: 2px;
text-transform: uppercase;
border-bottom: 1px solid var(--n-border);
background: none;
-webkit-background-clip: unset;
-webkit-text-fill-color: unset;
background-clip: unset;
animation: none;
}
.class-picker-title {
font-family: 'Special Elite', monospace;
color: var(--n-text);
font-weight: 400;
letter-spacing: 2px;
text-transform: uppercase;
}
.class-picker-subtitle { color: var(--n-muted); }
.auth-tabs { border-bottom: 1px solid var(--n-border); }
.auth-tab {
color: var(--n-dim);
border-bottom: 2px solid transparent;
margin-bottom: -1px;
text-transform: uppercase;
letter-spacing: 1.5px;
transition: color 0.2s, border-color 0.2s;
}
.auth-tab.active { color: var(--n-text); border-bottom-color: var(--n-blue); }
.auth-input {
background: var(--n-surface);
border: 1px solid var(--n-border);
border-radius: 0;
color: var(--n-text);
transition: border-color 0.2s;
}
.auth-input:focus { outline: none; border-color: var(--n-blue); }
.auth-input::placeholder { color: var(--n-dim); }
.auth-error { color: #f07070; }
.auth-button {
background: var(--n-blue);
color: #fff;
border-radius: 0;
text-transform: uppercase;
letter-spacing: 2px;
transition: background 0.2s;
box-shadow: none;
}
.auth-button:hover { background: var(--n-blue-dark); opacity: 1; transform: none; }
.reset-button {
border: 1px solid rgba(229,83,75,0.35);
color: var(--n-red);
border-radius: 0;
transition: background 0.2s;
}
.reset-button:hover { background: rgba(229,83,75,0.08); }
/* ─── Class cards in picker ──────────────────────────────────────────────── */
.class-card {
background: var(--n-surface);
border: 1px solid var(--n-border);
border-left: 2px solid var(--n-blue);
border-radius: 0;
transition: background 0.15s;
}
.class-card:hover { background: var(--n-raised); transform: none; box-shadow: none; opacity: 1; }
.class-card-name {
font-family: 'Special Elite', monospace;
font-weight: 400;
letter-spacing: 1px;
}
.completion-icon { animation: none; }

410
public/themes/unicorn.css Normal file
View File

@@ -0,0 +1,410 @@
/* ═══════════════════════════════════════════════════════════════════════════
🦄 UNICORN THEME — Maximum magic. No apologies.
═══════════════════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');
:root {
--u-bg: #1a0840;
--u-sidebar: #120630;
--u-purple: #6d28d9;
--u-pink: #ff69b4;
--u-pink-dark: #db2777;
--u-pink-glow: rgba(255, 105, 180, 0.35);
--u-content: #fdf4ff;
--u-card: #ffffff;
--u-text-dark: #3b0764;
--u-text-mid: #7e22ce;
--u-text-pale: #fce4ff;
--u-muted: #c4a0dc;
--u-green: #34d399;
--u-red: #f87171;
--theme-accent: #ff69b4; /* compat */
--rainbow: linear-gradient(90deg,
#ff6ec7 0%, #c084fc 20%, #60a5fa 40%, #34d399 60%, #fbbf24 80%, #ff6ec7 100%);
}
/* ─── Spacing & typography ───────────────────────────────────────────────── */
body { font-family: 'Nunito', sans-serif; }
h1 { font-size: 2em; font-weight: 900; }
header { padding: 24px 44px; }
.sidebar-item { padding: 12px 16px; font-size: 0.93em; line-height: 1.4; }
.points-display { padding: 14px 26px; text-align: center; }
.points-label { font-size: 0.72em; font-weight: 700; margin-bottom: 4px; }
.points-value { font-size: 2.2em; font-weight: 900; }
.user-name { font-size: 0.85em; font-weight: 600; }
.logout-button { font-size: 0.8em; padding: 5px 14px; }
.progress-section { padding: 20px 44px; }
.progress-label { margin-bottom: 10px; font-size: 0.8em; font-weight: 700; }
.progress-bar-container { margin-bottom: 6px; }
.progress-text { font-size: 0.8em; font-weight: 700; }
.task-section { padding: 36px 44px; }
.chapter-description { padding: 20px 26px; margin-bottom: 32px; font-size: 1.05em; line-height: 1.8; }
.task-container { gap: 28px; }
.task-card { padding: 32px; }
.task-header { margin-bottom: 20px; padding-bottom: 16px; }
.task-title { font-size: 1.05em; font-weight: 800; }
.task-points { padding: 5px 16px; font-size: 0.82em; font-weight: 800; }
.task-question { font-size: 1.15em; margin: 22px 0; line-height: 1.8; font-weight: 600; }
.task-input-group { gap: 14px; margin: 24px 0 14px; padding-top: 20px; }
.task-input { font-size: 1.2em; padding: 12px 18px; width: 160px; font-weight: 700; }
.task-button { padding: 12px 32px; font-size: 1em; font-weight: 800; }
.task-status { margin-top: 16px; font-size: 1em; font-weight: 700; }
.confetti { width: 10px; height: 10px; }
.message { padding: 14px 24px; font-size: 1em; font-weight: 700; }
.auth-card { padding: 40px; }
.auth-title { font-size: 1.7em; font-weight: 900; margin-bottom: 24px; }
.auth-tabs { margin-bottom: 24px; }
.auth-tab { padding: 8px 20px; font-size: 0.9em; font-weight: 700; }
.auth-input { padding: 12px 16px; margin-bottom: 12px; font-size: 1em; }
.auth-error { font-size: 0.85em; margin-bottom: 10px; }
.auth-button { padding: 14px; font-size: 1em; font-weight: 900; }
.reset-button { padding: 10px 12px; font-size: 0.8em; font-weight: 600; }
.class-picker-card { padding: 44px; }
.class-picker-title { font-size: 1.6em; font-weight: 900; margin-bottom: 10px; }
.class-picker-subtitle { font-size: 0.92em; margin-bottom: 32px; }
.class-list { gap: 16px; }
.class-card { padding: 20px 24px; gap: 18px; }
.class-card-icon { font-size: 2.6em; }
.class-card-name { font-size: 1.15em; font-weight: 800; margin-bottom: 5px; }
.class-card-desc { font-size: 0.87em; }
.completion-icon { font-size: 3.6em; margin-bottom: 18px; }
/* ─── Full-page background with stars ───────────────────────────────────── */
body {
background: var(--u-bg);
background-image:
radial-gradient(1px 1px at 15% 25%, rgba(255,255,255,0.6) 0%, transparent 100%),
radial-gradient(1px 1px at 72% 8%, rgba(255,255,255,0.5) 0%, transparent 100%),
radial-gradient(1px 1px at 44% 60%, rgba(255,255,255,0.4) 0%, transparent 100%),
radial-gradient(1px 1px at 88% 45%, rgba(255,255,255,0.6) 0%, transparent 100%),
radial-gradient(1px 1px at 5% 80%, rgba(255,255,255,0.3) 0%, transparent 100%),
radial-gradient(2px 2px at 30% 70%, rgba(255,105,180,0.5) 0%, transparent 100%),
radial-gradient(2px 2px at 60% 30%, rgba(192,132,252,0.5) 0%, transparent 100%);
}
/* ─── Sidebar ────────────────────────────────────────────────────────────── */
.sidebar {
background: var(--u-sidebar);
border-right: 1px solid rgba(255, 105, 180, 0.15);
box-shadow: 4px 0 30px rgba(0, 0, 0, 0.6);
}
.sidebar::-webkit-scrollbar { width: 3px; }
.sidebar::-webkit-scrollbar-thumb { background: var(--u-pink); border-radius: 99px; }
.sidebar-header {
padding: 28px 20px 22px;
border-bottom: 1px solid rgba(255, 105, 180, 0.15);
background: linear-gradient(180deg, rgba(255,105,180,0.08) 0%, transparent 100%);
}
.sidebar-header h2 {
color: var(--u-muted);
font-size: 0.75em;
font-weight: 800;
letter-spacing: 2px;
text-transform: uppercase;
}
.sidebar-item {
border-radius: 10px;
margin: 3px 10px;
color: var(--u-muted);
font-weight: 600;
transition: background 0.18s, color 0.15s, transform 0.15s;
}
.sidebar-item:hover {
background: rgba(255, 105, 180, 0.12);
color: var(--u-text-pale);
transform: translateX(4px);
}
.sidebar-item.active {
background: linear-gradient(135deg, var(--u-pink), var(--u-purple));
color: #fff;
font-weight: 900;
box-shadow: 0 4px 20px var(--u-pink-glow);
}
.sidebar-item.completed {
background: rgba(52, 211, 153, 0.1);
color: #6ee7b7;
}
.sidebar-item.completed.active {
background: linear-gradient(135deg, var(--u-pink), var(--u-purple));
color: #fff;
}
/* ─── Main content ───────────────────────────────────────────────────────── */
.main-content, .container { background: var(--u-content); }
/* ─── Header ─────────────────────────────────────────────────────────────── */
header {
background: var(--u-bg);
border-bottom: 4px solid transparent;
border-image: var(--rainbow) 1;
}
h1 {
font-weight: 900;
background: var(--rainbow);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
background-size: 300% 100%;
animation: rainbowSlide 5s linear infinite;
}
@keyframes rainbowSlide {
0% { background-position: 0% 50%; }
100% { background-position: 300% 50%; }
}
/* ─── Points ─────────────────────────────────────────────────────────────── */
.points-display {
background: rgba(255, 105, 180, 0.1);
border: 2px solid var(--u-pink);
border-radius: 16px;
box-shadow: 0 0 20px var(--u-pink-glow);
}
.points-label { color: var(--u-muted); text-transform: uppercase; letter-spacing: 1.5px; }
.points-value { color: var(--u-pink); }
/* ─── User area ──────────────────────────────────────────────────────────── */
.user-name { color: var(--u-muted); }
.logout-button {
background: rgba(255,255,255,0.05);
border: 1px solid rgba(255,255,255,0.12);
color: var(--u-muted);
border-radius: 8px;
transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.logout-button:hover {
border-color: var(--u-pink);
color: var(--u-pink);
background: rgba(255, 105, 180, 0.1);
}
/* ─── Progress ───────────────────────────────────────────────────────────── */
.progress-section {
background: rgba(109, 40, 217, 0.05);
border-bottom: 1px solid rgba(255, 105, 180, 0.1);
}
.progress-label { color: var(--u-text-mid); letter-spacing: 1px; text-transform: uppercase; }
.progress-bar-container {
height: 18px;
background: rgba(109, 40, 217, 0.12);
border-radius: 99px;
border: 1px solid rgba(109, 40, 217, 0.2);
}
.progress-bar {
background: var(--rainbow);
background-size: 300% 100%;
border-radius: 99px;
animation: rainbowSlide 3s linear infinite;
box-shadow: 0 0 10px rgba(255, 105, 180, 0.5);
}
.progress-text { color: var(--u-text-mid); }
/* ─── Chapter description ────────────────────────────────────────────────── */
.chapter-description {
background: linear-gradient(135deg, rgba(109,40,217,0.06), rgba(255,105,180,0.06));
border: 1px solid rgba(255, 105, 180, 0.2);
border-left: 5px solid var(--u-pink);
border-radius: 16px;
color: var(--u-text-dark);
}
/* ─── Task cards ─────────────────────────────────────────────────────────── */
.task-card {
background: var(--u-card);
border: 2px solid rgba(192, 132, 252, 0.15);
border-radius: 20px;
box-shadow: 0 8px 32px rgba(255, 105, 180, 0.1);
transition: border-color 0.2s, box-shadow 0.25s, transform 0.2s;
}
.task-card::before {
content: '';
position: absolute;
top: 0; left: 0; right: 0;
height: 5px;
background: var(--rainbow);
background-size: 300% 100%;
border-radius: 20px 20px 0 0;
animation: rainbowSlide 5s linear infinite;
}
.task-card:hover {
border-color: rgba(255, 105, 180, 0.5);
box-shadow: 0 12px 40px rgba(255, 105, 180, 0.22);
transform: translateY(-4px);
}
.task-header { border-bottom: 1px solid rgba(192, 132, 252, 0.15); }
.task-title { color: var(--u-text-dark); font-weight: 800; }
.task-question { color: var(--u-text-dark); }
.task-points {
background: rgba(255, 105, 180, 0.1);
color: var(--u-pink-dark);
border: 1px solid rgba(255, 105, 180, 0.25);
border-radius: 99px;
}
.task-input-group { border-top: 1px solid rgba(192, 132, 252, 0.12); }
.task-input {
border: 2px solid rgba(109, 40, 217, 0.2);
border-radius: 12px;
background: #fff;
color: var(--u-text-dark);
transition: border-color 0.2s, box-shadow 0.2s;
}
.task-input:focus {
outline: none;
border-color: var(--u-pink);
box-shadow: 0 0 0 4px rgba(255, 105, 180, 0.15);
}
.task-button {
background: linear-gradient(135deg, var(--u-pink), var(--u-purple));
color: #fff;
border-radius: 12px;
box-shadow: 0 4px 20px var(--u-pink-glow);
transition: transform 0.15s, box-shadow 0.2s, opacity 0.2s;
}
.task-button:hover {
transform: translateY(-2px);
box-shadow: 0 8px 28px rgba(255, 105, 180, 0.55);
opacity: 0.92;
}
.task-button:active { transform: translateY(0); }
.task-button:disabled { background: #d4bde8; box-shadow: none; opacity: 0.6; }
.task-status.success { color: #15803d; }
.task-status.error { color: #dc2626; }
.task-status.completed { color: var(--u-pink-dark); }
/* ─── Confetti ───────────────────────────────────────────────────────────── */
.confetti { border-radius: 50%; background: var(--u-pink); }
/* ─── Toast ──────────────────────────────────────────────────────────────── */
.message { border-radius: 16px; box-shadow: 0 8px 32px rgba(0,0,0,0.2); font-family: 'Nunito', sans-serif; }
.message.success { background: linear-gradient(135deg, #15803d, #166534); color: #fff; }
.message.error { background: linear-gradient(135deg, #dc2626, #991b1b); color: #fff; }
/* ─── Overlays ───────────────────────────────────────────────────────────── */
.auth-overlay,
.class-picker-overlay {
background:
radial-gradient(ellipse at 30% 60%, rgba(109,40,217,0.5) 0%, transparent 50%),
radial-gradient(ellipse at 80% 20%, rgba(255,105,180,0.4) 0%, transparent 45%),
radial-gradient(ellipse at 60% 80%, rgba(96,165,250,0.3) 0%, transparent 40%),
#0d0520;
}
.auth-card,
.class-picker-card {
background: rgba(255,255,255,0.05);
border: 1px solid rgba(255,105,180,0.3);
border-radius: 28px;
backdrop-filter: blur(24px);
-webkit-backdrop-filter: blur(24px);
box-shadow:
0 30px 80px rgba(0,0,0,0.5),
0 0 0 1px rgba(255,255,255,0.06),
inset 0 1px 0 rgba(255,255,255,0.12);
}
.auth-title {
background: var(--rainbow);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
background-size: 300% 100%;
animation: rainbowSlide 5s linear infinite;
}
.class-picker-title { color: #fff; }
.class-picker-subtitle { color: rgba(255,255,255,0.4); }
.auth-tabs { border-bottom: 1px solid rgba(255,255,255,0.1); }
.auth-tab {
color: rgba(255,255,255,0.35);
border-bottom: 2px solid transparent;
margin-bottom: -1px;
transition: color 0.2s, border-color 0.2s;
}
.auth-tab.active { color: #fff; border-bottom-color: var(--u-pink); }
.auth-input {
background: rgba(255,255,255,0.07);
border: 1px solid rgba(255,255,255,0.14);
border-radius: 12px;
color: #fff;
transition: border-color 0.2s, background 0.2s;
}
.auth-input:focus { outline: none; border-color: var(--u-pink); background: rgba(255,255,255,0.11); }
.auth-input::placeholder { color: rgba(255,255,255,0.28); }
.auth-error { color: var(--u-red); }
.auth-button {
background: linear-gradient(135deg, var(--u-pink), var(--u-purple));
color: #fff;
border-radius: 14px;
box-shadow: 0 6px 24px var(--u-pink-glow);
transition: opacity 0.2s, transform 0.15s;
}
.auth-button:hover { opacity: 0.88; transform: translateY(-1px); }
.reset-button {
border: 1px solid rgba(220,38,38,0.35);
color: #f87171;
border-radius: 10px;
transition: background 0.2s;
}
.reset-button:hover { background: rgba(220,38,38,0.1); }
/* ─── Class cards in picker ──────────────────────────────────────────────── */
.class-card {
border: 2px solid rgba(255,105,180,0.3);
border-radius: 16px;
background: rgba(255,255,255,0.04);
transition: transform 0.18s, box-shadow 0.18s;
}
.class-card:hover { transform: translateY(-4px); box-shadow: 0 14px 40px rgba(0,0,0,0.35); }
.class-card-name { font-weight: 900; }
/* ─── Completion bounce ──────────────────────────────────────────────────── */
.completion-icon { animation: bounce 1.2s ease infinite; }
@keyframes bounce {
0%, 100% { transform: translateY(0) scale(1); }
50% { transform: translateY(-14px) scale(1.08); }
}