diff --git a/src/main.js b/src/main.js index 277ad19..d08b13e 100644 --- a/src/main.js +++ b/src/main.js @@ -1,21 +1,32 @@ import './style.css' document.querySelector('#app').innerHTML = ` -
-
+
+ ${Array.from({length: 20}).map(() => `
`).join('')}
-

☒️ NUCLEAR POWER PARTY ☒️

-

WARNING: HIGH ENERGY VIBES DETECTED

- -
Status: Stable
+ +
+

The Ultimate Balloon Gala

+

Join us for a night of floating fun, vivid colors, and high-altitude entertainment.

+ +
+
+ πŸ“… + Saturday, August 29th, 2026 +
+
+ πŸ“ + The Sky Lounge, Downtown +
+
+ + +
` -document.querySelector('#meltdown-btn').addEventListener('click', () => { - document.querySelector('.core').style.backgroundColor = '#ff0000'; - document.querySelector('.core').style.boxShadow = '0 0 100px #ff0000, 0 0 200px #ff0000'; - document.querySelector('h1').style.color = '#ff0000'; - document.querySelector('h1').style.textShadow = '0 0 20px #ff0000'; - document.querySelector('#status').innerHTML = 'Status: CRITICAL MELTDOWN IN PROGRESS! πŸ•ΊπŸ’ƒ'; - document.querySelector('#status').style.color = '#ff0000'; - document.querySelector('#status').style.animation = 'blink 0.2s infinite'; +document.querySelector('#rsvp-btn').addEventListener('click', (e) => { + e.target.innerHTML = 'πŸŽ‰ YOU ARE ON THE GUEST LIST! πŸŽ‰'; + e.target.style.backgroundColor = '#10b981'; + e.target.style.color = 'white'; + e.target.style.transform = 'scale(1.05)'; }); diff --git a/src/style.css b/src/style.css index 057740b..ad4d5a5 100644 --- a/src/style.css +++ b/src/style.css @@ -1,12 +1,10 @@ -:root { - font-family: 'Courier New', Courier, monospace; - line-height: 1.5; - font-weight: 400; +@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;600;800&display=swap'); - color-scheme: dark; - color: #39ff14; - background-color: #111; - text-align: center; +:root { + font-family: 'Outfit', sans-serif; + color-scheme: light dark; + background: linear-gradient(135deg, #1e1e2f 0%, #2a2a4a 100%); + color: #fff; } body { @@ -15,80 +13,131 @@ body { place-items: center; min-width: 320px; min-height: 100vh; - flex-direction: column; - justify-content: center; + overflow: hidden; + position: relative; +} + +/* Floating Balloons */ +.balloon-container { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + pointer-events: none; + z-index: 0; +} + +.balloon { + position: absolute; + bottom: -150px; + left: var(--left); + width: 60px; + height: 75px; + background-color: var(--color); + border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%; + transform: scale(var(--scale)); + animation: floatUp 10s ease-in infinite; + animation-delay: var(--delay); + opacity: 0.8; + box-shadow: inset -10px -10px 15px rgba(0,0,0,0.2), inset 10px 10px 15px rgba(255,255,255,0.4); +} + +.balloon::after { + content: ''; + position: absolute; + bottom: -8px; + left: 50%; + transform: translateX(-50%); + width: 0; + height: 0; + border-left: 5px solid transparent; + border-right: 5px solid transparent; + border-bottom: 8px solid var(--color); +} + +@keyframes floatUp { + 0% { transform: translateY(0) scale(var(--scale)) rotate(-5deg); } + 50% { transform: translateY(-60vh) scale(var(--scale)) rotate(5deg); } + 100% { transform: translateY(-120vh) scale(var(--scale)) rotate(-5deg); } +} + +/* Glassmorphism Panel */ +.glass-panel { + background: rgba(255, 255, 255, 0.1); + backdrop-filter: blur(16px); + -webkit-backdrop-filter: blur(16px); + border: 1px solid rgba(255, 255, 255, 0.2); + border-radius: 24px; + padding: 3rem; + max-width: 500px; + text-align: center; + z-index: 10; + box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); + margin: 0 auto; } h1 { - font-size: 3.2em; - line-height: 1.1; - text-shadow: 0 0 10px #39ff14; - margin-top: 40px; + font-size: 3rem; + font-weight: 800; + margin: 0 0 1rem 0; + background: linear-gradient(90deg, #ff6b6b, #feca57, #48dbfb, #ff9ff3); + -webkit-background-clip: text; + -webkit-text-fill-color: transparent; + background-size: 300%; + animation: gradientFlow 5s ease infinite; } -.reactor { - width: 200px; - height: 200px; - border-radius: 50%; - border: 10px solid #555; - margin: 0 auto; +@keyframes gradientFlow { + 0% { background-position: 0% 50%; } + 50% { background-position: 100% 50%; } + 100% { background-position: 0% 50%; } +} + +.subtitle { + font-size: 1.2rem; + font-weight: 300; + color: rgba(255, 255, 255, 0.8); + margin-bottom: 2rem; +} + +.details { + display: flex; + flex-direction: column; + gap: 1rem; + margin-bottom: 2rem; + text-align: left; +} + +.detail-item { display: flex; align-items: center; - justify-content: center; - position: relative; - background: #222; - box-shadow: inset 0 0 50px #000; + background: rgba(0, 0, 0, 0.2); + padding: 1rem; + border-radius: 12px; + font-size: 1.1rem; } -.core { - width: 100px; - height: 100px; - border-radius: 50%; - background-color: #39ff14; - box-shadow: 0 0 50px #39ff14, 0 0 100px #39ff14; - animation: pulse 2s infinite alternate; - transition: all 1s; -} - -@keyframes pulse { - 0% { transform: scale(0.9); box-shadow: 0 0 20px #39ff14; } - 100% { transform: scale(1.1); box-shadow: 0 0 60px #39ff14, 0 0 100px #39ff14; } -} - -@keyframes blink { - 0% { opacity: 1; } - 50% { opacity: 0; } - 100% { opacity: 1; } -} - -.warning { - font-weight: bold; - font-size: 1.2em; - color: #ffff00; - margin: 20px 0; +.icon { + font-size: 1.5rem; + margin-right: 1rem; } button { - border-radius: 8px; - border: 2px solid #ff0000; - padding: 0.6em 1.2em; - font-size: 1.2em; - font-weight: bold; - font-family: inherit; - background-color: #330000; - color: #ff0000; + background: #feca57; + color: #222; + border: none; + padding: 1rem 2rem; + font-size: 1.2rem; + font-weight: 800; + border-radius: 50px; cursor: pointer; - transition: all 0.25s; - box-shadow: 0 0 10px #ff0000; -} -button:hover { - background-color: #ff0000; - color: #fff; - box-shadow: 0 0 20px #ff0000; + width: 100%; + transition: all 0.3s ease; + box-shadow: 0 10px 20px rgba(254, 202, 87, 0.3); } -#status { - margin-top: 30px; - font-size: 1.5em; - font-weight: bold; +button:hover { + transform: translateY(-3px); + box-shadow: 0 15px 25px rgba(254, 202, 87, 0.5); }