core-edge / src /app /globals.css
dragxd's picture
Initial commit: VoltEdge project
3353b25
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600;700&display=swap');
:root {
/* Cyber-Cloud Palette */
--bg-color: #000000;
--bg-charcoal: #050505;
--accent-cyan: #00F0FF;
--accent-cyan-glow: rgba(0, 240, 255, 0.3);
--accent-cyan-subtle: rgba(0, 240, 255, 0.1);
--accent-midnight: #0A192F;
--text-main: #ffffff;
--text-muted: #8892b0;
--text-cyan: #00F0FF;
/* Glassmorphism */
--panel-bg: rgba(10, 25, 47, 0.4);
--border-color: rgba(0, 240, 255, 0.2);
--border-cyan: #00F0FF;
--glow-cyan: rgba(0, 240, 255, 0.2);
--glow-cyan-intense: rgba(0, 240, 255, 0.4);
/* Utilities */
--input-bg: rgba(0, 0, 0, 0.5);
--card-subtext: rgba(136, 146, 176, 0.6);
--history-item-bg: rgba(10, 25, 47, 0.3);
--toast-bg: rgba(0, 0, 0, 0.95);
--panel-header-bg: rgba(10, 25, 47, 0.6);
--code-text-color: #00F0FF;
--code-bg: #000000;
--card-shadow: rgba(0, 0, 0, 0.8);
}
/* Light theme disabled for Cyber-Cloud aesthetic - keeping dark only */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background-color: var(--bg-color);
color: var(--text-main);
font-family: 'Inter', sans-serif;
overflow-x: hidden;
overflow-y: auto;
min-height: 100vh;
position: relative;
}
/* Aurora Glows - Three Massive Blurred Elements (Barely Visible) */
body::before {
content: '';
position: fixed;
top: -50%;
left: -50%;
width: 200%;
height: 200%;
background:
/* Cyan glow - top right */
radial-gradient(circle at 90% 10%, rgba(6, 182, 212, 0.04) 0%, transparent 60%),
/* Indigo glow - center left */
radial-gradient(circle at 10% 50%, rgba(67, 56, 202, 0.03) 0%, transparent 60%),
/* Teal glow - bottom right */
radial-gradient(circle at 90% 90%, rgba(20, 184, 166, 0.03) 0%, transparent 60%);
z-index: -10;
pointer-events: none;
filter: blur(120px);
overflow: hidden;
}
/* Fading Grid Pattern + Noise Texture */
body::after {
content: '';
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background-image:
/* Fading grid - most visible at bottom */
linear-gradient(rgba(0, 240, 255, 0.1) 1px, transparent 1px),
linear-gradient(90deg, rgba(0, 240, 255, 0.1) 1px, transparent 1px),
/* Noise/grain texture */
url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
background-size: 50px 50px, 50px 50px, 200px 200px;
background-position: 0 0, 0 0, 0 0;
background-repeat: repeat;
z-index: -10;
pointer-events: none;
/* Fade grid from bottom (visible) to top (invisible) */
mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.8) 30%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0) 100%);
-webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.8) 30%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0) 100%);
}
.main-container {
display: flex;
flex-direction: column;
align-items: center;
min-height: 100vh;
padding: 8rem 2rem 4rem;
z-index: 10;
position: relative;
}
/* Mobile Responsive Styles */
@media (max-width: 768px) {
.main-nav {
padding: 10px 16px !important;
gap: 12px !important;
top: 0.75rem !important;
}
.nav-logo {
font-size: 1.2rem !important;
gap: 8px !important;
}
.nav-link {
font-size: 0.9rem !important;
gap: 6px !important;
}
.main-container {
padding: 6rem 1rem 3rem;
}
.hero h1 {
font-size: clamp(2rem, 8vw, 3.5rem);
}
.hero p {
font-size: 1rem;
letter-spacing: 0.1em;
}
.beta-text-full {
font-size: 0.85rem !important;
}
.features-grid {
grid-template-columns: 1fr;
gap: 1.5rem;
margin-top: 4rem;
}
.feature-card {
padding: 1.5rem;
}
.upload-card {
width: 100%;
max-width: 100%;
padding: 2rem 1.5rem;
}
.drop-zone {
padding: 2rem 1.5rem;
}
.upload-icon-container {
width: 48px;
height: 48px;
}
.upload-text h3 {
font-size: 1rem;
}
.footer {
padding: 3rem 0 1.5rem;
}
.footer > div {
flex-wrap: wrap;
gap: 12px !important;
}
}
@media (max-width: 480px) {
.main-nav {
padding: 8px 12px !important;
gap: 8px !important;
flex-wrap: wrap;
justify-content: center;
}
.nav-logo {
font-size: 1rem !important;
gap: 6px !important;
}
.nav-link {
font-size: 0.85rem !important;
gap: 4px !important;
}
.main-container {
padding: 5rem 0.75rem 2rem;
}
.hero h1 {
font-size: clamp(1.75rem, 10vw, 2.5rem);
margin-bottom: 1rem;
}
.hero p {
font-size: 0.9rem;
letter-spacing: 0.05em;
}
.beta-text-full {
display: none !important;
}
.beta-text-short {
display: inline !important;
font-size: 0.75rem !important;
}
.features-grid {
gap: 1rem;
margin-top: 3rem;
}
.feature-card {
padding: 1.25rem;
}
.upload-card {
padding: 1.5rem 1rem;
}
.drop-zone {
padding: 1.5rem 1rem;
}
.footer > div {
flex-direction: column;
gap: 8px !important;
}
}
.hero {
text-align: center;
max-width: 800px;
margin-bottom: 2.5rem;
}
.hero h1 {
font-size: clamp(3rem, 10vw, 5rem);
font-weight: 900;
letter-spacing: -0.05em;
line-height: 1;
margin-bottom: 1.5rem;
color: #FFFFFF;
}
.hero h1 .cyber-glow {
background: linear-gradient(to right, #ffffff, #00F0FF);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
text-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
position: relative;
}
.hero p {
color: var(--text-muted);
font-size: 1.25rem;
line-height: 1.6;
font-family: 'JetBrains Mono', monospace;
letter-spacing: 0.2em;
font-weight: 500;
}
/* Pulsing animation for logo icon */
@keyframes pulse-logo {
0%, 100% {
opacity: 1;
filter: drop-shadow(0 0 8px #00F0FF);
}
50% {
opacity: 0.8;
filter: drop-shadow(0 0 16px #00F0FF) drop-shadow(0 0 24px rgba(0, 240, 255, 0.5));
}
}
.logo-pulse {
animation: pulse-logo 2s ease-in-out infinite;
}
/* Arrow animation for Get Started link */
@keyframes arrow-slide {
0% {
transform: translateX(0);
}
100% {
transform: translateX(4px);
}
}
.get-started-arrow {
display: inline-block;
transition: transform 0.3s ease;
}
.get-started-link:hover .get-started-arrow {
animation: arrow-slide 0.3s ease forwards;
}
.upload-card {
width: 100%;
max-width: 500px;
background: var(--panel-bg);
backdrop-filter: blur(40px);
-webkit-backdrop-filter: blur(40px);
border: 1px solid var(--border-color);
border-radius: 24px;
padding: 2rem;
box-shadow:
0 0 10px rgba(0, 240, 255, 0.2),
0 25px 50px -12px var(--card-shadow);
transition: all 0.3s ease;
position: relative;
}
@media (max-width: 768px) {
.upload-card {
max-width: 100%;
}
}
.upload-card:hover {
border-color: var(--border-cyan);
box-shadow:
0 0 15px rgba(0, 240, 255, 0.3),
0 25px 50px -12px var(--card-shadow);
}
.drop-zone {
border: 1px solid var(--border-color);
border-radius: 20px;
padding: 3rem 2rem;
text-align: center;
cursor: pointer;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
overflow: hidden;
background: rgba(255, 255, 255, 0.03);
backdrop-filter: blur(24px);
-webkit-backdrop-filter: blur(24px);
box-shadow: 0 0 8px rgba(0, 240, 255, 0.15);
}
.drop-zone:hover,
.drop-zone.active {
border: 1px solid #00F0FF;
box-shadow: 0 0 12px rgba(0, 240, 255, 0.25);
}
/* Scanline Animation */
.drop-zone::before {
content: '';
position: absolute;
top: -2px;
left: 0;
width: 100%;
height: 2px;
background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
animation: scanline 3s linear infinite;
opacity: 0.6;
}
@keyframes scanline {
0% {
top: -2px;
opacity: 0.6;
}
50% {
opacity: 1;
}
100% {
top: 100%;
opacity: 0.6;
}
}
.drop-zone:hover,
.drop-zone.active {
border-color: var(--border-cyan);
background: var(--accent-cyan-subtle);
box-shadow:
inset 0 0 20px var(--glow-cyan),
0 0 20px var(--glow-cyan);
}
.drop-zone:hover::before,
.drop-zone.active::before {
opacity: 1;
animation-duration: 1.5s;
}
.upload-icon-container {
width: 64px;
height: 64px;
background: var(--accent-cyan-subtle);
border: 1px solid var(--border-color);
border-radius: 16px;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 1.5rem;
color: var(--accent-cyan);
box-shadow: 0 0 15px var(--glow-cyan);
transition: all 0.3s ease;
}
.drop-zone:hover .upload-icon-container {
border-color: var(--border-cyan);
box-shadow: 0 0 25px var(--glow-cyan-intense);
transform: scale(1.05);
}
.upload-text h3 {
font-size: 1.1rem;
font-weight: 600;
margin-bottom: 0.5rem;
}
.file-input {
display: none;
}
.progress-container {
margin-top: 1.5rem;
width: 100%;
}
.progress-bar {
height: 6px;
background: rgba(255, 255, 255, 0.05);
border-radius: 100px;
overflow: hidden;
}
.progress-fill {
height: 100%;
background: linear-gradient(90deg, var(--accent-cyan), var(--accent-cyan));
box-shadow: 0 0 10px var(--accent-cyan), 0 0 20px var(--accent-cyan);
animation: pulse-glow 2s ease-in-out infinite;
}
@keyframes pulse-glow {
0%, 100% {
box-shadow: 0 0 10px var(--accent-cyan), 0 0 20px var(--accent-cyan);
}
50% {
box-shadow: 0 0 20px var(--accent-cyan), 0 0 30px var(--accent-cyan), 0 0 40px var(--accent-cyan);
}
}
.result-area {
margin-top: 2rem;
}
.link-box {
background: rgba(0, 0, 0, 0.2);
border: 1px solid var(--border-color);
border-radius: 16px;
padding: 12px 16px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 12px;
}
.link-text {
font-family: 'JetBrains Mono', monospace;
font-size: 0.85rem;
color: var(--text-muted);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.copy-btn {
background: var(--bg-color);
color: var(--accent-cyan);
border: 1px solid var(--border-cyan);
border-radius: 10px;
padding: 10px;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
box-shadow: 0 0 10px var(--glow-cyan);
}
.copy-btn:hover {
transform: translateY(-2px);
background: var(--accent-cyan-subtle);
box-shadow: 0 0 20px var(--glow-cyan-intense), 0 4px 12px var(--glow-cyan);
color: var(--accent-cyan);
}
.features-grid {
margin-top: 6rem;
width: 100%;
max-width: 1000px;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 2rem;
}
.feature-card {
background: var(--panel-bg);
border: 1px solid var(--border-color);
border-radius: 24px;
padding: 2rem;
transition: all 0.3s ease;
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
}
.feature-card:hover {
border-color: var(--border-cyan);
background: var(--accent-cyan-subtle);
box-shadow: 0 0 30px var(--glow-cyan-intense);
transform: translateY(-4px);
}
.footer {
margin-top: auto;
padding: 4rem 0 2rem;
color: var(--footer-text);
font-size: 0.9rem;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
}
.footer a {
color: #666;
text-decoration: none;
}
/* Cyber Button Style */
.cyber-btn {
background: var(--bg-color);
color: var(--accent-cyan);
border: 1px solid var(--border-cyan);
border-radius: 8px;
padding: 0.75rem 1.5rem;
cursor: pointer;
transition: all 0.3s ease;
font-family: 'Inter', sans-serif;
font-weight: 600;
box-shadow: 0 0 10px var(--glow-cyan);
text-transform: uppercase;
letter-spacing: 0.05em;
font-size: 0.875rem;
}
.cyber-btn:hover {
background: var(--accent-cyan-subtle);
box-shadow: 0 0 20px var(--glow-cyan-intense);
color: var(--accent-cyan);
transform: translateY(-2px);
}
/* Pulse Animation for Beta Badge */
@keyframes pulse-cyan {
0%, 100% {
box-shadow: 0 0 10px var(--accent-cyan), 0 0 20px var(--accent-cyan);
opacity: 1;
}
50% {
box-shadow: 0 0 20px var(--accent-cyan), 0 0 30px var(--accent-cyan), 0 0 40px var(--accent-cyan);
opacity: 0.9;
}
}
.cyber-pulse {
animation: pulse-cyan 2s ease-in-out infinite;
}
/* Custom Scrollbar */
::-webkit-scrollbar {
width: 10px;
}
::-webkit-scrollbar-track {
background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
background: var(--panel-bg);
border: 1px solid var(--border-color);
border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
background: var(--accent-cyan-subtle);
border-color: var(--border-cyan);
box-shadow: 0 0 10px var(--glow-cyan);
}