t1c1's picture
Add speak intervals option, restructure as Reachy Mini app package
371baa4
/* Reachy Mini Countdown - HuggingFace Space Styles */
:root {
--bg-deep: #0a0e17;
--bg-card: #141b2d;
--bg-card-hover: #1a2540;
--accent-gold: #fbbf24;
--accent-gold-dim: #b8860b;
--accent-coral: #f97316;
--text-primary: #f1f5f9;
--text-secondary: #94a3b8;
--text-muted: #64748b;
--border-subtle: rgba(251, 191, 36, 0.15);
--glow-gold: rgba(251, 191, 36, 0.4);
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Outfit', system-ui, sans-serif;
background: var(--bg-deep);
color: var(--text-primary);
line-height: 1.6;
min-height: 100vh;
}
.container {
max-width: 900px;
margin: 0 auto;
padding: 0 24px;
}
/* Hero Section */
.hero {
position: relative;
text-align: center;
padding: 80px 0 60px;
overflow: hidden;
}
.hero::before {
content: '';
position: absolute;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background: radial-gradient(ellipse at center, rgba(251, 191, 36, 0.08) 0%, transparent 50%);
animation: pulse 8s ease-in-out infinite;
}
@keyframes pulse {
0%, 100% { transform: scale(1); opacity: 0.5; }
50% { transform: scale(1.1); opacity: 1; }
}
.hero-content {
position: relative;
z-index: 1;
}
.emoji-burst {
font-size: 4rem;
margin-bottom: 16px;
animation: bounce 2s ease-in-out infinite;
}
@keyframes bounce {
0%, 100% { transform: translateY(0) rotate(-5deg); }
50% { transform: translateY(-12px) rotate(5deg); }
}
h1 {
font-size: 3rem;
font-weight: 800;
background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-coral) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
margin-bottom: 12px;
letter-spacing: -0.02em;
}
.tagline {
font-size: 1.25rem;
color: var(--text-secondary);
font-weight: 400;
}
/* Intro */
.intro {
text-align: center;
max-width: 700px;
margin: 0 auto 60px;
font-size: 1.125rem;
color: var(--text-secondary);
}
/* Features Grid */
.features {
margin-bottom: 60px;
}
h2 {
font-size: 1.75rem;
font-weight: 600;
color: var(--text-primary);
margin-bottom: 32px;
text-align: center;
}
.feature-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
gap: 20px;
}
.feature-card {
background: var(--bg-card);
border: 1px solid var(--border-subtle);
border-radius: 16px;
padding: 28px;
transition: all 0.3s ease;
}
.feature-card:hover {
background: var(--bg-card-hover);
border-color: var(--accent-gold-dim);
transform: translateY(-4px);
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}
.feature-icon {
font-size: 2rem;
display: block;
margin-bottom: 12px;
}
.feature-card h3 {
font-size: 1.1rem;
font-weight: 600;
color: var(--text-primary);
margin-bottom: 8px;
}
.feature-card p {
font-size: 0.95rem;
color: var(--text-secondary);
line-height: 1.5;
}
/* Timeline */
.how-it-works {
margin-bottom: 60px;
}
.timeline {
position: relative;
padding-left: 40px;
}
.timeline::before {
content: '';
position: absolute;
left: 12px;
top: 0;
bottom: 0;
width: 2px;
background: linear-gradient(to bottom, var(--border-subtle), var(--accent-gold), var(--accent-coral));
}
.timeline-item {
position: relative;
margin-bottom: 32px;
padding-left: 32px;
}
.timeline-marker {
position: absolute;
left: -40px;
top: 0;
width: 52px;
height: 28px;
background: var(--bg-card);
border: 2px solid var(--accent-gold-dim);
border-radius: 14px;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.8rem;
font-weight: 600;
color: var(--accent-gold);
}
.timeline-item.highlight .timeline-marker {
background: var(--accent-gold);
color: var(--bg-deep);
border-color: var(--accent-gold);
box-shadow: 0 0 20px var(--glow-gold);
}
.timeline-content h3 {
font-size: 1.1rem;
font-weight: 600;
margin-bottom: 4px;
}
.timeline-item.highlight .timeline-content h3 {
color: var(--accent-gold);
}
.timeline-content p {
color: var(--text-secondary);
font-size: 0.95rem;
}
/* Install Steps */
.install {
margin-bottom: 60px;
}
.install-steps {
display: flex;
flex-direction: column;
gap: 16px;
}
.step {
display: flex;
align-items: center;
gap: 20px;
background: var(--bg-card);
border: 1px solid var(--border-subtle);
border-radius: 12px;
padding: 20px 24px;
}
.step-num {
flex-shrink: 0;
width: 36px;
height: 36px;
background: linear-gradient(135deg, var(--accent-gold) 0%, var(--accent-coral) 100%);
color: var(--bg-deep);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: 800;
font-size: 1rem;
}
.step p {
color: var(--text-secondary);
font-size: 1rem;
}
.step code {
background: rgba(251, 191, 36, 0.15);
color: var(--accent-gold);
padding: 2px 8px;
border-radius: 4px;
font-family: 'SF Mono', 'Fira Code', monospace;
font-size: 0.9em;
}
.step strong {
color: var(--text-primary);
}
/* CTA */
.cta {
text-align: center;
padding: 40px 0;
border-top: 1px solid var(--border-subtle);
margin-bottom: 40px;
}
.cta p {
color: var(--text-muted);
margin-bottom: 24px;
}
.links {
display: flex;
gap: 16px;
justify-content: center;
flex-wrap: wrap;
}
.btn {
display: inline-block;
padding: 12px 28px;
background: var(--accent-gold);
color: var(--bg-deep);
text-decoration: none;
border-radius: 8px;
font-weight: 600;
font-size: 0.95rem;
transition: all 0.2s ease;
}
.btn:hover {
background: var(--accent-coral);
transform: translateY(-2px);
box-shadow: 0 8px 24px rgba(249, 115, 22, 0.3);
}
.btn-secondary {
background: transparent;
color: var(--text-primary);
border: 1px solid var(--border-subtle);
}
.btn-secondary:hover {
background: var(--bg-card);
border-color: var(--accent-gold-dim);
box-shadow: none;
}
/* Footer */
footer {
text-align: center;
padding: 24px 0;
color: var(--text-muted);
font-size: 0.875rem;
}
/* Responsive */
@media (max-width: 640px) {
h1 {
font-size: 2.25rem;
}
.emoji-burst {
font-size: 3rem;
}
.hero {
padding: 60px 0 40px;
}
.feature-grid {
grid-template-columns: 1fr;
}
.timeline {
padding-left: 32px;
}
.timeline-marker {
left: -32px;
width: 44px;
font-size: 0.75rem;
}
}