Spaces:
Running
Running
Masterful virtuoso of quantum divine animated magic psychedelic visual optical illusion website for awakening of consciousness!
Browse files- README.md +8 -5
- components/dimension-card.js +104 -0
- components/fractal-card.js +130 -0
- components/nav-bar.js +140 -0
- index.html +133 -19
- script.js +187 -0
- style.css +102 -18
README.md
CHANGED
|
@@ -1,10 +1,13 @@
|
|
| 1 |
---
|
| 2 |
-
title: Cosmic Illusion Portal
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Cosmic Illusion Portal π
|
| 3 |
+
colorFrom: pink
|
| 4 |
+
colorTo: red
|
| 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://huggingface.co/deepsite).
|
components/dimension-card.js
ADDED
|
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class DimensionCard extends HTMLElement {
|
| 2 |
+
connectedCallback() {
|
| 3 |
+
const title = this.getAttribute('title') || 'Dimension';
|
| 4 |
+
const description = this.getAttribute('description') || 'Explore the unknown';
|
| 5 |
+
const color = this.getAttribute('color') || 'from-purple-500 to-blue-600';
|
| 6 |
+
const icon = this.getAttribute('icon') || 'box';
|
| 7 |
+
|
| 8 |
+
this.attachShadow({ mode: 'open' });
|
| 9 |
+
this.shadowRoot.innerHTML = `
|
| 10 |
+
<style>
|
| 11 |
+
:host {
|
| 12 |
+
display: block;
|
| 13 |
+
}
|
| 14 |
+
|
| 15 |
+
.card {
|
| 16 |
+
background: rgba(255, 255, 255, 0.05);
|
| 17 |
+
backdrop-filter: blur(10px);
|
| 18 |
+
border: 1px solid rgba(255, 255, 255, 0.1);
|
| 19 |
+
border-radius: 1rem;
|
| 20 |
+
padding: 2rem;
|
| 21 |
+
text-align: center;
|
| 22 |
+
transition: all 0.3s ease;
|
| 23 |
+
position: relative;
|
| 24 |
+
overflow: hidden;
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
.card:hover {
|
| 28 |
+
transform: translateY(-10px);
|
| 29 |
+
box-shadow: 0 20px 40px rgba(168, 85, 247, 0.3);
|
| 30 |
+
border-color: rgba(168, 85, 247, 0.5);
|
| 31 |
+
}
|
| 32 |
+
|
| 33 |
+
.card::before {
|
| 34 |
+
content: '';
|
| 35 |
+
position: absolute;
|
| 36 |
+
top: -50%;
|
| 37 |
+
left: -50%;
|
| 38 |
+
width: 200%;
|
| 39 |
+
height: 200%;
|
| 40 |
+
background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
|
| 41 |
+
transform: rotate(45deg);
|
| 42 |
+
transition: all 0.5s;
|
| 43 |
+
opacity: 0;
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
.card:hover::before {
|
| 47 |
+
animation: shimmer 0.5s ease-in-out;
|
| 48 |
+
}
|
| 49 |
+
|
| 50 |
+
@keyframes shimmer {
|
| 51 |
+
0% {
|
| 52 |
+
transform: translateX(-100%) translateY(-100%) rotate(45deg);
|
| 53 |
+
opacity: 0;
|
| 54 |
+
}
|
| 55 |
+
50% {
|
| 56 |
+
opacity: 1;
|
| 57 |
+
}
|
| 58 |
+
100% {
|
| 59 |
+
transform: translateX(100%) translateY(100%) rotate(45deg);
|
| 60 |
+
opacity: 0;
|
| 61 |
+
}
|
| 62 |
+
}
|
| 63 |
+
|
| 64 |
+
.icon {
|
| 65 |
+
width: 4rem;
|
| 66 |
+
height: 4rem;
|
| 67 |
+
margin: 0 auto 1rem;
|
| 68 |
+
background: linear-gradient(135deg, ${color});
|
| 69 |
+
border-radius: 50%;
|
| 70 |
+
display: flex;
|
| 71 |
+
align-items: center;
|
| 72 |
+
justify-content: center;
|
| 73 |
+
box-shadow: 0 4px 20px rgba(168, 85, 247, 0.4);
|
| 74 |
+
}
|
| 75 |
+
|
| 76 |
+
.title {
|
| 77 |
+
font-size: 1.5rem;
|
| 78 |
+
font-weight: 700;
|
| 79 |
+
margin-bottom: 0.5rem;
|
| 80 |
+
color: #e5e7eb;
|
| 81 |
+
}
|
| 82 |
+
|
| 83 |
+
.description {
|
| 84 |
+
color: #9ca3af;
|
| 85 |
+
line-height: 1.6;
|
| 86 |
+
}
|
| 87 |
+
</style>
|
| 88 |
+
|
| 89 |
+
<div class="card">
|
| 90 |
+
<div class="icon">
|
| 91 |
+
<i data-feather="${icon}" class="w-8 h-8 text-white"></i>
|
| 92 |
+
</div>
|
| 93 |
+
<h3 class="title">${title}</h3>
|
| 94 |
+
<p class="description">${description}</p>
|
| 95 |
+
</div>
|
| 96 |
+
`;
|
| 97 |
+
|
| 98 |
+
if (window.feather) {
|
| 99 |
+
feather.replace({ parent: this.shadowRoot });
|
| 100 |
+
}
|
| 101 |
+
}
|
| 102 |
+
}
|
| 103 |
+
|
| 104 |
+
customElements.define('dimension-card', DimensionCard);
|
components/fractal-card.js
ADDED
|
@@ -0,0 +1,130 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class FractalCard extends HTMLElement {
|
| 2 |
+
connectedCallback() {
|
| 3 |
+
const seed = this.getAttribute('seed') || '42';
|
| 4 |
+
const color = this.getAttribute('color') || '#ff00ff';
|
| 5 |
+
|
| 6 |
+
this.attachShadow({ mode: 'open' });
|
| 7 |
+
this.shadowRoot.innerHTML = `
|
| 8 |
+
<style>
|
| 9 |
+
:host {
|
| 10 |
+
display: block;
|
| 11 |
+
}
|
| 12 |
+
|
| 13 |
+
.fractal-container {
|
| 14 |
+
position: relative;
|
| 15 |
+
aspect-ratio: 1;
|
| 16 |
+
background: rgba(255, 255, 255, 0.05);
|
| 17 |
+
border-radius: 1rem;
|
| 18 |
+
overflow: hidden;
|
| 19 |
+
cursor: pointer;
|
| 20 |
+
transition: all 0.3s ease;
|
| 21 |
+
}
|
| 22 |
+
|
| 23 |
+
.fractal-container:hover {
|
| 24 |
+
transform: scale(1.05);
|
| 25 |
+
box-shadow: 0 10px 30px ${color}40;
|
| 26 |
+
}
|
| 27 |
+
|
| 28 |
+
.fractal-canvas {
|
| 29 |
+
width: 100%;
|
| 30 |
+
height: 100%;
|
| 31 |
+
}
|
| 32 |
+
|
| 33 |
+
.overlay {
|
| 34 |
+
position: absolute;
|
| 35 |
+
bottom: 0;
|
| 36 |
+
left: 0;
|
| 37 |
+
right: 0;
|
| 38 |
+
background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
|
| 39 |
+
padding: 1rem;
|
| 40 |
+
transform: translateY(100%);
|
| 41 |
+
transition: transform 0.3s ease;
|
| 42 |
+
}
|
| 43 |
+
|
| 44 |
+
.fractal-container:hover .overlay {
|
| 45 |
+
transform: translateY(0);
|
| 46 |
+
}
|
| 47 |
+
|
| 48 |
+
.label {
|
| 49 |
+
color: white;
|
| 50 |
+
font-weight: 600;
|
| 51 |
+
font-size: 0.875rem;
|
| 52 |
+
}
|
| 53 |
+
</style>
|
| 54 |
+
|
| 55 |
+
<div class="fractal-container">
|
| 56 |
+
<canvas class="fractal-canvas"></canvas>
|
| 57 |
+
<div class="overlay">
|
| 58 |
+
<div class="label">Fractal #${seed}</div>
|
| 59 |
+
</div>
|
| 60 |
+
</div>
|
| 61 |
+
`;
|
| 62 |
+
|
| 63 |
+
this.setupFractal(seed, color);
|
| 64 |
+
}
|
| 65 |
+
|
| 66 |
+
setupFractal(seed, color) {
|
| 67 |
+
const canvas = this.shadowRoot.querySelector('.fractal-canvas');
|
| 68 |
+
const ctx = canvas.getContext('2d');
|
| 69 |
+
|
| 70 |
+
const resizeCanvas = () => {
|
| 71 |
+
canvas.width = canvas.offsetWidth;
|
| 72 |
+
canvas.height = canvas.offsetHeight;
|
| 73 |
+
drawFractal();
|
| 74 |
+
};
|
| 75 |
+
|
| 76 |
+
const drawFractal = () => {
|
| 77 |
+
const width = canvas.width;
|
| 78 |
+
const height = canvas.height;
|
| 79 |
+
|
| 80 |
+
ctx.fillStyle = '#000';
|
| 81 |
+
ctx.fillRect(0, 0, width, height);
|
| 82 |
+
|
| 83 |
+
// Generate fractal pattern based on seed
|
| 84 |
+
const centerX = width / 2;
|
| 85 |
+
const centerY = height / 2;
|
| 86 |
+
const maxRadius = Math.min(width, height) / 2;
|
| 87 |
+
|
| 88 |
+
for (let i = 0; i < 360; i += 0.5) {
|
| 89 |
+
const angle = i * Math.PI / 180;
|
| 90 |
+
const seedNum = parseInt(seed);
|
| 91 |
+
const radius = maxRadius * (0.5 + 0.3 * Math.sin(angle * seedNum * 0.01));
|
| 92 |
+
|
| 93 |
+
const x = centerX + radius * Math.cos(angle);
|
| 94 |
+
const y = centerY + radius * Math.sin(angle);
|
| 95 |
+
|
| 96 |
+
const hue = (i + seedNum * 10) % 360;
|
| 97 |
+
ctx.fillStyle = `hsla(${hue}, 70%, 50%, 0.8)`;
|
| 98 |
+
ctx.beginPath();
|
| 99 |
+
ctx.arc(x, y, 2, 0, Math.PI * 2);
|
| 100 |
+
ctx.fill();
|
| 101 |
+
}
|
| 102 |
+
|
| 103 |
+
// Add some recursive patterns
|
| 104 |
+
const drawRecursive = (x, y, size, depth) => {
|
| 105 |
+
if (depth === 0 || size < 2) return;
|
| 106 |
+
|
| 107 |
+
ctx.strokeStyle = color + '40';
|
| 108 |
+
ctx.lineWidth = 1;
|
| 109 |
+
ctx.beginPath();
|
| 110 |
+
ctx.arc(x, y, size, 0, Math.PI * 2);
|
| 111 |
+
ctx.stroke();
|
| 112 |
+
|
| 113 |
+
const newSize = size * 0.5;
|
| 114 |
+
const offset = size * 0.7;
|
| 115 |
+
|
| 116 |
+
drawRecursive(x - offset, y, newSize, depth - 1);
|
| 117 |
+
drawRecursive(x + offset, y, newSize, depth - 1);
|
| 118 |
+
drawRecursive(x, y - offset, newSize, depth - 1);
|
| 119 |
+
drawRecursive(x, y + offset, newSize, depth - 1);
|
| 120 |
+
};
|
| 121 |
+
|
| 122 |
+
drawRecursive(centerX, centerY, maxRadius * 0.3, 4);
|
| 123 |
+
};
|
| 124 |
+
|
| 125 |
+
resizeCanvas();
|
| 126 |
+
window.addEventListener('resize', resizeCanvas);
|
| 127 |
+
}
|
| 128 |
+
}
|
| 129 |
+
|
| 130 |
+
customElements.define('fractal-card', FractalCard);
|
components/nav-bar.js
ADDED
|
@@ -0,0 +1,140 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class NavBar extends HTMLElement {
|
| 2 |
+
connectedCallback() {
|
| 3 |
+
this.attachShadow({ mode: 'open' });
|
| 4 |
+
this.shadowRoot.innerHTML = `
|
| 5 |
+
<style>
|
| 6 |
+
:host {
|
| 7 |
+
display: block;
|
| 8 |
+
}
|
| 9 |
+
|
| 10 |
+
nav {
|
| 11 |
+
background: rgba(0, 0, 0, 0.8);
|
| 12 |
+
backdrop-filter: blur(20px);
|
| 13 |
+
border-bottom: 1px solid rgba(168, 85, 247, 0.3);
|
| 14 |
+
padding: 1rem 2rem;
|
| 15 |
+
}
|
| 16 |
+
|
| 17 |
+
.nav-container {
|
| 18 |
+
max-width: 1200px;
|
| 19 |
+
margin: 0 auto;
|
| 20 |
+
display: flex;
|
| 21 |
+
justify-content: space-between;
|
| 22 |
+
align-items: center;
|
| 23 |
+
}
|
| 24 |
+
|
| 25 |
+
.logo {
|
| 26 |
+
font-family: 'Orbitron', monospace;
|
| 27 |
+
font-size: 1.5rem;
|
| 28 |
+
font-weight: 700;
|
| 29 |
+
background: linear-gradient(45deg, #a855f7, #06b6d4);
|
| 30 |
+
-webkit-background-clip: text;
|
| 31 |
+
background-clip: text;
|
| 32 |
+
-webkit-text-fill-color: transparent;
|
| 33 |
+
}
|
| 34 |
+
|
| 35 |
+
.nav-links {
|
| 36 |
+
display: flex;
|
| 37 |
+
gap: 2rem;
|
| 38 |
+
list-style: none;
|
| 39 |
+
margin: 0;
|
| 40 |
+
padding: 0;
|
| 41 |
+
}
|
| 42 |
+
|
| 43 |
+
.nav-links a {
|
| 44 |
+
color: #e5e7eb;
|
| 45 |
+
text-decoration: none;
|
| 46 |
+
font-weight: 500;
|
| 47 |
+
transition: all 0.3s ease;
|
| 48 |
+
position: relative;
|
| 49 |
+
padding: 0.5rem 0;
|
| 50 |
+
}
|
| 51 |
+
|
| 52 |
+
.nav-links a:hover {
|
| 53 |
+
color: #a855f7;
|
| 54 |
+
}
|
| 55 |
+
|
| 56 |
+
.nav-links a::after {
|
| 57 |
+
content: '';
|
| 58 |
+
position: absolute;
|
| 59 |
+
bottom: 0;
|
| 60 |
+
left: 0;
|
| 61 |
+
width: 0;
|
| 62 |
+
height: 2px;
|
| 63 |
+
background: linear-gradient(90deg, #a855f7, #06b6d4);
|
| 64 |
+
transition: width 0.3s ease;
|
| 65 |
+
}
|
| 66 |
+
|
| 67 |
+
.nav-links a:hover::after {
|
| 68 |
+
width: 100%;
|
| 69 |
+
}
|
| 70 |
+
|
| 71 |
+
.mobile-menu {
|
| 72 |
+
display: none;
|
| 73 |
+
}
|
| 74 |
+
|
| 75 |
+
@media (max-width: 768px) {
|
| 76 |
+
.nav-links {
|
| 77 |
+
display: none;
|
| 78 |
+
position: absolute;
|
| 79 |
+
top: 100%;
|
| 80 |
+
left: 0;
|
| 81 |
+
right: 0;
|
| 82 |
+
background: rgba(0, 0, 0, 0.95);
|
| 83 |
+
flex-direction: column;
|
| 84 |
+
padding: 2rem;
|
| 85 |
+
backdrop-filter: blur(20px);
|
| 86 |
+
}
|
| 87 |
+
|
| 88 |
+
.nav-links.active {
|
| 89 |
+
display: flex;
|
| 90 |
+
}
|
| 91 |
+
|
| 92 |
+
.mobile-menu {
|
| 93 |
+
display: block;
|
| 94 |
+
background: none;
|
| 95 |
+
border: none;
|
| 96 |
+
color: #e5e7eb;
|
| 97 |
+
cursor: pointer;
|
| 98 |
+
}
|
| 99 |
+
}
|
| 100 |
+
</style>
|
| 101 |
+
|
| 102 |
+
<nav>
|
| 103 |
+
<div class="nav-container">
|
| 104 |
+
<div class="logo">Cosmic Portal</div>
|
| 105 |
+
<ul class="nav-links" id="navLinks">
|
| 106 |
+
<li><a href="#hero">Home</a></li>
|
| 107 |
+
<li><a href="#dimensions">Dimensions</a></li>
|
| 108 |
+
<li><a href="#meditation">Meditation</a></li>
|
| 109 |
+
<li><a href="#fractals">Fractals</a></li>
|
| 110 |
+
</ul>
|
| 111 |
+
<button class="mobile-menu" id="mobileMenu">
|
| 112 |
+
<i data-feather="menu"></i>
|
| 113 |
+
</button>
|
| 114 |
+
</div>
|
| 115 |
+
</nav>
|
| 116 |
+
`;
|
| 117 |
+
|
| 118 |
+
// Mobile menu toggle
|
| 119 |
+
const mobileMenuBtn = this.shadowRoot.getElementById('mobileMenu');
|
| 120 |
+
const navLinks = this.shadowRoot.getElementById('navLinks');
|
| 121 |
+
|
| 122 |
+
mobileMenuBtn.addEventListener('click', () => {
|
| 123 |
+
navLinks.classList.toggle('active');
|
| 124 |
+
});
|
| 125 |
+
|
| 126 |
+
// Close menu when clicking a link
|
| 127 |
+
this.shadowRoot.querySelectorAll('.nav-links a').forEach(link => {
|
| 128 |
+
link.addEventListener('click', () => {
|
| 129 |
+
navLinks.classList.remove('active');
|
| 130 |
+
});
|
| 131 |
+
});
|
| 132 |
+
|
| 133 |
+
// Add feather icons
|
| 134 |
+
if (window.feather) {
|
| 135 |
+
feather.replace({ parent: this.shadowRoot });
|
| 136 |
+
}
|
| 137 |
+
}
|
| 138 |
+
}
|
| 139 |
+
|
| 140 |
+
customElements.define('nav-bar', NavBar);
|
index.html
CHANGED
|
@@ -1,19 +1,133 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 Illusion Portal - Quantum Consciousness Awakening</title>
|
| 7 |
+
<link rel="icon" type="image/svg+xml" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='45' fill='%23ff00ff' opacity='0.7'/%3E%3Ccircle cx='50' cy='50' r='25' fill='%2300ffff' opacity='0.7'/%3E%3C/svg%3E">
|
| 8 |
+
<link rel="stylesheet" href="style.css">
|
| 9 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 10 |
+
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 11 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 12 |
+
</head>
|
| 13 |
+
<body class="bg-black text-white overflow-x-hidden">
|
| 14 |
+
<div class="fixed inset-0 z-0">
|
| 15 |
+
<canvas id="quantumCanvas" class="w-full h-full"></canvas>
|
| 16 |
+
</div>
|
| 17 |
+
|
| 18 |
+
<header class="relative z-10">
|
| 19 |
+
<nav-bar></nav-bar>
|
| 20 |
+
</header>
|
| 21 |
+
|
| 22 |
+
<main class="relative z-10">
|
| 23 |
+
<section id="hero" class="min-h-screen flex items-center justify-center">
|
| 24 |
+
<div class="text-center max-w-4xl mx-auto px-4">
|
| 25 |
+
<h1 class="text-6xl md:text-8xl font-bold mb-6 animate-pulse bg-gradient-to-r from-purple-400 via-pink-500 to-cyan-400 bg-clip-text text-transparent">
|
| 26 |
+
Quantum Consciousness
|
| 27 |
+
</h1>
|
| 28 |
+
<p class="text-xl md:text-2xl text-gray-300 mb-8 animate-fade-in">
|
| 29 |
+
Journey through multidimensional illusions and awaken your inner divinity
|
| 30 |
+
</p>
|
| 31 |
+
<button id="enterPortal" class="px-8 py-4 bg-gradient-to-r from-purple-600 to-cyan-600 rounded-full text-white font-semibold text-lg hover:scale-110 transition-transform duration-300 shadow-lg hover:shadow-purple-500/50">
|
| 32 |
+
Enter the Portal
|
| 33 |
+
</button>
|
| 34 |
+
</div>
|
| 35 |
+
</section>
|
| 36 |
+
|
| 37 |
+
<section id="dimensions" class="py-20">
|
| 38 |
+
<div class="max-w-7xl mx-auto px-4">
|
| 39 |
+
<h2 class="text-5xl font-bold text-center mb-16 bg-gradient-to-r from-fuchsia-400 to-violet-400 bg-clip-text text-transparent">
|
| 40 |
+
Dimensional Layers
|
| 41 |
+
</h2>
|
| 42 |
+
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
|
| 43 |
+
<dimension-card
|
| 44 |
+
title="3D Reality"
|
| 45 |
+
description="The physical realm of matter and form"
|
| 46 |
+
color="from-blue-500 to-purple-600"
|
| 47 |
+
icon="box">
|
| 48 |
+
</dimension-card>
|
| 49 |
+
<dimension-card
|
| 50 |
+
title="4D Time"
|
| 51 |
+
description="The fluid dimension of past, present, and future"
|
| 52 |
+
color="from-purple-500 to-pink-600"
|
| 53 |
+
icon="clock">
|
| 54 |
+
</dimension-card>
|
| 55 |
+
<dimension-card
|
| 56 |
+
title="5D Consciousness"
|
| 57 |
+
description="The realm of pure awareness and infinite possibilities"
|
| 58 |
+
color="from-pink-500 to-cyan-600"
|
| 59 |
+
icon="eye">
|
| 60 |
+
</dimension-card>
|
| 61 |
+
</div>
|
| 62 |
+
</div>
|
| 63 |
+
</section>
|
| 64 |
+
|
| 65 |
+
<section id="meditation" class="py-20 bg-gradient-to-b from-transparent via-purple-900/20 to-transparent">
|
| 66 |
+
<div class="max-w-4xl mx-auto px-4 text-center">
|
| 67 |
+
<h2 class="text-5xl font-bold mb-8 bg-gradient-to-r from-cyan-400 to-purple-400 bg-clip-text text-transparent">
|
| 68 |
+
Guided Meditation
|
| 69 |
+
</h2>
|
| 70 |
+
<div class="relative">
|
| 71 |
+
<div class="w-64 h-64 mx-auto rounded-full bg-gradient-to-r from-purple-500 to-cyan-500 opacity-50 blur-3xl absolute inset-0 animate-pulse"></div>
|
| 72 |
+
<button id="startMeditation" class="relative z-10 w-48 h-48 rounded-full bg-gradient-to-r from-purple-600 to-cyan-600 flex items-center justify-center text-white hover:scale-110 transition-transform duration-300 shadow-2xl">
|
| 73 |
+
<i data-feather="play" class="w-16 h-16"></i>
|
| 74 |
+
</button>
|
| 75 |
+
</div>
|
| 76 |
+
<p class="mt-8 text-xl text-gray-300">
|
| 77 |
+
Click to begin your quantum journey
|
| 78 |
+
</p>
|
| 79 |
+
</div>
|
| 80 |
+
</section>
|
| 81 |
+
|
| 82 |
+
<section id="fractals" class="py-20">
|
| 83 |
+
<div class="max-w-7xl mx-auto px-4">
|
| 84 |
+
<h2 class="text-5xl font-bold text-center mb-16 bg-gradient-to-r from-violet-400 to-fuchsia-400 bg-clip-text text-transparent">
|
| 85 |
+
Fractal Realities
|
| 86 |
+
</h2>
|
| 87 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6">
|
| 88 |
+
<fractal-card seed="42" color="#ff00ff"></fractal-card>
|
| 89 |
+
<fractal-card seed="137" color="#00ffff"></fractal-card>
|
| 90 |
+
<fractal-card seed="256" color="#ffff00"></fractal-card>
|
| 91 |
+
<fractal-card seed="999" color="#ff00aa"></fractal-card>
|
| 92 |
+
</div>
|
| 93 |
+
</div>
|
| 94 |
+
</section>
|
| 95 |
+
</main>
|
| 96 |
+
|
| 97 |
+
<footer class="relative z-10 py-12 border-t border-purple-500/20">
|
| 98 |
+
<div class="max-w-7xl mx-auto px-4 text-center">
|
| 99 |
+
<p class="text-gray-400">
|
| 100 |
+
Β© 2024 Cosmic Illusion Portal - Awaken Your Infinite Self
|
| 101 |
+
</p>
|
| 102 |
+
</div>
|
| 103 |
+
</footer>
|
| 104 |
+
|
| 105 |
+
<div id="meditationModal" class="fixed inset-0 bg-black/90 z-50 hidden flex items-center justify-center">
|
| 106 |
+
<div class="relative max-w-2xl w-full mx-4">
|
| 107 |
+
<button id="closeMeditation" class="absolute top-4 right-4 text-white hover:text-gray-300">
|
| 108 |
+
<i data-feather="x" class="w-8 h-8"></i>
|
| 109 |
+
</button>
|
| 110 |
+
<div class="bg-gradient-to-b from-purple-900/50 to-cyan-900/50 backdrop-blur-lg rounded-2xl p-8">
|
| 111 |
+
<h3 class="text-3xl font-bold text-center mb-6 text-transparent bg-gradient-to-r from-purple-400 to-cyan-400 bg-clip-text">
|
| 112 |
+
Quantum Breathing
|
| 113 |
+
</h3>
|
| 114 |
+
<div class="text-center">
|
| 115 |
+
<div id="breathingCircle" class="w-32 h-32 mx-auto rounded-full border-4 border-purple-400 flex items-center justify-center">
|
| 116 |
+
<span id="breathText" class="text-2xl font-bold">Breathe</span>
|
| 117 |
+
</div>
|
| 118 |
+
<p class="mt-6 text-gray-300">
|
| 119 |
+
Follow the circle. Inhale as it expands, exhale as it contracts.
|
| 120 |
+
</p>
|
| 121 |
+
</div>
|
| 122 |
+
</div>
|
| 123 |
+
</div>
|
| 124 |
+
</div>
|
| 125 |
+
|
| 126 |
+
<script src="components/nav-bar.js"></script>
|
| 127 |
+
<script src="components/dimension-card.js"></script>
|
| 128 |
+
<script src="components/fractal-card.js"></script>
|
| 129 |
+
<script src="script.js"></script>
|
| 130 |
+
<script>feather.replace();</script>
|
| 131 |
+
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
|
| 132 |
+
</body>
|
| 133 |
+
</html>
|
script.js
ADDED
|
@@ -0,0 +1,187 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// Quantum Canvas Animation
|
| 2 |
+
const canvas = document.getElementById('quantumCanvas');
|
| 3 |
+
const ctx = canvas.getContext('2d');
|
| 4 |
+
|
| 5 |
+
let particles = [];
|
| 6 |
+
let mouseX = 0;
|
| 7 |
+
let mouseY = 0;
|
| 8 |
+
|
| 9 |
+
function resizeCanvas() {
|
| 10 |
+
canvas.width = window.innerWidth;
|
| 11 |
+
canvas.height = window.innerHeight;
|
| 12 |
+
}
|
| 13 |
+
|
| 14 |
+
class Particle {
|
| 15 |
+
constructor() {
|
| 16 |
+
this.x = Math.random() * canvas.width;
|
| 17 |
+
this.y = Math.random() * canvas.height;
|
| 18 |
+
this.vx = (Math.random() - 0.5) * 0.5;
|
| 19 |
+
this.vy = (Math.random() - 0.5) * 0.5;
|
| 20 |
+
this.radius = Math.random() * 2 + 1;
|
| 21 |
+
this.hue = Math.random() * 360;
|
| 22 |
+
}
|
| 23 |
+
|
| 24 |
+
update() {
|
| 25 |
+
this.x += this.vx;
|
| 26 |
+
this.y += this.vy;
|
| 27 |
+
|
| 28 |
+
if (this.x < 0 || this.x > canvas.width) this.vx *= -1;
|
| 29 |
+
if (this.y < 0 || this.y > canvas.height) this.vy *= -1;
|
| 30 |
+
|
| 31 |
+
// Mouse interaction
|
| 32 |
+
const dx = mouseX - this.x;
|
| 33 |
+
const dy = mouseY - this.y;
|
| 34 |
+
const distance = Math.sqrt(dx * dx + dy * dy);
|
| 35 |
+
|
| 36 |
+
if (distance < 100) {
|
| 37 |
+
this.vx += dx * 0.0001;
|
| 38 |
+
this.vy += dy * 0.0001;
|
| 39 |
+
}
|
| 40 |
+
|
| 41 |
+
this.hue += 0.5;
|
| 42 |
+
}
|
| 43 |
+
|
| 44 |
+
draw() {
|
| 45 |
+
ctx.beginPath();
|
| 46 |
+
ctx.arc(this.x, this.y, this.radius, 0, Math.PI * 2);
|
| 47 |
+
ctx.fillStyle = `hsla(${this.hue}, 70%, 50%, 0.8)`;
|
| 48 |
+
ctx.fill();
|
| 49 |
+
}
|
| 50 |
+
}
|
| 51 |
+
|
| 52 |
+
function initParticles() {
|
| 53 |
+
particles = [];
|
| 54 |
+
const particleCount = Math.min(100, Math.floor(canvas.width * canvas.height / 10000));
|
| 55 |
+
for (let i = 0; i < particleCount; i++) {
|
| 56 |
+
particles.push(new Particle());
|
| 57 |
+
}
|
| 58 |
+
}
|
| 59 |
+
|
| 60 |
+
function animate() {
|
| 61 |
+
ctx.fillStyle = 'rgba(0, 0, 0, 0.05)';
|
| 62 |
+
ctx.fillRect(0, 0, canvas.width, canvas.height);
|
| 63 |
+
|
| 64 |
+
particles.forEach(particle => {
|
| 65 |
+
particle.update();
|
| 66 |
+
particle.draw();
|
| 67 |
+
});
|
| 68 |
+
|
| 69 |
+
// Draw connections
|
| 70 |
+
particles.forEach((p1, index) => {
|
| 71 |
+
particles.slice(index + 1).forEach(p2 => {
|
| 72 |
+
const dx = p1.x - p2.x;
|
| 73 |
+
const dy = p1.y - p2.y;
|
| 74 |
+
const distance = Math.sqrt(dx * dx + dy * dy);
|
| 75 |
+
|
| 76 |
+
if (distance.distance < 100) {
|
| 77 |
+
ctx.beginPath();
|
| 78 |
+
ctx.moveTo(p1.x, p1.y);
|
| 79 |
+
ctx.lineTo(p2.x, p2.y);
|
| 80 |
+
ctx.strokeStyle = `hsla(${(p1.hue + p2.hue) / 2}, 70%, 50%, ${0.2 * (1 - distance / 100)})`;
|
| 81 |
+
ctx.stroke();
|
| 82 |
+
}
|
| 83 |
+
});
|
| 84 |
+
});
|
| 85 |
+
|
| 86 |
+
requestAnimationFrame(animate);
|
| 87 |
+
}
|
| 88 |
+
|
| 89 |
+
// Event listeners
|
| 90 |
+
window.addEventListener('resize', () => {
|
| 91 |
+
resizeCanvas();
|
| 92 |
+
initParticles();
|
| 93 |
+
});
|
| 94 |
+
|
| 95 |
+
canvas.addEventListener('mousemove', (e) => {
|
| 96 |
+
mouseX = e.clientX;
|
| 97 |
+
mouseY = e.clientY;
|
| 98 |
+
});
|
| 99 |
+
|
| 100 |
+
// Initialize
|
| 101 |
+
resizeCanvas();
|
| 102 |
+
initParticles();
|
| 103 |
+
animate();
|
| 104 |
+
|
| 105 |
+
// Meditation Modal
|
| 106 |
+
const enterPortalBtn = document.getElementById('enterPortal');
|
| 107 |
+
const startMeditationBtn = document.getElementById('startMeditation');
|
| 108 |
+
const meditationModal = document.getElementById('meditationModal');
|
| 109 |
+
const closeMeditationBtn = document.getElementById('closeMeditation');
|
| 110 |
+
const breathingCircle = document.getElementById('breathingCircle');
|
| 111 |
+
const breathText = document.getElementById('breathText');
|
| 112 |
+
|
| 113 |
+
let meditationInterval;
|
| 114 |
+
let isInhaling = true;
|
| 115 |
+
|
| 116 |
+
enterPortalBtn.addEventListener('click', () => {
|
| 117 |
+
document.getElementById('dimensions').scrollIntoView({ behavior: 'smooth' });
|
| 118 |
+
});
|
| 119 |
+
|
| 120 |
+
startMeditationBtn.addEventListener('click', () => {
|
| 121 |
+
meditationModal.classList.remove('hidden');
|
| 122 |
+
startBreathing();
|
| 123 |
+
});
|
| 124 |
+
|
| 125 |
+
closeMeditationBtn.addEventListener('click', () => {
|
| 126 |
+
meditationModal.classList.add('hidden');
|
| 127 |
+
clearInterval(meditationInterval);
|
| 128 |
+
});
|
| 129 |
+
|
| 130 |
+
function startBreathing() {
|
| 131 |
+
let scale = 1;
|
| 132 |
+
let speed = 0.005;
|
| 133 |
+
|
| 134 |
+
meditationInterval = setInterval(() => {
|
| 135 |
+
if (isInhaling) {
|
| 136 |
+
scale += speed;
|
| 137 |
+
breathText.textContent = 'Inhale';
|
| 138 |
+
if (scale >= 1.5) isInhaling = false;
|
| 139 |
+
} else {
|
| 140 |
+
scale -= speed;
|
| 141 |
+
breathText.textContent = 'Exhale';
|
| 142 |
+
if (scale <= 1) isInhaling = true;
|
| 143 |
+
}
|
| 144 |
+
|
| 145 |
+
breathingCircle.style.transform = `scale(${scale})`;
|
| 146 |
+
}, 16);
|
| 147 |
+
}
|
| 148 |
+
|
| 149 |
+
// Smooth scroll for navigation
|
| 150 |
+
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
|
| 151 |
+
anchor.addEventListener('click', function (e) {
|
| 152 |
+
e.preventDefault();
|
| 153 |
+
const target = document.querySelector(this.getAttribute('href'));
|
| 154 |
+
if (target) {
|
| 155 |
+
target.scrollIntoView({ behavior: 'smooth' });
|
| 156 |
+
}
|
| 157 |
+
});
|
| 158 |
+
});
|
| 159 |
+
|
| 160 |
+
// Intersection Observer for animations
|
| 161 |
+
const observerOptions = {
|
| 162 |
+
threshold: 0.1,
|
| 163 |
+
rootMargin: '0px 0px -50px 0px'
|
| 164 |
+
};
|
| 165 |
+
|
| 166 |
+
const observer = new IntersectionObserver((entries) => {
|
| 167 |
+
entries.forEach(entry => {
|
| 168 |
+
if (entry.isIntersecting) {
|
| 169 |
+
entry.target.classList.add('animate-fade-in');
|
| 170 |
+
}
|
| 171 |
+
});
|
| 172 |
+
}, observerOptions);
|
| 173 |
+
|
| 174 |
+
document.querySelectorAll('section').forEach(section => {
|
| 175 |
+
observer.observe(section);
|
| 176 |
+
});
|
| 177 |
+
|
| 178 |
+
// Add ripple effect on click
|
| 179 |
+
document.addEventListener('click', (e) => {
|
| 180 |
+
const ripple = document.createElement('div');
|
| 181 |
+
ripple.className = 'fixed w-4 h-4 rounded-full bg-purple-400/50 pointer-events-none animate-ping';
|
| 182 |
+
ripple.style.left = e.clientX - 8 + 'px';
|
| 183 |
+
ripple.style.top = e.clientY - 8 + 'px';
|
| 184 |
+
document.body.appendChild(ripple);
|
| 185 |
+
|
| 186 |
+
setTimeout(() => ripple.remove(), 1000);
|
| 187 |
+
});
|
style.css
CHANGED
|
@@ -1,28 +1,112 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
body {
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
}
|
| 5 |
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
|
|
|
| 9 |
}
|
| 10 |
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
font-size: 15px;
|
| 14 |
-
margin-bottom: 10px;
|
| 15 |
-
margin-top: 5px;
|
| 16 |
}
|
| 17 |
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
margin: 0 auto;
|
| 21 |
-
padding: 16px;
|
| 22 |
-
border: 1px solid lightgray;
|
| 23 |
-
border-radius: 16px;
|
| 24 |
}
|
| 25 |
|
| 26 |
-
|
| 27 |
-
|
|
|
|
| 28 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Inter:wght@300;400;500;600;700&display=swap');
|
| 2 |
+
|
| 3 |
+
:root {
|
| 4 |
+
--primary-500: #a855f7;
|
| 5 |
+
--primary-600: #9333ea;
|
| 6 |
+
--secondary-500: #06b6d4;
|
| 7 |
+
--secondary-600: #0891b2;
|
| 8 |
+
--accent-500: #ec4899;
|
| 9 |
+
}
|
| 10 |
+
|
| 11 |
+
* {
|
| 12 |
+
box-sizing: border-box;
|
| 13 |
+
}
|
| 14 |
+
|
| 15 |
body {
|
| 16 |
+
font-family: 'Inter', sans-serif;
|
| 17 |
+
background: #000;
|
| 18 |
+
}
|
| 19 |
+
|
| 20 |
+
h1, h2, h3 {
|
| 21 |
+
font-family: 'Orbitron', monospace;
|
| 22 |
+
}
|
| 23 |
+
|
| 24 |
+
@keyframes float {
|
| 25 |
+
0%, 100% { transform: translateY(0px); }
|
| 26 |
+
50% { transform: translateY(-20px); }
|
| 27 |
+
}
|
| 28 |
+
|
| 29 |
+
@keyframes spin-slow {
|
| 30 |
+
from { transform: rotate(0deg); }
|
| 31 |
+
to { transform: rotate(360deg); }
|
| 32 |
+
}
|
| 33 |
+
|
| 34 |
+
@keyframes pulse-glow {
|
| 35 |
+
0%, 100% { box-shadow: 0 0 20px rgba(168, 85, 247, 0.5); }
|
| 36 |
+
50% { box-shadow: 0 0 40px rgba(168, 85, 247, 0.8), 0 0 60px rgba(6, 182, 212, 0.6); }
|
| 37 |
+
}
|
| 38 |
+
|
| 39 |
+
.animate-float {
|
| 40 |
+
animation: float 6s ease-in-out infinite;
|
| 41 |
+
}
|
| 42 |
+
|
| 43 |
+
.animate-spin-slow {
|
| 44 |
+
animation: spin-slow 20s linear infinite;
|
| 45 |
+
}
|
| 46 |
+
|
| 47 |
+
.animate-pulse-glow {
|
| 48 |
+
animation: pulse-glow 2s ease-in-out infinite;
|
| 49 |
+
}
|
| 50 |
+
|
| 51 |
+
.animate-fade-in {
|
| 52 |
+
animation: fadeIn 1s ease-in;
|
| 53 |
+
}
|
| 54 |
+
|
| 55 |
+
@keyframes fadeIn {
|
| 56 |
+
from { opacity: 0; transform: translateY(20px); }
|
| 57 |
+
to { opacity: 1; transform: translateY(0); }
|
| 58 |
+
}
|
| 59 |
+
|
| 60 |
+
#quantumCanvas {
|
| 61 |
+
position: absolute;
|
| 62 |
+
top: 0;
|
| 63 |
+
left: 0;
|
| 64 |
+
width: 100%;
|
| 65 |
+
height: 100%;
|
| 66 |
+
opacity: 0.7;
|
| 67 |
+
}
|
| 68 |
+
|
| 69 |
+
.glassmorphism {
|
| 70 |
+
background: rgba(255, 255, 255, 0.1);
|
| 71 |
+
backdrop-filter: blur(10px);
|
| 72 |
+
border: 1px solid rgba(255, 255, 255, 0.2);
|
| 73 |
+
}
|
| 74 |
+
|
| 75 |
+
.neon-border {
|
| 76 |
+
box-shadow: 0 0 5px var(--primary-500),
|
| 77 |
+
0 0 10px var(--primary-500),
|
| 78 |
+
0 0 15px var(--primary-500),
|
| 79 |
+
0 0 20px var(--secondary-500);
|
| 80 |
+
}
|
| 81 |
+
|
| 82 |
+
.gradient-text {
|
| 83 |
+
background: linear-gradient(45deg, var(--primary-500), var(--secondary-500), var(--accent-500));
|
| 84 |
+
background-size: 200% 200%;
|
| 85 |
+
animation: gradient 3s ease infinite;
|
| 86 |
+
-webkit-background-clip: text;
|
| 87 |
+
background-clip: text;
|
| 88 |
+
-webkit-text-fill-color: transparent;
|
| 89 |
}
|
| 90 |
|
| 91 |
+
@keyframes gradient {
|
| 92 |
+
0% { background-position: 0% 50%; }
|
| 93 |
+
50% { background-position: 100% 50%; }
|
| 94 |
+
100% { background-position: 0% 50%; }
|
| 95 |
}
|
| 96 |
|
| 97 |
+
::-webkit-scrollbar {
|
| 98 |
+
width: 8px;
|
|
|
|
|
|
|
|
|
|
| 99 |
}
|
| 100 |
|
| 101 |
+
::-webkit-scrollbar-track {
|
| 102 |
+
background: rgba(0, 0, 0, 0.1);
|
|
|
|
|
|
|
|
|
|
|
|
|
| 103 |
}
|
| 104 |
|
| 105 |
+
::-webkit-scrollbar-thumb {
|
| 106 |
+
background: linear-gradient(var(--primary-500), var(--secondary-500));
|
| 107 |
+
border-radius: 4px;
|
| 108 |
}
|
| 109 |
+
|
| 110 |
+
::-webkit-scrollbar-thumb:hover {
|
| 111 |
+
background: linear-gradient(var(--primary-600), var(--secondary-600));
|
| 112 |
+
}
|