raghuram00's picture
Initial commit (Render + GDrive)
1a976d8
:root {
--bg-color: #050508;
--panel-bg: rgba(22, 22, 30, 0.6);
--border-color: rgba(255, 255, 255, 0.08);
--text-main: #f0f0f5;
--text-dim: #8b8b9f;
--accent-primary: #00F0FF;
--accent-secondary: #8000FF;
--glass-blur: 16px;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: var(--bg-color);
color: var(--text-main);
font-family: 'Inter', sans-serif;
min-height: 100vh;
display: flex;
justify-content: center;
position: relative;
overflow-x: hidden;
}
/* Animated Background Orbs */
.background-effects {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
z-index: -1;
overflow: hidden;
pointer-events: none;
}
.glow-orb {
position: absolute;
border-radius: 50%;
filter: blur(120px);
opacity: 0.4;
animation: float 20s infinite alternate ease-in-out;
}
.orb-1 {
width: 600px;
height: 600px;
background: var(--accent-secondary);
top: -200px;
right: -100px;
}
.orb-2 {
width: 500px;
height: 500px;
background: var(--accent-primary);
bottom: -200px;
left: -100px;
animation-delay: -10s;
}
@keyframes float {
0% { transform: translate(0, 0) scale(1); }
100% { transform: translate(-100px, 100px) scale(1.2); }
}
.container {
width: 100%;
max-width: 1200px;
padding: 3rem 2rem;
display: flex;
flex-direction: column;
gap: 3rem;
}
/* Header */
header {
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
gap: 1rem;
animation: fadeDown 0.8s ease-out;
}
.logo-wrapper {
display: flex;
align-items: center;
gap: 1rem;
}
h1 {
font-family: 'Outfit', sans-serif;
font-size: 3.5rem;
font-weight: 800;
letter-spacing: -1px;
}
h1 span {
background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.subtitle {
font-family: 'JetBrains Mono', monospace;
color: var(--text-dim);
font-size: 0.9rem;
}
/* Main Grid */
.app-grid {
display: grid;
grid-template-columns: 1.5fr 1fr;
gap: 2rem;
align-items: start;
animation: fadeUp 1s ease-out;
}
/* Glassmorphism Panels */
.glass-panel {
background: var(--panel-bg);
backdrop-filter: blur(var(--glass-blur));
-webkit-backdrop-filter: blur(var(--glass-blur));
border: 1px solid var(--border-color);
border-radius: 20px;
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}
/* Editor Section */
.card-header {
padding: 1rem;
border-bottom: 1px solid var(--border-color);
display: flex;
align-items: center;
gap: 0.5rem;
background: rgba(0,0,0,0.2);
border-radius: 20px 20px 0 0;
}
.dot {
width: 12px;
height: 12px;
border-radius: 50%;
}
.red { background: #ff5f56; }
.yellow { background: #ffbd2e; }
.green { background: #27c93f; }
.filename {
margin-left: 1rem;
font-family: 'JetBrains Mono', monospace;
font-size: 0.8rem;
color: var(--text-dim);
}
.editor-wrapper {
position: relative;
padding: 1rem;
}
textarea {
width: 100%;
min-height: 350px;
background: transparent;
border: none;
color: var(--text-main);
font-family: 'JetBrains Mono', monospace;
font-size: 0.9rem;
line-height: 1.6;
resize: vertical;
outline: none;
}
textarea::placeholder {
color: rgba(255, 255, 255, 0.2);
}
/* Button */
.primary-btn {
width: 100%;
margin-top: 1.5rem;
padding: 1.2rem;
border: none;
border-radius: 12px;
background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
color: #fff;
font-family: 'Outfit', sans-serif;
font-size: 1.2rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
display: flex;
justify-content: center;
align-items: center;
gap: 1rem;
position: relative;
overflow: hidden;
}
.primary-btn::before {
content: '';
position: absolute;
top: 0; left: -100%;
width: 100%; height: 100%;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
transition: 0.5s;
}
.primary-btn:hover::before {
left: 100%;
}
.primary-btn:hover {
transform: translateY(-2px);
box-shadow: 0 10px 20px rgba(128, 0, 255, 0.3);
}
.primary-btn:active {
transform: translateY(0);
}
/* Loader */
.loader {
width: 20px;
height: 20px;
border: 3px solid rgba(255,255,255,0.3);
border-radius: 50%;
border-top-color: #fff;
animation: spin 1s ease-in-out infinite;
}
.hidden { display: none; }
@keyframes spin {
to { transform: rotate(360deg); }
}
/* Examples */
.examples-section {
margin-top: 2rem;
}
.examples-section h3 {
font-size: 0.9rem;
color: var(--text-dim);
margin-bottom: 1rem;
font-weight: 500;
}
.example-chips {
display: flex;
gap: 0.8rem;
flex-wrap: wrap;
}
.chip {
background: rgba(255,255,255,0.05);
border: 1px solid rgba(255,255,255,0.1);
color: var(--text-main);
padding: 0.5rem 1rem;
border-radius: 20px;
font-family: 'JetBrains Mono', monospace;
font-size: 0.8rem;
cursor: pointer;
transition: all 0.2s;
}
.chip:hover {
background: rgba(255,255,255,0.1);
border-color: var(--accent-primary);
}
/* Results Section */
.results-section {
display: flex;
flex-direction: column;
gap: 1.5rem;
}
.result-card {
padding: 2rem;
transition: transform 0.3s;
}
.result-card:hover {
transform: translateY(-2px);
}
.result-label {
font-size: 0.8rem;
text-transform: uppercase;
letter-spacing: 2px;
color: var(--text-dim);
margin-bottom: 1rem;
}
.result-value {
font-family: 'Outfit', sans-serif;
font-size: 2rem;
font-weight: 800;
}
.glow-text {
background: linear-gradient(135deg, var(--accent-primary), #fff);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
font-size: 3rem;
}
.result-desc {
color: #a0a0b5;
line-height: 1.6;
font-size: 1.1rem;
}
/* Animations */
@keyframes fadeDown {
from { opacity: 0; transform: translateY(-20px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
/* Responsive */
@media (max-width: 900px) {
.app-grid {
grid-template-columns: 1fr;
}
h1 { font-size: 2.5rem; }
}