Crie um único arquivo HTML contendo CSS (inline ou em <style>) e JavaScript para um "Calendário Cósmico da Vida" interativo.**
Browse files### 1. Requisitos de Estrutura e Estabilidade (CRÍTICO):
1. **Estrutura Circular:** A representação central da vida (de 0 a 80 anos) deve ser um círculo **perfeito**, dividido em **8 fatias iguais** (45 graus cada).
2. **Técnica de Fatiamento (OBRIGATÓRIO):** As fatias do gráfico circular devem ser criadas **exclusivamente** utilizando a propriedade **conic-gradient ** no CSS. **É proibido** usar clip-path ou transformações de skew em triângulos, pois causam bugs de renderização em dispositivos móveis.
3. **Núcleo Central:** O centro do círculo deve ter um **núcleo menor e brilhante** com o texto "80 Anos" ou "O Tempo É
Agora".
4. **Estética Galáctica:** O fundo deve ser **preto/azul
escuro** com um efeito de **nebulosa e estrelas suaves**.
O círculo principal deve ter uma **aura de neon** (roxo/azul) para simular um disco galáctico.
5. **Otimização Mobile:** O design deve ser totalmente responsivo para **smartphones**
### 2. Requisitos de Interatividade:
1. **Interação:** Ao clicar em qualquer uma das 8 fatias, um **card de informações** deve aparecer.
2. **Estilo do Card:** 0 card deve usar o efeito moderno
**Glassmorphism** (fundo semitransparente, borrado e com borda clara) e deve ser **anclado na parte inferior** da tela (Rodapé) para facilitar a visualização em dispositivos móveis. 3. **Conteúdo das Fases:** O código deve incluir as 8 fases (0-10, 11-20, 21-30, 31-40, 41-50, 51-60, 61-70, 71-80), cada uma com sua respectiva cor, nome (ex: "Estação da Descoberta") e uma breve descrição com um "Risco Simbólico" destacado
- README.md +9 -5
- index.html +289 -18
|
@@ -1,10 +1,14 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: undefined
|
| 3 |
+
colorFrom: pink
|
| 4 |
+
colorTo: yellow
|
| 5 |
+
emoji: 🐳
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite-v3
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# Welcome to your new DeepSite project!
|
| 13 |
+
This project was created with [DeepSite](https://deepsite.hf.co).
|
| 14 |
+
|
|
@@ -1,19 +1,290 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
</html>
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Cosmic Time Galaxy Explorer</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 9 |
+
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 10 |
+
<script src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.globe.min.js"></script>
|
| 11 |
+
<style>
|
| 12 |
+
@media (max-width: 640px) {
|
| 13 |
+
.galaxy-disk {
|
| 14 |
+
width: 300px !important;
|
| 15 |
+
height: 300px !important;
|
| 16 |
+
}
|
| 17 |
+
.galaxy-core {
|
| 18 |
+
width: 18px !important;
|
| 19 |
+
height: 18px !important;
|
| 20 |
+
}
|
| 21 |
+
}
|
| 22 |
+
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600&family=Poppins:wght@400;600;700&display=swap');
|
| 23 |
+
|
| 24 |
+
:root {
|
| 25 |
+
--color-neon-blue: #00ffff;
|
| 26 |
+
--color-neon-purple: #9d00ff;
|
| 27 |
+
--color-neon-pink: #ff00ff;
|
| 28 |
+
--color-core-white: rgba(255, 255, 255, 0.9);
|
| 29 |
+
}
|
| 30 |
+
|
| 31 |
+
.galaxy-disk {
|
| 32 |
+
box-shadow:
|
| 33 |
+
0 0 60px 20px rgba(157, 0, 255, 0.6),
|
| 34 |
+
0 0 100px 40px rgba(0, 255, 255, 0.3),
|
| 35 |
+
0 0 200px 80px rgba(255, 0, 255, 0.2);
|
| 36 |
+
animation: pulseGlow 8s ease-in-out infinite alternate;
|
| 37 |
+
}
|
| 38 |
+
|
| 39 |
+
@keyframes pulseGlow {
|
| 40 |
+
0% { box-shadow:
|
| 41 |
+
0 0 60px 20px rgba(157, 0, 255, 0.6),
|
| 42 |
+
0 0 100px 40px rgba(0, 255, 255, 0.3),
|
| 43 |
+
0 0 200px 80px rgba(255, 0, 255, 0.2); }
|
| 44 |
+
100% { box-shadow:
|
| 45 |
+
0 0 80px 30px rgba(157, 0, 255, 0.8),
|
| 46 |
+
0 0 120px 50px rgba(0, 255, 255, 0.4),
|
| 47 |
+
0 0 240px 90px rgba(255, 0, 255, 0.3); }
|
| 48 |
+
}
|
| 49 |
+
|
| 50 |
+
.galaxy-segment {
|
| 51 |
+
clip-path: polygon(100% 0, 0% 100%, 0 0);
|
| 52 |
+
transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
|
| 53 |
+
filter: brightness(0.8);
|
| 54 |
+
}
|
| 55 |
+
|
| 56 |
+
.galaxy-segment:hover {
|
| 57 |
+
filter: brightness(1.3) drop-shadow(0 0 12px currentColor);
|
| 58 |
+
transform: scale(1.1);
|
| 59 |
+
z-index: 20;
|
| 60 |
+
}
|
| 61 |
+
|
| 62 |
+
.segment-text {
|
| 63 |
+
transform: rotate(calc(-1 * var(--rotate-base)));
|
| 64 |
+
text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
|
| 65 |
+
}
|
| 66 |
+
|
| 67 |
+
.galaxy-core {
|
| 68 |
+
box-shadow:
|
| 69 |
+
0 0 40px 15px rgba(255, 255, 255, 0.7),
|
| 70 |
+
0 0 80px 30px rgba(157, 0, 255, 0.4),
|
| 71 |
+
0 0 160px 60px rgba(0, 255, 255, 0.2);
|
| 72 |
+
animation: corePulse 4s ease infinite alternate;
|
| 73 |
+
}
|
| 74 |
+
|
| 75 |
+
@keyframes corePulse {
|
| 76 |
+
0% { transform: scale(1); opacity: 0.9; }
|
| 77 |
+
100% { transform: scale(1.1); opacity: 1; }
|
| 78 |
+
}
|
| 79 |
+
|
| 80 |
+
.info-card {
|
| 81 |
+
backdrop-filter: blur(16px) saturate(180%);
|
| 82 |
+
-webkit-backdrop-filter: blur(16px) saturate(180%);
|
| 83 |
+
background: linear-gradient(135deg, rgba(0, 0, 20, 0.7), rgba(30, 0, 50, 0.5));
|
| 84 |
+
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
|
| 85 |
+
border: 1px solid rgba(157, 0, 255, 0.3);
|
| 86 |
+
transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
| 87 |
+
}
|
| 88 |
+
</style>
|
| 89 |
+
</head>
|
| 90 |
+
<body class="bg-black text-white overflow-hidden font-sans" style="font-family: 'Poppins', sans-serif;">
|
| 91 |
+
<div id="galaxy-bg" class="absolute w-full h-full" style="background: radial-gradient(ellipse at center, #000000 0%, #090a0f 100%);"></div>
|
| 92 |
+
<div class="absolute w-full h-full" style="background-image:
|
| 93 |
+
radial-gradient(white, rgba(255,255,255,.2) 1px, transparent 1px),
|
| 94 |
+
radial-gradient(white, rgba(255,255,255,.15) 1px, transparent 1px),
|
| 95 |
+
radial-gradient(white, rgba(255,255,255,.1) 1px, transparent 1px);
|
| 96 |
+
background-size: 300px 300px, 200px 200px, 100px 100px;
|
| 97 |
+
background-position: 0 0, 40px 60px, 130px 270px;"></div>
|
| 98 |
+
<div class="relative z-10 w-full h-screen flex items-center justify-center">
|
| 99 |
+
<div class="relative w-96 h-96 galaxy-disk rounded-full" style="background: conic-gradient(
|
| 100 |
+
from 0deg at 50% 50%,
|
| 101 |
+
#3b82f6 0deg 45deg,
|
| 102 |
+
#8b5cf6 45deg 90deg,
|
| 103 |
+
#ec4899 90deg 135deg,
|
| 104 |
+
#f97316 135deg 180deg,
|
| 105 |
+
#ef4444 180deg 225deg,
|
| 106 |
+
#10b981 225deg 270deg,
|
| 107 |
+
#f59e0b 270deg 315deg,
|
| 108 |
+
#14b8a6 315deg 360deg
|
| 109 |
+
);">
|
| 110 |
+
<!-- Galaxy Segments -->
|
| 111 |
+
<div class="absolute w-full h-full">
|
| 112 |
+
<!-- Discovery -->
|
| 113 |
+
<div class="absolute top-0 left-0 w-1/2 h-1/2 galaxy-segment bg-blue-500"
|
| 114 |
+
style="--rotate-base: 0deg; transform: rotate(0deg);"
|
| 115 |
+
data-card="discovery">
|
| 116 |
+
<div class="w-full h-full flex items-center justify-center segment-text" style="transform: rotate(-0deg);">
|
| 117 |
+
<span class="text-center font-bold font-mono" style="font-family: 'Orbitron', sans-serif;">
|
| 118 |
+
Discovery<br><span class="text-xs">(0-10)</span>
|
| 119 |
+
</span>
|
| 120 |
+
</div>
|
| 121 |
+
</div>
|
| 122 |
+
|
| 123 |
+
<!-- Identity -->
|
| 124 |
+
<div class="absolute top-0 left-0 w-1/2 h-1/2 galaxy-segment bg-purple-600"
|
| 125 |
+
style="--rotate-base: 45deg; transform: rotate(45deg);"
|
| 126 |
+
data-card="identity">
|
| 127 |
+
<div class="w-full h-full flex items-center justify-center segment-text" style="transform: rotate(-45deg);">
|
| 128 |
+
<span class="text-center font-bold font-mono" style="font-family: 'Orbitron', sans-serif;">
|
| 129 |
+
Identity<br><span class="text-xs">(11-20)</span>
|
| 130 |
+
</span>
|
| 131 |
+
</div>
|
| 132 |
+
</div>
|
| 133 |
+
|
| 134 |
+
<!-- Construction -->
|
| 135 |
+
<div class="absolute top-0 left-0 w-1/2 h-1/2 galaxy-segment bg-pink-500"
|
| 136 |
+
style="--rotate-base: 90deg; transform: rotate(90deg);"
|
| 137 |
+
data-card="construction">
|
| 138 |
+
<div class="w-full h-full flex items-center justify-center segment-text" style="transform: rotate(-90deg);">
|
| 139 |
+
<span class="text-center font-bold font-mono" style="font-family: 'Orbitron', sans-serif;">
|
| 140 |
+
Construction<br><span class="text-xs">(21-30)</span>
|
| 141 |
+
</span>
|
| 142 |
+
</div>
|
| 143 |
+
</div>
|
| 144 |
+
|
| 145 |
+
<!-- Balance -->
|
| 146 |
+
<div class="absolute top-0 left-0 w-1/2 h-1/2 galaxy-segment bg-orange-500"
|
| 147 |
+
style="--rotate-base: 135deg; transform: rotate(135deg);"
|
| 148 |
+
data-card="balance">
|
| 149 |
+
<div class="w-full h-full flex items-center justify-center segment-text" style="transform: rotate(-135deg);">
|
| 150 |
+
<span class="text-center font-bold font-mono" style="font-family: 'Orbitron', sans-serif;">
|
| 151 |
+
Balance<br><span class="text-xs">(31-40)</span>
|
| 152 |
+
</span>
|
| 153 |
+
</div>
|
| 154 |
+
</div>
|
| 155 |
+
|
| 156 |
+
<!-- Review -->
|
| 157 |
+
<div class="absolute top-0 left-0 w-1/2 h-1/2 galaxy-segment bg-red-500"
|
| 158 |
+
style="--rotate-base: 180deg; transform: rotate(180deg);"
|
| 159 |
+
data-card="review">
|
| 160 |
+
<div class="w-full h-full flex items-center justify-center segment-text" style="transform: rotate(-180deg);">
|
| 161 |
+
<span class="text-center font-bold font-mono" style="font-family: 'Orbitron', sans-serif;">
|
| 162 |
+
Review<br><span class="text-xs">(41-50)</span>
|
| 163 |
+
</span>
|
| 164 |
+
</div>
|
| 165 |
+
</div>
|
| 166 |
+
|
| 167 |
+
<!-- Wisdom -->
|
| 168 |
+
<div class="absolute top-0 left-0 w-1/2 h-1/2 galaxy-segment bg-green-500"
|
| 169 |
+
style="--rotate-base: 225deg; transform: rotate(225deg);"
|
| 170 |
+
data-card="wisdom">
|
| 171 |
+
<div class="w-full h-full flex items-center justify-center segment-text" style="transform: rotate(-225deg);">
|
| 172 |
+
<span class="text-center font-bold font-mono" style="font-family: 'Orbitron', sans-serif;">
|
| 173 |
+
Wisdom<br><span class="text-xs">(51-60)</span>
|
| 174 |
+
</span>
|
| 175 |
+
</div>
|
| 176 |
+
</div>
|
| 177 |
+
|
| 178 |
+
<!-- Freedom -->
|
| 179 |
+
<div class="absolute top-0 left-0 w-1/2 h-1/2 galaxy-segment bg-yellow-400"
|
| 180 |
+
style="--rotate-base: 270deg; transform: rotate(270deg);"
|
| 181 |
+
data-card="freedom">
|
| 182 |
+
<div class="w-full h-full flex items-center justify-center segment-text" style="transform: rotate(-270deg);">
|
| 183 |
+
<span class="text-center font-bold font-mono" style="font-family: 'Orbitron', sans-serif;">
|
| 184 |
+
Freedom<br><span class="text-xs">(61-70)</span>
|
| 185 |
+
</span>
|
| 186 |
+
</div>
|
| 187 |
+
</div>
|
| 188 |
+
|
| 189 |
+
<!-- Contemplation -->
|
| 190 |
+
<div class="absolute top-0 left-0 w-1/2 h-1/2 galaxy-segment bg-teal-400"
|
| 191 |
+
style="--rotate-base: 315deg; transform: rotate(315deg);"
|
| 192 |
+
data-card="contemplation">
|
| 193 |
+
<div class="w-full h-full flex items-center justify-center segment-text" style="transform: rotate(-315deg);">
|
| 194 |
+
<span class="text-center font-bold font-mono" style="font-family: 'Orbitron', sans-serif;">
|
| 195 |
+
Contemplation<br><span class="text-xs">(71-80)</span>
|
| 196 |
+
</span>
|
| 197 |
+
</div>
|
| 198 |
+
</div>
|
| 199 |
+
|
| 200 |
+
<!-- Galaxy Core -->
|
| 201 |
+
<div class="absolute top-1/2 left-1/2 w-24 h-24 galaxy-core rounded-full flex items-center justify-center transform -translate-x-1/2 -translate-y-1/2 z-30">
|
| 202 |
+
<span class="text-black text-center font-bold text-xs" style="font-family: 'Orbitron', sans-serif;">TIME<br>IS NOW</span>
|
| 203 |
+
</div>
|
| 204 |
+
</div>
|
| 205 |
+
</div>
|
| 206 |
+
</div>
|
| 207 |
+
<!-- Info Cards -->
|
| 208 |
+
<div class="fixed bottom-0 left-0 right-0 mx-auto mb-4 w-11/12 max-w-md p-6 info-card rounded-xl opacity-0 invisible transition-all duration-500" id="discovery-card">
|
| 209 |
+
<h2 class="text-xl font-bold mb-4 text-cyan-300" style="font-family: 'Orbitron', sans-serif;">0-10: Discovery</h2>
|
| 210 |
+
<p class="text-sm mb-4">Total sensory absorption. Physical development and language acquisition. The world is constant novelty and learning is exponential.</p>
|
| 211 |
+
<p class="text-xs text-pink-400 font-semibold">Symbolic Risk: Fragility of Beginning (Vulnerability to external factors and childhood accidents).</p>
|
| 212 |
+
<button class="mt-4 w-full py-2 bg-gradient-to-r from-purple-600 to-blue-500 rounded-lg font-bold text-sm hover:from-purple-700 hover:to-blue-600 transition-all" onclick="closeCard('discovery-card')">Close</button>
|
| 213 |
+
</div>
|
| 214 |
+
<div class="fixed bottom-0 left-0 right-0 mx-auto mb-4 w-11/12 max-w-md p-6 info-card rounded-xl opacity-0 invisible transition-all duration-500" id="identity-card">
|
| 215 |
+
<h2 class="text-xl font-bold mb-4 text-purple-300" style="font-family: 'Orbitron', sans-serif;">11-20: Identity</h2>
|
| 216 |
+
<p class="text-sm mb-4">Personality formation and search for belonging. Challenges of rules and beginning of independence. Time is perceived as fast and infinite.</p>
|
| 217 |
+
<p class="text-xs text-pink-400 font-semibold">Symbolic Risk: Impulsiveness (Risky behavior, traffic accidents, hasty decisions).</p>
|
| 218 |
+
<button class="mt-4 w-full py-2 bg-gradient-to-r from-purple-600 to-blue-500 rounded-lg font-bold text-sm hover:from-purple-700 hover:to-blue-600 transition-all" onclick="closeCard('identity-card')">Close</button>
|
| 219 |
+
</div>
|
| 220 |
+
<div class="fixed bottom-0 left-0 right-0 mx-auto mb-4 w-11/12 max-w-md p-6 info-card rounded-xl opacity-0 invisible transition-all duration-500" id="construction-card">
|
| 221 |
+
<h2 class="text-xl font-bold mb-4 text-pink-300" style="font-family: 'Orbitron', sans-serif;">21-30: Construction</h2>
|
| 222 |
+
<p class="text-sm mb-4">Focus on career, establishment of lasting relationships and financial independence. Period of high energy and belief in immortality.</p>
|
| 223 |
+
<p class="text-xs text-pink-400 font-semibold">Symbolic Risk: Stress and Burnout (Beginning of bad health habits and overwork).</p>
|
| 224 |
+
<button class="mt-4 w-full py-2 bg-gradient-to-r from-purple-600 to-blue-500 rounded-lg font-bold text-sm hover:from-purple-700 hover:to-blue-600 transition-all" onclick="closeCard('construction-card')">Close</button>
|
| 225 |
+
</div>
|
| 226 |
+
<div class="fixed bottom-0 left-0 right-0 mx-auto mb-4 w-11/12 max-w-md p-6 info-card rounded-xl opacity-0 invisible transition-all duration-500" id="balance-card">
|
| 227 |
+
<h2 class="text-xl font-bold mb-4 text-orange-300" style="font-family: 'Orbitron', sans-serif;">31-40: Balance</h2>
|
| 228 |
+
<p class="text-sm mb-4">Reconciliation between professional, family and personal life. Search for quality of life and stability. Time is already beginning to be valued.</p>
|
| 229 |
+
<p class="text-xs text-pink-400 font-semibold">Symbolic Risk: Sedentary Lifestyle and Silent Disease (Diabetes, hypertension, weight gain related to lifestyle).</p>
|
| 230 |
+
<button class="mt-4 w-full py-2 bg-gradient-to-r from-purple-600 to-blue-500 rounded-lg font-bold text-sm hover:from-purple-700 hover:to-blue-600 transition-all" onclick="closeCard('balance-card')">Close</button>
|
| 231 |
+
</div>
|
| 232 |
+
<div class="fixed bottom-0 left-0 right-0 mx-auto mb-4 w-11/12 max-w-md p-6 info-card rounded-xl opacity-0 invisible transition-all duration-500" id="review-card">
|
| 233 |
+
<h2 class="text-xl font-bold mb-4 text-red-300" style="font-family: 'Orbitron', sans-serif;">41-50: Review</h2>
|
| 234 |
+
<p class="text-sm mb-4">The being reassesses the choices made, questions the purpose and plans the second half of life. Need for renewal and new challenges.</p>
|
| 235 |
+
<p class="text-xs text-pink-400 font-semibold">Symbolic Risk: Health Alert (First important chronic diagnoses; need for radical change in habits).</p>
|
| 236 |
+
<button class="mt-4 w-full py-2 bg-gradient-to-r from-purple-600 to-blue-500 rounded-lg font-bold text-sm hover:from-purple-700 hover:to-blue-600 transition-all" onclick="closeCard('review-card')">Close</button>
|
| 237 |
+
</div>
|
| 238 |
+
<div class="fixed bottom-0 left-0 right-0 mx-auto mb-4 w-11/12 max-w-md p-6 info-card rounded-xl opacity-0 invisible transition-all duration-500" id="wisdom-card">
|
| 239 |
+
<h2 class="text-xl font-bold mb-4 text-green-300" style="font-family: 'Orbitron', sans-serif;">51-60: Wisdom</h2>
|
| 240 |
+
<p class="text-sm mb-4">Period of greatest influence and legacy. The application of knowledge for one's own benefit and that of the community. Consolidation of stability.</p>
|
| 241 |
+
<p class="text-xs text-pink-400 font-semibold">Symbolic Risk: Chronic Challenges (Aging-related diseases requiring daily management and focus on treatment).</p>
|
| 242 |
+
<button class="mt-4 w-full py-2 bg-gradient-to-r from-purple-600 to-blue-500 rounded-lg font-bold text-sm hover:from-purple-700 hover:to-blue-600 transition-all" onclick="closeCard('wisdom-card')">Close</button>
|
| 243 |
+
</div>
|
| 244 |
+
<div class="fixed bottom-0 left-0 right-0 mx-auto mb-4 w-11/12 max-w-md p-6 info-card rounded-xl opacity-0 invisible transition-all duration-500" id="freedom-card">
|
| 245 |
+
<h2 class="text-xl font-bold mb-4 text-yellow-300" style="font-family: 'Orbitron', sans-serif;">61-70: Freedom</h2>
|
| 246 |
+
<p class="text-sm mb-4">Retirement and total dedication to hobbies, travel and social relationships. Period of reduction of obligations and focus on personal satisfaction.</p>
|
| 247 |
+
<p class="text-xs text-pink-400 font-semibold">Symbolic Risk: Physical Decline (Higher risk of falls, reduced mobility and impact of pre-existing diseases).</p>
|
| 248 |
+
<button class="mt-4 w-full py-2 bg-gradient-to-r from-purple-600 to-blue-500 rounded-lg font-bold text-sm hover:from-purple-700 hover:to-blue-600 transition-all" onclick="closeCard('freedom-card')">Close</button>
|
| 249 |
+
</div>
|
| 250 |
+
<div class="fixed bottom-0 left-0 right-0 mx-auto mb-4 w-11/12 max-w-md p-6 info-card rounded-xl opacity-0 invisible transition-all duration-500" id="contemplation-card">
|
| 251 |
+
<h2 class="text-xl font-bold mb-4 text-teal-300" style="font-family: 'Orbitron', sans-serif;">71-80: Contemplation</h2>
|
| 252 |
+
<p class="text-sm mb-4">Focus on memories, health and acceptance of finitude. The being understands its journey and contemplates life in its entirety, with gratitude and peace.</p>
|
| 253 |
+
<p class="text-xs text-pink-400 font-semibold">Symbolic Risk: Maximum Fragility (General vulnerability, degenerative and cognitive diseases).</p>
|
| 254 |
+
<button class="mt-4 w-full py-2 bg-gradient-to-r from-purple-600 to-blue-500 rounded-lg font-bold text-sm hover:from-purple-700 hover:to-blue-600 transition-all" onclick="closeCard('contemplation-card')">Close</button>
|
| 255 |
+
</div>
|
| 256 |
+
|
| 257 |
+
<script>
|
| 258 |
+
// Segment click handlers
|
| 259 |
+
document.querySelectorAll('[data-card]').forEach(segment => {
|
| 260 |
+
segment.addEventListener('click', () => {
|
| 261 |
+
const cardId = segment.getAttribute('data-card') + '-card';
|
| 262 |
+
document.querySelectorAll('.fixed').forEach(card => {
|
| 263 |
+
card.classList.remove('opacity-100', 'visible');
|
| 264 |
+
card.classList.add('opacity-0', 'invisible');
|
| 265 |
+
});
|
| 266 |
+
document.getElementById(cardId).classList.add('opacity-100', 'visible');
|
| 267 |
+
document.getElementById(cardId).classList.remove('opacity-0', 'invisible');
|
| 268 |
+
});
|
| 269 |
+
});
|
| 270 |
+
|
| 271 |
+
function closeCard(id) {
|
| 272 |
+
document.getElementById(id).classList.remove('opacity-100', 'visible');
|
| 273 |
+
document.getElementById(id).classList.add('opacity-0', 'invisible');
|
| 274 |
+
}
|
| 275 |
+
|
| 276 |
+
// Close card when clicking outside
|
| 277 |
+
document.addEventListener('click', (e) => {
|
| 278 |
+
if (!e.target.closest('[data-card]') && !e.target.closest('.fixed')) {
|
| 279 |
+
document.querySelectorAll('.fixed').forEach(card => {
|
| 280 |
+
card.classList.remove('opacity-100', 'visible');
|
| 281 |
+
card.classList.add('opacity-0', 'invisible');
|
| 282 |
+
});
|
| 283 |
+
}
|
| 284 |
+
});
|
| 285 |
+
|
| 286 |
+
// Initialize feather icons
|
| 287 |
+
feather.replace();
|
| 288 |
+
</script>
|
| 289 |
+
</body>
|
| 290 |
</html>
|