AeThex-Connect/astro-site/src/react-app/Demo.css
MrPiglr de54903c15
new file: astro-site/src/components/auth/SupabaseLogin.jsx
new file:   astro-site/src/components/auth/SupabaseLogin.jsx
2026-02-03 09:09:36 +00:00

579 lines
10 KiB
CSS

/* Demo App Styles - Sleek Dark Gaming Theme (BitChat/Root Inspired) */
.demo-app {
min-height: 100vh;
display: flex;
flex-direction: column;
background: #000000;
color: #e4e4e7;
}
/* Loading Screen */
.loading-screen {
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-cont#0a0a0f;
color: #e4e4e7;
}
.loading-spinner {
font-size: 4rem;
animation: pulse 2s ease-in-out infinite;
margin-bottom: 1rem;
filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.6));
}
@keyframes pulse {
0%, 100% {
transform: scale(1);
opacity: 1;
}
50% {
transform: scale(1.1);
opacity: 0.8;
}
}
.loading-screen p {
font-size: 1.2rem;
opacity: 0.7;
font-weight: 500;
}
/* Header */
.demo-header {
background: #18181b;
border-bottom: 1px solid #27272a;
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
padding: 10 2px 10px rgba(0, 0, 0, 0.1);
padding: 1.5rem 2rem;
}
.header-content {
max-width: 1400px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
}
.logo-section h1 {
margin: 0;
font-size: 1.75rem;
color: #00d9ff;
font-weight: 700;
letter-spacing: -0.02em;
text-shadow: 0 0 30px rgba(0, 217, 255, 0.3);
}
.tagline {
margin: 0.25rem 0 0 0;
color: #71717a;
font-size: 0.875rem;
font-weight: 500;
}
.user-section {
display: flex;
align-items: center;
gap: 1rem;
}
.user-info {
display: flex;
flex-direction: column;
align-items: flex-end;
}
.user-name {
font-weight: 600;
color: #e4e4e7;
}
.user-email {
font-size: 0.8rem;
color: #71717a;
}
/* Navigation */
.demo-nav {
background: #18181b;
border-bottom: 1px solid #27272a;
display: flex;
gap: 0.5rem;
padding: 0.75rem 2rem;
overflow-x: auto;
scrollbar-width: thin;
scrollbar-color: #3f3f46 transparent;
}
.demo-nav::-webkit-scrollbar {
height: 6px;
}
.demo-nav::-webkit-scrollbar-track {
background: transparent;
}
.demo-nav::-webkit-scrollbar-thumb {
background: #3f3f46;
border-radius: 3px;
}
.nav-tab {
background: #09090b;
border: 1px solid #27272a;
padding: 0.625rem 1.25rem;
border-radius: 6px;
cursor: pointer;
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
white-space: nowrap;
display: flex;
flex-direction: column;
align-items: center;
gap: 0.25rem;
min-width: 120px;
color: #a1a1aa;
font-size: 0.875rem;
}
.nav-tab:hover {
background: #18181b;
border-color: #3f3f46;
color: #e4e4e7;
transform: translateY(-1px);
}
.nav-tab.active {
background: linear-gradient(135deg, #00d9ff 0%, #00ff88 100%);
border-color: transparent;
color: #000000;
font-weight: 700;
box-shadow: 0 4px 12px rgba(0, 217, 255, 0.4);
}
.tab-label {
font-weight: 600;
font-size: 0.8rem;
}
.tab-phase {
font-size: 0.65rem;
opacity: 0.7;
background: rgba(255, 255, 255, 0.05);
padding: 2px 6px;
border-radius: 4px;
letter-spacing: 0.02em;
text-transform: uppercase;
}
.nav-tab.active .tab-phase {
background: rgba(255, 255, 255, 0.15);
opacity: 0.9;
}
/* Main Content */
.demo-main {
flex: 1;
max-width: 1400px;
width: 100%;
margin: 0 auto;
padding: 2rem;
}
/* Overview Section */
.overview-section {
background: #18181b;
border: 1px solid #27272a;
border-radius: 12px;
padding: 2rem;
box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}
.overview-section h2 {
margin: 0 0 0.75rem 0;
color: #e4e4e7;
font-size: 2rem;
font-weight: 700;
letter-spacing: -0.02em;
}
.intro {
color: #a1a1aa;
font-size: 1rem;
margin-bottom: 2rem;
line-height: 1.6;
}
/* Feature Grid */
.feature-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 1.25rem;
margin: 2rem 0;
}
.feature-card {
background: #09090b;
border: 1px solid #27272a;
border-radius: 12px;
padding: 1.5rem;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
overflow: hidden;
}
.feature-card::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 2px;
background: linear-gradient(90deg, #00d9ff, #00ff88);
opacity: 0;
transition: opacity 0.3s;
}
.feature-card:hover {
transform: translateY(-4px);
border-color: #3f3f46;
box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(139, 92, 246, 0.1);
}
.feature-card:hover::before {
opacity: 1;
}
.feature-icon {
font-size: 2.5rem;
margin-bottom: 1rem;
filter: drop-shadow(0 4px 8px rgba(139, 92, 246, 0.3));
}
.feature-card h3 {
margin: 0.5rem 0;
color: #e4e4e7;
font-size: 1.25rem;
font-weight: 600;
letter-spacing: -0.01em;
}
.feature-card p {
color: #71717a;
margin: 0.5rem 0 1rem 0;
line-height: 1.5;
font-size: 0.9rem;
}
.feature-card ul {
list-style: none;
padding: 0;
margin: 0;
}
.feature-card ul li {
padding: 0.4rem 0;
color: #a1a1aa;
font-size: 0.875rem;
display: flex;
align-items: center;
gap: 0.5rem;
}
.feature-card ul li:before {
content: "✓";
color: #00d9ff;
font-weight: bold;
font-size: 0.875rem;
}
/* Badges */
.badge {
display: inline-block;
padding: 0.25rem 0.625rem;
border-radius: 6px;
font-size: 0.7rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.phase-1 { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); }
.phase-2 { background: rgba(168, 85, 247, 0.15); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.3); }
.phase-3 { background: rgba(34, 197, 94, 0.15); color: #4ade80; border: 1px solid rgba(34, 197, 94, 0.3); }
.phase-4 { background: rgba(251, 146, 60, 0.15); color: #fb923c; border: 1px solid rgba(251, 146, 60, 0.3); }
.phase-5 { background: rgba(236, 72, 153, 0.15); color: #f472b6; border: 1px solid rgba(236, 72, 153, 0.3); }
.phase-6 { background: rgba(234, 179, 8, 0.15); color: #fbbf24; border: 1px solid rgba(234, 179, 8, 0.3); }
/* Status Section */
.status-section {
background: linear-gradient(135deg, #18181b 0%, #27272a 100%);
border: 1px solid #3f3f46;
color: #e4e4e7;
padding: 2rem;
border-radius: 12px;
margin: 2rem 0;
position: relative;
overflow: hidden;
}
.status-section::before {
content: '';
position: absolute;
top: -50%;
right: -50%;
width: 200%;
height: 200%;
background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
animation: rotate 20s linear infinite;
}
@keyframes rotate {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
.status-section h3 {
margin: 0 0 1rem 0;
font-size: 1.5rem;
position: relative;
z-index: 1;
}
.status-section p {
margin: 0.5rem 0;
opacity: 0.9;
position: relative;
z-index: 1;
}
.platform-badges {
display: flex;
gap: 0.75rem;
flex-wrap: wrap;
margin: 1rem 0;
position: relative;
z-index: 1;
}
.platform-badge {
background: rgba(24, 24, 27, 0.6);
border: 1px solid #3f3f46;
padding: 0.5rem 1rem;
border-radius: 8px;
font-size: 0.875rem;
backdrop-filter: blur(10px);
transition: all 0.2s;
}
.platform-badge:hover {
background: rgba(0, 217, 255, 0.15);
border-color: #00d9ff;
transform: translateY(-2px);
}
.timeline {
font-style: italic;
opacity: 0.8;
margin-top: 1rem;
position: relative;
z-index: 1;
}
/* Quick Stats */
.quick-stats {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
gap: 1.25rem;
margin-top: 2rem;
}
.stat {
text-align: center;
padding: 1.5rem;
background: #09090b;
border: 1px solid #27272a;
border-radius: 12px;
transition: all 0.3s;
position: relative;
overflow: hidden;
}
.stat::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 2px;
background: linear-gradient(90deg, #00d9ff, #00ff88);
transform: scaleX(0);
transition: transform 0.3s;
}
.stat:hover {
border-color: #3f3f46;
transform: translateY(-4px);
}
.stat:hover::before {
transform: scaleX(1);
}
.stat-value {
font-size: 2.5rem;
font-weight: 700;
line-height: 1;
background: linear-gradient(135deg, #00d9ff 0%, #00ff88 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.stat-label {
font-size: 0.875rem;
color: #71717a;
margin-top: 0.5rem;
font-weight: 500;
}
/* Feature Section */
.feature-section {
background: #18181b;
border: 1px solid #27272a;
border-radius: 12px;
padding: 2rem;
box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
min-height: 500px;
}
.section-header {
display: flex;
align-items: center;
gap: 1rem;
margin-bottom: 1rem;
padding-bottom: 1rem;
border-bottom: 1px solid #27272a;
}
.section-header h2 {
margin: 0;
color: #e4e4e7;
font-size: 1.75rem;
font-weight: 700;
letter-spacing: -0.01em;
}
.section-description {
color: #a1a1aa;
margin-bottom: 2rem;
line-height: 1.6;
font-size: 0.95rem;
}
/* Footer */
.demo-footer {
background: #18181b;
border-top: 1px solid #27272a;
margin-top: auto;
padding: 2rem;
}
.footer-content {
max-width: 1400px;
margin: 0 auto;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 2rem;
margin-bottom: 1.5rem;
}
.footer-section h4 {
margin: 0 0 1rem 0;
background: linear-gradient(135deg, #00d9ff 0%, #00ff88 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
font-size: 1rem;
font-weight: 600;
}
.footer-section p {
color: #71717a;
margin: 0;
font-size: 0.875rem;
line-height: 1.5;
}
.footer-section ul {
list-style: none;
padding: 0;
margin: 0;
}
.footer-section ul li {
padding: 0.375rem 0;
font-size: 0.875rem;
color: #71717a;
transition: color 0.2s;
}
.footer-section ul li:hover {
color: #a1a1aa;
}
.footer-section ul li a {
color: inherit;
text-decoration: none;
transition: color 0.2s;
}
.footer-section ul li a:hover {
color: #00d9ff;
}
.footer-bottom {
text-align: center;
padding-top: 1.5rem;
border-top: 1px solid #27272a;
}
.footer-bottom p {
margin: 0;
color: #52525b;
font-size: 0.8rem;
}
/* Responsive */
@media (max-width: 768px) {
.header-content {
flex-direction: column;
gap: 1rem;
text-align: center;
}
.user-info {
align-items: center;
}
.demo-nav {
flex-wrap: nowrap;
justify-content: flex-start;
}
.feature-grid {
grid-template-columns: 1fr;
}
.quick-stats {
grid-template-columns: repeat(2, 1fr);
}
.footer-content {
grid-template-columns: 1fr;
text-align: center;
}
}