413 lines
8.1 KiB
CSS
413 lines
8.1 KiB
CSS
:root {
|
|
--bg-dark: #050b14;
|
|
--trae-green: #00ff66;
|
|
--aurora-cyan: #00f2ff;
|
|
--aurora-purple: #7000ff;
|
|
--text-primary: #e0e0e0;
|
|
--text-dim: #a0a0a0;
|
|
--glass-bg: rgba(255, 255, 255, 0.05);
|
|
--glass-border: rgba(255, 255, 255, 0.1);
|
|
--font-main: 'Space Grotesk', sans-serif;
|
|
--font-accent: 'Orbitron', sans-serif;
|
|
}
|
|
|
|
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
body {
|
|
background-color: var(--bg-dark);
|
|
color: var(--text-primary);
|
|
font-family: var(--font-main);
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
#bgCanvas {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: -1;
|
|
}
|
|
|
|
.app-container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 0 20px;
|
|
}
|
|
|
|
/* Glassmorphism Utility */
|
|
.glass {
|
|
background: var(--glass-bg);
|
|
backdrop-filter: blur(12px);
|
|
-webkit-backdrop-filter: blur(12px);
|
|
border: 1px solid var(--glass-border);
|
|
border-radius: 20px;
|
|
}
|
|
|
|
/* Navigation */
|
|
.glass-nav {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 20px 40px;
|
|
margin-top: 20px;
|
|
background: var(--glass-bg);
|
|
backdrop-filter: blur(10px);
|
|
border: 1px solid var(--glass-border);
|
|
border-radius: 50px;
|
|
position: sticky;
|
|
top: 20px;
|
|
z-index: 100;
|
|
}
|
|
|
|
.logo {
|
|
font-family: var(--font-accent);
|
|
font-weight: 700;
|
|
font-size: 1.5rem;
|
|
letter-spacing: 2px;
|
|
}
|
|
|
|
.logo span {
|
|
color: var(--trae-green);
|
|
text-shadow: 0 0 10px var(--trae-green);
|
|
}
|
|
|
|
.nav-links {
|
|
display: flex;
|
|
list-style: none;
|
|
gap: 30px;
|
|
}
|
|
|
|
.nav-links a {
|
|
color: var(--text-primary);
|
|
text-decoration: none;
|
|
font-weight: 500;
|
|
transition: color 0.3s;
|
|
}
|
|
|
|
.nav-links a:hover {
|
|
color: var(--trae-green);
|
|
}
|
|
|
|
/* Play Banner */
|
|
.play-banner {
|
|
display: block;
|
|
margin: 40px auto;
|
|
max-width: 800px;
|
|
text-decoration: none;
|
|
position: relative;
|
|
transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
|
|
z-index: 10;
|
|
}
|
|
|
|
.banner-inner {
|
|
background: rgba(0, 255, 102, 0.05);
|
|
backdrop-filter: blur(15px);
|
|
border: 2px solid rgba(0, 255, 102, 0.3);
|
|
border-radius: 24px;
|
|
padding: 40px 60px;
|
|
text-align: center;
|
|
position: relative;
|
|
overflow: hidden;
|
|
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5),
|
|
inset 0 0 30px rgba(0, 255, 102, 0.1);
|
|
}
|
|
|
|
.play-banner:hover {
|
|
transform: scale(1.02) translateY(-5px);
|
|
}
|
|
|
|
.banner-tag {
|
|
background: var(--trae-green);
|
|
color: var(--bg-dark);
|
|
font-family: var(--font-accent);
|
|
font-weight: 700;
|
|
font-size: 0.8rem;
|
|
padding: 6px 16px;
|
|
border-radius: 50px;
|
|
display: inline-block;
|
|
margin-bottom: 20px;
|
|
letter-spacing: 2px;
|
|
box-shadow: 0 0 20px var(--trae-green);
|
|
}
|
|
|
|
.banner-title {
|
|
font-family: var(--font-accent);
|
|
font-size: 3rem;
|
|
color: white;
|
|
margin-bottom: 10px;
|
|
text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
|
|
}
|
|
|
|
.banner-subtitle {
|
|
color: var(--trae-green);
|
|
font-size: 1.2rem;
|
|
font-weight: 500;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.banner-glow {
|
|
position: absolute;
|
|
top: -50%;
|
|
left: -50%;
|
|
width: 200%;
|
|
height: 200%;
|
|
background: radial-gradient(circle, rgba(0, 255, 102, 0.1) 0%, transparent 70%);
|
|
pointer-events: none;
|
|
animation: rotateGlow 10s linear infinite;
|
|
}
|
|
|
|
@keyframes rotateGlow {
|
|
from { transform: rotate(0deg); }
|
|
to { transform: rotate(360deg); }
|
|
}
|
|
|
|
.play-banner:hover .banner-inner {
|
|
border-color: var(--trae-green);
|
|
background: rgba(0, 255, 102, 0.1);
|
|
box-shadow: 0 30px 60px rgba(0, 255, 102, 0.2),
|
|
inset 0 0 40px rgba(0, 255, 102, 0.2);
|
|
}
|
|
|
|
/* Hero Section */
|
|
.hero {
|
|
height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
text-align: center;
|
|
}
|
|
|
|
.glitch-text {
|
|
font-family: var(--font-accent);
|
|
font-size: 5rem;
|
|
font-weight: 700;
|
|
position: relative;
|
|
color: white;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.glitch-text::before,
|
|
.glitch-text::after {
|
|
content: attr(data-text);
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.glitch-text::before {
|
|
color: var(--trae-green);
|
|
z-index: -1;
|
|
animation: glitch 3s infinite;
|
|
}
|
|
|
|
.glitch-text::after {
|
|
color: var(--aurora-cyan);
|
|
z-index: -2;
|
|
animation: glitch 2s infinite reverse;
|
|
}
|
|
|
|
@keyframes glitch {
|
|
0% { transform: translate(0); }
|
|
20% { transform: translate(-2px, 2px); }
|
|
40% { transform: translate(-2px, -2px); }
|
|
60% { transform: translate(2px, 2px); }
|
|
80% { transform: translate(2px, -2px); }
|
|
100% { transform: translate(0); }
|
|
}
|
|
|
|
.subtitle {
|
|
font-size: 1.2rem;
|
|
color: var(--text-dim);
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
/* Countdown */
|
|
.countdown-container {
|
|
display: flex;
|
|
gap: 20px;
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
.time-block {
|
|
background: var(--glass-bg);
|
|
padding: 20px;
|
|
border-radius: 15px;
|
|
min-width: 100px;
|
|
border: 1px solid var(--glass-border);
|
|
}
|
|
|
|
.time-block span {
|
|
display: block;
|
|
font-size: 2.5rem;
|
|
font-family: var(--font-accent);
|
|
color: var(--trae-green);
|
|
}
|
|
|
|
.time-block label {
|
|
font-size: 0.8rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
color: var(--text-dim);
|
|
}
|
|
|
|
/* Buttons */
|
|
.btn-primary, .btn-secondary {
|
|
padding: 15px 35px;
|
|
font-family: var(--font-accent);
|
|
font-size: 1rem;
|
|
border-radius: 30px;
|
|
cursor: pointer;
|
|
transition: all 0.3s;
|
|
border: none;
|
|
text-transform: uppercase;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: var(--trae-green);
|
|
color: var(--bg-dark);
|
|
box-shadow: 0 0 20px rgba(0, 255, 102, 0.4);
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
transform: translateY(-3px);
|
|
box-shadow: 0 0 30px rgba(0, 255, 102, 0.6);
|
|
}
|
|
|
|
.btn-secondary {
|
|
background: transparent;
|
|
color: white;
|
|
border: 1px solid var(--glass-border);
|
|
margin-left: 15px;
|
|
}
|
|
|
|
.btn-secondary:hover {
|
|
background: var(--glass-bg);
|
|
}
|
|
|
|
/* Section Styling */
|
|
.section-card {
|
|
margin: 100px 0;
|
|
padding: 60px;
|
|
text-align: center;
|
|
}
|
|
|
|
.section-card h2 {
|
|
font-family: var(--font-accent);
|
|
font-size: 2.5rem;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
/* Forge Section */
|
|
.forge-input-group {
|
|
display: flex;
|
|
gap: 10px;
|
|
max-width: 600px;
|
|
margin: 40px auto;
|
|
}
|
|
|
|
.forge-input-group input {
|
|
flex: 1;
|
|
background: rgba(255, 255, 255, 0.05);
|
|
border: 1px solid var(--glass-border);
|
|
padding: 15px 25px;
|
|
border-radius: 30px;
|
|
color: white;
|
|
font-family: var(--font-main);
|
|
}
|
|
|
|
.crystal-display {
|
|
margin-top: 40px;
|
|
min-height: 200px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
}
|
|
|
|
#outputMessage {
|
|
font-size: 1.5rem;
|
|
color: var(--trae-green);
|
|
margin-bottom: 20px;
|
|
font-family: var(--font-accent);
|
|
}
|
|
|
|
/* Game Section */
|
|
.game-container {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 400px;
|
|
background: rgba(0, 0, 0, 0.3);
|
|
border-radius: 20px;
|
|
overflow: hidden;
|
|
margin-top: 40px;
|
|
}
|
|
|
|
#gameCanvas {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
#gameUI {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
z-index: 10;
|
|
text-align: center;
|
|
}
|
|
|
|
.score {
|
|
font-family: var(--font-accent);
|
|
font-size: 1.5rem;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
footer {
|
|
text-align: center;
|
|
padding: 60px 40px;
|
|
margin-top: 100px;
|
|
border-top: 1px solid var(--glass-border);
|
|
background: rgba(0, 0, 0, 0.2);
|
|
}
|
|
|
|
footer p {
|
|
font-family: var(--font-accent);
|
|
letter-spacing: 1px;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
footer span, .glm-link, .author-link, .gemini-link {
|
|
color: var(--trae-green);
|
|
text-shadow: 0 0 10px rgba(0, 255, 102, 0.5);
|
|
text-decoration: none;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.glm-link:hover, .author-link:hover, .gemini-link:hover {
|
|
color: white;
|
|
text-shadow: 0 0 20px var(--trae-green);
|
|
}
|
|
|
|
.copyright {
|
|
font-size: 0.8rem;
|
|
color: var(--text-dim);
|
|
font-family: var(--font-main);
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.glitch-text { font-size: 3rem; }
|
|
.countdown-container { flex-wrap: wrap; justify-content: center; }
|
|
.forge-input-group { flex-direction: column; }
|
|
.btn-secondary { margin-left: 0; margin-top: 15px; }
|
|
}
|