mirror of
https://github.com/Shik3i/KoalaSync.git
synced 2026-07-26 12:08:15 +00:00
3e2e9ed7a5
- Integrated 'Koala-Bridge' for seamless web-to-extension communication. - Implemented dedicated, minimalist invitation page (join.html). - Added brute-force protection and RAM-cleanup to the relay server. - Removed external fonts and trackers from the landing page (Privacy First). - Unified header/footer design across all website pages. - Added MIT License and comprehensive legal documentation (Impressum/Datenschutz).
394 lines
7.4 KiB
CSS
394 lines
7.4 KiB
CSS
/* KoalaSync Design System - Privacy-Focused (No External Assets) */
|
|
|
|
:root {
|
|
--bg: #0f172a;
|
|
--card: #1e293b;
|
|
--accent: #6366f1;
|
|
--accent-glow: rgba(99, 102, 241, 0.3);
|
|
--text: #f8fafc;
|
|
--text-muted: #94a3b8;
|
|
--success: #22c55e;
|
|
--glass: rgba(30, 41, 59, 0.4);
|
|
--glass-border: rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
.invite-banner {
|
|
background: var(--accent);
|
|
color: white;
|
|
padding: 0.75rem 0;
|
|
text-align: center;
|
|
font-weight: 600;
|
|
font-size: 0.9rem;
|
|
position: relative;
|
|
z-index: 2000;
|
|
box-shadow: 0 4px 12px rgba(0,0,0,0.3);
|
|
}
|
|
|
|
.btn-banner {
|
|
background: white;
|
|
color: var(--accent);
|
|
padding: 4px 12px;
|
|
border-radius: 6px;
|
|
text-decoration: none;
|
|
font-size: 0.8rem;
|
|
font-weight: 700;
|
|
margin-left: 12px;
|
|
cursor: pointer;
|
|
border: none;
|
|
transition: transform 0.2s;
|
|
}
|
|
|
|
.btn-banner:hover {
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
|
|
background-color: var(--bg);
|
|
color: var(--text);
|
|
line-height: 1.6;
|
|
overflow-x: hidden;
|
|
position: relative;
|
|
}
|
|
|
|
/* --- Animated Background --- */
|
|
.bg-blobs {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: -1;
|
|
overflow: hidden;
|
|
background: radial-gradient(circle at 50% 50%, #1e1b4b 0%, #0f172a 100%);
|
|
}
|
|
|
|
.blob {
|
|
position: absolute;
|
|
width: 600px;
|
|
height: 600px;
|
|
background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
|
|
filter: blur(80px);
|
|
border-radius: 50%;
|
|
opacity: 0.5;
|
|
animation: move 25s infinite alternate ease-in-out;
|
|
}
|
|
|
|
.blob-1 { top: -100px; left: -100px; animation-delay: 0s; }
|
|
.blob-2 { bottom: -100px; right: -100px; animation-delay: -5s; background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%); }
|
|
.blob-3 { top: 40%; left: 30%; animation-duration: 35s; animation-delay: -10s; }
|
|
|
|
@keyframes move {
|
|
0% { transform: translate(0, 0) scale(1); }
|
|
33% { transform: translate(100px, 100px) scale(1.2); }
|
|
66% { transform: translate(-50px, 200px) scale(0.8); }
|
|
100% { transform: translate(0, 0) scale(1); }
|
|
}
|
|
|
|
/* --- Layout --- */
|
|
.container {
|
|
max-width: 1100px;
|
|
margin: 0 auto;
|
|
padding: 0 2rem;
|
|
}
|
|
|
|
section {
|
|
padding: 6rem 0;
|
|
}
|
|
|
|
/* --- Navigation --- */
|
|
nav {
|
|
position: fixed;
|
|
top: 0;
|
|
width: 100%;
|
|
z-index: 1000;
|
|
background: var(--glass);
|
|
backdrop-filter: blur(12px);
|
|
border-bottom: 1px solid var(--glass-border);
|
|
padding: 1rem 0;
|
|
}
|
|
|
|
.nav-content {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.logo-area {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
font-weight: 800;
|
|
font-size: 1.5rem;
|
|
letter-spacing: -0.5px;
|
|
}
|
|
|
|
.logo-area img {
|
|
height: 40px;
|
|
width: 40px;
|
|
}
|
|
|
|
.nav-links {
|
|
display: flex;
|
|
gap: 2rem;
|
|
}
|
|
|
|
.nav-links a {
|
|
color: var(--text-muted);
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
transition: color 0.3s;
|
|
}
|
|
|
|
.nav-links a:hover {
|
|
color: var(--accent);
|
|
}
|
|
|
|
/* --- Hero Section --- */
|
|
.hero {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
padding-top: 8rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.hero-grid {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 2rem;
|
|
}
|
|
|
|
.hero-text h1 {
|
|
font-size: 5rem;
|
|
font-weight: 800;
|
|
line-height: 1;
|
|
margin-bottom: 1.5rem;
|
|
background: linear-gradient(to bottom, #fff 30%, #6366f1);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
}
|
|
|
|
.hero-text p {
|
|
font-size: 1.5rem;
|
|
color: var(--text-muted);
|
|
margin-bottom: 3rem;
|
|
max-width: 700px;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
.cta-group {
|
|
display: flex;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.btn {
|
|
padding: 1rem 2rem;
|
|
border-radius: 12px;
|
|
font-weight: 600;
|
|
text-decoration: none;
|
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: var(--accent);
|
|
color: white;
|
|
box-shadow: 0 10px 15px -3px var(--accent-glow);
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 20px 25px -5px var(--accent-glow);
|
|
}
|
|
|
|
.btn-secondary {
|
|
background: var(--card);
|
|
color: var(--text);
|
|
border: 1px solid var(--glass-border);
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
background: #2d3748;
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.hero-image {
|
|
display: none;
|
|
}
|
|
|
|
/* --- Features --- */
|
|
.features-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
gap: 2rem;
|
|
margin-top: 4rem;
|
|
}
|
|
|
|
.feature-card {
|
|
background: var(--card);
|
|
padding: 2.5rem;
|
|
border-radius: 24px;
|
|
border: 1px solid var(--glass-border);
|
|
transition: transform 0.3s;
|
|
}
|
|
|
|
.feature-card:hover {
|
|
transform: translateY(-10px);
|
|
}
|
|
|
|
.feature-icon {
|
|
width: 48px;
|
|
height: 48px;
|
|
background: var(--accent-glow);
|
|
color: var(--accent);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 12px;
|
|
margin-bottom: 1.5rem;
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.feature-card h3 {
|
|
margin-bottom: 1rem;
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.feature-card p {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* --- How it works --- */
|
|
.steps {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4rem;
|
|
}
|
|
|
|
.step {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 4rem;
|
|
align-items: center;
|
|
}
|
|
|
|
.step:nth-child(even) .step-text {
|
|
order: 2;
|
|
}
|
|
|
|
.step-num {
|
|
font-size: 5rem;
|
|
font-weight: 800;
|
|
color: var(--accent-glow);
|
|
line-height: 1;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
/* --- Footer --- */
|
|
footer {
|
|
padding: 4rem 0;
|
|
border-top: 1px solid var(--glass-border);
|
|
text-align: center;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* --- Animations --- */
|
|
[data-reveal] {
|
|
opacity: 0;
|
|
transform: translateY(30px);
|
|
transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
|
|
}
|
|
|
|
[data-reveal].revealed {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
|
|
/* --- Legal Pages --- */
|
|
.legal-content {
|
|
max-width: 800px;
|
|
margin: 8rem auto 4rem auto;
|
|
padding: 0 2rem;
|
|
}
|
|
|
|
.legal-card {
|
|
background: var(--card);
|
|
padding: 3rem;
|
|
border-radius: 24px;
|
|
border: 1px solid var(--glass-border);
|
|
}
|
|
|
|
.legal-card h1 {
|
|
font-size: 2.5rem;
|
|
margin-bottom: 2rem;
|
|
text-align: center;
|
|
}
|
|
|
|
.legal-card h2 {
|
|
font-size: 1.25rem;
|
|
margin-top: 1rem;
|
|
margin-bottom: 0.5rem;
|
|
color: var(--accent);
|
|
}
|
|
|
|
.legal-card p {
|
|
color: var(--text-muted);
|
|
margin-bottom: 0.5rem;
|
|
font-size: 0.95rem;
|
|
}
|
|
|
|
/* Reset global section padding for legal sections specifically */
|
|
.legal-card section {
|
|
padding: 0 !important;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
/* --- Join Page Specifics --- */
|
|
.join-card {
|
|
max-width: 450px;
|
|
margin: 6rem auto;
|
|
text-align: center;
|
|
}
|
|
|
|
.room-badge {
|
|
display: inline-block;
|
|
background: rgba(99, 102, 241, 0.1);
|
|
color: var(--accent);
|
|
padding: 0.5rem 1rem;
|
|
border-radius: 99px;
|
|
font-size: 0.8rem;
|
|
font-weight: 700;
|
|
margin-bottom: 1rem;
|
|
border: 1px solid rgba(99, 102, 241, 0.2);
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.hero-grid, .step {
|
|
grid-template-columns: 1fr;
|
|
text-align: center;
|
|
}
|
|
.hero-text h1 {
|
|
font-size: 2.5rem;
|
|
}
|
|
.cta-group {
|
|
justify-content: center;
|
|
}
|
|
.nav-links {
|
|
display: none;
|
|
}
|
|
.legal-card {
|
|
padding: 1.5rem;
|
|
}
|
|
}
|