portfolio_opt / static /style.css
engineportf's picture
Upgrade Easter Egg to Interactive V2
77414fe
Raw
History Blame Contribute Delete
49.2 kB
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;500;600;700&display=swap');
:root {
--bg-core: #050814; /* Deep Space Navy */
--panel-bg: rgba(10, 15, 30, 0.65);
--panel-border: rgba(140, 150, 255, 0.15);
--panel-border-top: rgba(200, 210, 255, 0.25);
--text-main: #f8fafc;
--text-muted: #94a3b8;
--accent-primary: #3b82f6; /* Elegant Blue */
--accent-secondary: #8b5cf6; /* Sophisticated Purple */
--accent-emerald: #10b981;
--font-sans: 'Inter', system-ui, sans-serif;
--font-heading: 'Outfit', system-ui, sans-serif;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background-color: var(--bg-core);
color: var(--text-main);
font-family: var(--font-sans);
line-height: 1.6;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
overflow-x: hidden;
}
/* Elegant Ambient Background Gradient */
body::before {
content: '';
position: fixed;
top: 0; left: 0; width: 100vw; height: 100vh;
background: radial-gradient(circle at 15% 50%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
radial-gradient(circle at 85% 30%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
z-index: 0;
pointer-events: none;
animation: pulseBg 15s ease-in-out infinite alternate;
}
@keyframes pulseBg {
0% {
opacity: 0.8;
transform: scale(1);
}
100% {
opacity: 1.2;
transform: scale(1.1);
}
}
#networkCanvas {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
z-index: 0;
pointer-events: none;
opacity: 0.5;
}
.noise-overlay {
position: fixed;
top: 0; left: 0; width: 100vw; height: 100vh;
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.015'/%3E%3C/svg%3E");
pointer-events: none;
z-index: 1;
}
/* Live Market Ticker Tape */
.ticker-wrap {
width: 100%;
background: rgba(15, 23, 42, 0.85);
backdrop-filter: blur(8px);
border-bottom: 1px solid var(--panel-border);
position: fixed;
top: 0;
left: 0;
z-index: 60;
overflow: hidden;
height: 32px;
}
.ticker {
display: flex;
width: fit-content;
animation: tickerAnim 40s linear infinite;
}
.ticker:hover {
animation-play-state: paused;
}
@keyframes tickerAnim {
0% { transform: translate3d(0, 0, 0); }
100% { transform: translate3d(-50%, 0, 0); }
}
.ticker-item {
padding: 0 2.5rem;
font-family: var(--font-sans);
font-size: 0.85rem;
font-weight: 500;
line-height: 32px;
white-space: nowrap;
color: var(--text-muted);
}
.ticker-item span.up { color: var(--accent-emerald); }
.ticker-item span.down { color: #f43f5e; }
.matrix-success { color: var(--color-green); }
.matrix-pending { color: var(--accent-blue); }
@keyframes spinnerSpin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
.spinner-anim {
display: inline-block;
animation: spinnerSpin 1s linear infinite;
}
/* Navigation Bar */
.top-nav {
width: 100%;
height: 70px;
background: rgba(15, 23, 42, 0.6);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border-bottom: 1px solid var(--panel-border);
position: fixed;
top: 32px;
left: 0;
z-index: 50;
display: flex;
justify-content: center;
padding: 0 2rem;
}
.nav-container {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
height: 100%;
}
.nav-logo {
display: flex;
align-items: center;
gap: 0.8rem;
font-family: var(--font-heading);
font-weight: 600;
font-size: 1.2rem;
color: #fff;
cursor: pointer;
letter-spacing: 0.02em;
}
.logo-text {
background: linear-gradient(to right, #f8fafc, #e2e8f0);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.nav-links {
display: flex;
gap: 2.5rem;
}
.nav-link {
color: var(--text-muted);
font-weight: 500;
cursor: pointer;
transition: all 0.3s ease;
font-size: 0.95rem;
position: relative;
display: flex;
align-items: center;
}
.nav-link:hover {
color: #fff;
}
.nav-link.active {
color: var(--accent-primary);
}
.nav-link.active::after {
content: '';
position: absolute;
bottom: -12px;
left: 0;
width: 100%;
height: 2px;
background: var(--accent-primary);
border-radius: 2px;
}
/* App Layout Container */
.app-layout {
display: flex;
width: 100%;
margin-top: 102px; /* 32px ticker + 70px nav */
min-height: calc(100vh - 102px);
position: relative;
z-index: 10;
}
/* Left Sidebar */
.sidebar {
width: 260px;
background: rgba(10, 15, 30, 0.4);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border-right: 1px solid var(--panel-border);
padding: 2rem 1rem;
position: fixed;
height: calc(100vh - 102px);
overflow-y: auto;
left: -260px; /* Hidden by default */
transition: left 0.3s ease;
z-index: 40;
}
.sidebar.open {
left: 0;
}
.sidebar-menu {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.sidebar-link {
display: flex;
align-items: center;
gap: 12px;
padding: 12px 16px;
color: var(--text-muted);
font-weight: 500;
cursor: pointer;
border-radius: 8px;
transition: all 0.2s ease;
font-size: 0.95rem;
}
.sidebar-link:hover {
background: rgba(255, 255, 255, 0.05);
color: #fff;
}
.sidebar-link.active {
background: rgba(59, 130, 246, 0.1);
color: var(--accent-primary);
border-left: 3px solid var(--accent-primary);
}
.sidebar-divider {
height: 1px;
background: var(--panel-border);
margin: 1.5rem 0 1rem 0;
}
.sidebar-label {
font-size: 0.75rem;
text-transform: uppercase;
letter-spacing: 0.05em;
color: rgba(255,255,255,0.3);
margin-bottom: 0.5rem;
padding-left: 16px;
}
/* Main Content Wrapper */
.main-content {
flex: 1;
margin-left: 0;
padding: 3rem 4rem;
max-width: 100vw;
position: relative;
z-index: 20;
transition: margin-left 0.3s ease, max-width 0.3s ease;
}
.main-content.sidebar-open {
margin-left: 260px;
max-width: calc(100vw - 260px);
}
/* Views */
.view-section {
display: none;
animation: fadeIn 0.5s ease;
}
.view-section.active {
display: block;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
/* Header Text */
.page-header {
text-align: center;
margin-bottom: 3rem;
}
h1 {
font-family: var(--font-heading);
font-size: 3rem;
font-weight: 500;
letter-spacing: -0.01em;
color: #fff;
margin-bottom: 0.5rem;
line-height: 1.2;
}
p.subtitle {
color: var(--text-muted);
font-size: 1.1rem;
font-weight: 400;
}
/* Glass Panel */
.glass-panel {
background: var(--panel-bg);
border: 1px solid var(--panel-border);
border-top: 1px solid var(--panel-border-top);
border-radius: 16px;
padding: 2.5rem;
backdrop-filter: blur(24px);
-webkit-backdrop-filter: blur(24px);
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}
.glass-panel:hover {
box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15), 0 0 20px rgba(59, 130, 246, 0.15);
}
/* Scoped constraint for sandbox form only */
.glass-panel.form-panel {
position: relative;
overflow: hidden;
max-width: 750px;
margin: 0 auto;
}
.glass-panel.pro-variant {
background: linear-gradient(135deg, rgba(30, 27, 75, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);
border: none;
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
backdrop-filter: blur(32px);
-webkit-backdrop-filter: blur(32px);
}
.glass-panel.pro-variant:hover {
box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(139, 92, 246, 0.15);
}
.mouse-glow {
position: relative;
}
.mouse-glow::before {
content: '';
position: absolute;
top: 0; left: 0; width: 100%; height: 100%;
background: radial-gradient(800px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(6, 182, 212, 0.06), transparent 40%);
z-index: 1;
pointer-events: none;
transition: opacity 0.3s ease;
opacity: 0;
}
.mouse-glow:hover::before {
opacity: 1;
}
.text-panel {
max-width: 850px;
}
/* Clean Loading Overlay */
.loading-overlay {
display: none;
position: fixed;
top: 0; left: 0; width: 100vw; height: 100vh;
background: rgba(15, 23, 42, 0.85);
backdrop-filter: blur(12px);
z-index: 20;
justify-content: center;
align-items: center;
flex-direction: column;
}
.loading-content {
text-align: center;
}
.elegant-spinner {
width: 50px;
height: 50px;
border: 3px solid rgba(255, 255, 255, 0.1);
border-top-color: var(--accent-primary);
border-radius: 50%;
animation: spin 1s ease-in-out infinite;
margin: 0 auto 1.5rem auto;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
.loading-title {
font-family: var(--font-heading);
font-size: 1.4rem;
font-weight: 500;
color: #fff;
margin-bottom: 0.5rem;
}
.loading-text {
color: var(--text-muted);
font-size: 0.95rem;
animation: pulse 1.5s infinite alternate;
}
@keyframes pulse {
from { opacity: 0.6; }
to { opacity: 1; }
}
.error-message {
display: none;
background: rgba(244, 63, 94, 0.1);
border: 1px solid rgba(244, 63, 94, 0.3);
color: #fca5a5;
padding: 1rem;
border-radius: 12px;
margin-bottom: 1.5rem;
font-size: 0.95rem;
}
/* Form Styles */
.form-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1.8rem;
}
.full-width { grid-column: 1 / -1; }
.form-group { display: flex; flex-direction: column; }
label {
font-size: 0.9rem;
font-weight: 500;
margin-bottom: 0.5rem;
color: var(--text-main);
}
.section-title {
margin-top: 1.5rem;
margin-bottom: -1rem;
border-top: 1px solid var(--panel-border);
padding-top: 2rem;
}
.section-title label {
font-family: var(--font-heading);
font-size: 1.2rem;
color: #fff;
}
.input-wrapper, .select-wrapper { position: relative; display: flex; align-items: center; }
.prefix-wrapper .prefix {
position: absolute;
left: 1.2rem;
color: var(--text-muted);
pointer-events: none;
font-size: 1rem;
}
.prefix-wrapper input { padding-left: 2.2rem !important; }
input[type="text"], input[type="number"], select {
width: 100%;
background: rgba(15, 23, 42, 0.5);
border: 1px solid var(--panel-border);
border-radius: 12px;
padding: 1rem 1.2rem;
color: #fff;
font-family: var(--font-sans);
font-size: 1rem;
transition: all 0.2s ease;
appearance: none;
}
input::placeholder { color: var(--text-muted); }
/* Hide number input arrows */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
-webkit-appearance: none;
margin: 0;
}
input[type="number"] {
-moz-appearance: textfield;
}
/* Style select options */
select option {
background-color: #1e293b;
color: #f8fafc;
}
input:focus, select:focus {
outline: none;
border-color: var(--accent-primary);
background: rgba(15, 23, 42, 0.8);
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.select-wrapper::after {
content: '▼';
font-size: 0.7rem;
position: absolute;
right: 1.2rem;
color: var(--text-muted);
pointer-events: none;
}
/* Range Slider */
.range-container {
display: flex;
align-items: center;
gap: 1.2rem;
height: 52px;
}
input[type="range"] {
flex-grow: 1;
height: 6px;
background: rgba(255, 255, 255, 0.1);
border-radius: 3px;
outline: none;
-webkit-appearance: none;
}
input[type="range"]::-webkit-slider-thumb {
-webkit-appearance: none;
width: 20px;
height: 20px;
background: var(--accent-primary);
border-radius: 50%;
cursor: pointer;
transition: transform 0.2s, box-shadow 0.2s;
}
input[type="range"]::-webkit-slider-thumb:hover {
transform: scale(1.15);
box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}
.range-val {
background: rgba(15, 23, 42, 0.5);
padding: 0.5rem 1rem;
border-radius: 8px;
font-weight: 500;
font-size: 1rem;
min-width: 45px;
text-align: center;
border: 1px solid var(--panel-border);
color: #fff;
}
/* Toggles */
.toggles-container {
display: flex;
gap: 2rem;
margin-top: 0.5rem;
}
.split-form-row {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1.5rem;
margin-bottom: 1.5rem;
}
.toggle-label {
display: flex;
align-items: center;
cursor: pointer;
font-size: 0.95rem;
color: var(--text-muted);
transition: color 0.2s;
}
.toggle-label:hover { color: #fff; }
.toggle-label input[type="checkbox"] { display: none; }
.toggle-switch {
position: relative;
width: 46px;
height: 26px;
background: rgba(255, 255, 255, 0.1);
border-radius: 13px;
margin-right: 12px;
transition: background 0.3s ease;
flex-shrink: 0;
}
.toggle-switch::after {
content: '';
position: absolute;
top: 3px; left: 3px; width: 20px; height: 20px;
background: #fff;
border-radius: 50%;
transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}
.toggle-label input[type="checkbox"]:checked + .toggle-switch {
background: var(--accent-primary);
}
.toggle-label input[type="checkbox"]:checked + .toggle-switch::after {
transform: translateX(20px);
}
/* Button */
button.generate-btn {
width: 100%;
background: var(--accent-primary);
color: #fff;
font-family: var(--font-sans);
font-size: 1.05rem;
font-weight: 600;
border: none;
border-radius: 12px;
padding: 1.2rem;
margin-top: 3rem;
cursor: pointer;
transition: all 0.2s ease;
display: flex;
justify-content: center;
align-items: center;
gap: 0.8rem;
box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
}
button.generate-btn:hover {
background: #2563eb;
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}
/* Cards Grid */
.cards-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 1.5rem;
margin-top: 2rem;
}
.info-card {
background: var(--panel-bg);
border: 1px solid var(--panel-border);
border-radius: 16px;
padding: 2rem;
transition: transform 0.2s ease, border-color 0.2s ease;
cursor: pointer;
}
.info-card:hover {
transform: translateY(-5px);
border-color: rgba(255,255,255,0.15);
background: rgba(30, 41, 59, 0.9);
}
.info-card h3 {
font-family: var(--font-heading);
font-size: 1.25rem;
font-weight: 500;
color: #fff;
margin-bottom: 0.8rem;
display: flex;
align-items: center;
gap: 0.8rem;
}
.info-card p {
color: var(--text-muted);
font-size: 0.95rem;
line-height: 1.6;
}
.info-card .icon-box {
color: var(--accent-primary);
font-size: 1.4rem;
}
.detailed-content { display: none; }
/* Expandable Card Unique Animation */
.expandable-card {
background: rgba(30, 41, 59, 0.4);
border: 1px solid var(--panel-border);
border-radius: 16px;
padding: 2rem;
transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
cursor: pointer;
position: relative;
overflow: hidden;
margin-bottom: 1.5rem;
}
.expandable-card::before {
content: '';
position: absolute;
top: 0; left: 0; width: 100%; height: 100%;
background: radial-gradient(circle at center, rgba(96, 165, 250, 0.08) 0%, transparent 60%);
opacity: 0;
transition: opacity 0.4s ease;
pointer-events: none;
}
.expandable-card:hover {
transform: translateY(-4px);
border-color: rgba(96, 165, 250, 0.4);
background: rgba(30, 41, 59, 0.7);
}
.expandable-card:hover::before { opacity: 1; }
.expandable-card.expanded {
background: rgba(15, 23, 42, 0.95);
border-color: var(--accent-primary);
box-shadow: 0 10px 40px -10px rgba(59, 130, 246, 0.3);
transform: scale(1.02);
z-index: 10;
}
.card-header-flex {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 1rem;
}
.card-expand-btn {
background: rgba(255,255,255,0.05);
border: 1px solid rgba(255,255,255,0.1);
color: var(--accent-primary);
width: 36px; height: 36px;
border-radius: 50%;
display: flex; align-items: center; justify-content: center;
transition: all 0.3s ease;
flex-shrink: 0;
margin-top: 0.2rem;
}
.expandable-card:hover .card-expand-btn {
background: rgba(59, 130, 246, 0.1);
border-color: var(--accent-primary);
}
.expandable-card.expanded .card-expand-btn {
transform: rotate(180deg);
background: var(--accent-primary);
color: #fff;
box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}
.card-body {
max-height: 0;
opacity: 0;
overflow: hidden;
transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
margin-top: 0;
}
.expandable-card.expanded .card-body {
max-height: 2500px;
opacity: 1;
margin-top: 1.5rem;
padding-top: 1.5rem;
border-top: 1px solid rgba(255,255,255,0.1);
}
.math-box {
background: rgba(0, 0, 0, 0.4);
padding: 1.2rem;
border-radius: 8px;
border-left: 3px solid var(--accent-primary);
font-family: 'Courier New', Courier, monospace;
color: #93c5fd;
margin: 1rem 0;
font-size: 1.05rem;
overflow-x: auto;
}
.positive-text { color: #10b981; margin-bottom: 0.5rem; }
.negative-text { color: #f43f5e; margin-bottom: 0.5rem; }
.zoo-section { margin-top: 1.5rem; }
.zoo-section h4 { color: #e2e8f0; margin-bottom: 0.5rem; font-family: var(--font-heading); font-size: 1.1rem; }
/* Modals */
.modal-overlay {
display: none;
position: fixed;
top: 0; left: 0; right: 0; bottom: 0;
background: rgba(15, 23, 42, 0.8);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
z-index: 100;
align-items: center;
justify-content: center;
padding: 1rem;
opacity: 0;
transition: opacity 0.3s ease;
}
.modal-overlay.show { display: flex; opacity: 1; }
.modal-window {
background: #1e293b;
border: 1px solid var(--panel-border);
border-radius: 20px;
width: 100%;
max-width: 600px;
padding: 2.5rem;
position: relative;
box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
transform: translateY(20px);
transition: transform 0.3s ease;
}
.modal-overlay.show .modal-window {
transform: translateY(0);
}
.modal-close {
position: absolute;
top: 1.5rem;
right: 1.5rem;
background: rgba(255,255,255,0.05);
border: none;
border-radius: 50%;
width: 32px;
height: 32px;
color: var(--text-muted);
font-size: 1.5rem;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: background 0.2s, color 0.2s;
}
.modal-close:hover {
background: rgba(255,255,255,0.1);
color: #fff;
}
.modal-header {
display: flex;
align-items: center;
gap: 1rem;
margin-bottom: 1.5rem;
border-bottom: 1px solid var(--panel-border);
padding-bottom: 1.5rem;
}
.modal-icon {
font-size: 1.8rem;
}
.modal-header h2 {
font-family: var(--font-heading);
font-size: 1.5rem;
font-weight: 500;
color: #fff;
}
.modal-body h4 {
color: var(--text-main);
font-family: var(--font-heading);
font-weight: 500;
margin-top: 1.5rem;
margin-bottom: 0.5rem;
font-size: 1.1rem;
}
.modal-body h4:first-child { margin-top: 0; }
.modal-body p { color: var(--text-muted); line-height: 1.7; margin-bottom: 1rem; font-size: 0.95rem; }
.modal-body ul { color: var(--text-muted); padding-left: 1.5rem; line-height: 1.7; font-size: 0.95rem; }
.modal-body li { margin-bottom: 0.4rem; }
.modal-body strong { color: #fff; font-weight: 500; }
/* Report frame container */
.report-container {
display: none;
position: fixed;
top: 0; left: 0; width: 100vw; height: 100vh;
z-index: 100;
background: #0f172a;
padding-top: 60px; /* Space for the header */
}
.report-header {
position: absolute;
top: 0; left: 0; width: 100%; height: 60px;
background: #1e293b;
border-bottom: 1px solid var(--panel-border);
display: flex;
align-items: center;
padding: 0 1.5rem;
}
.back-btn {
background: transparent;
border: 1px solid rgba(255,255,255,0.2);
color: var(--text-main);
padding: 0.5rem 1rem;
border-radius: 8px;
font-family: var(--font-sans);
font-weight: 500;
font-size: 0.9rem;
cursor: pointer;
display: flex;
align-items: center;
gap: 0.5rem;
transition: background 0.2s;
}
.back-btn:hover { background: rgba(255, 255, 255, 0.05); }
#report-view { width: 100%; height: 100%; border: none; background: #fff; }
/* ========================================================= */
/* MARKET TICKER BAR */
/* ========================================================= */
.market-ticker-bar {
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 30px;
background: #0f172a;
border-bottom: 1px solid rgba(255, 255, 255, 0.05);
z-index: 1000;
overflow: hidden;
display: flex;
align-items: center;
}
.ticker-content {
white-space: nowrap;
padding-left: 100%;
animation: ticker-scroll 30s linear infinite;
color: #94a3b8;
font-size: 0.85rem;
font-family: var(--font-mono);
}
@keyframes ticker-scroll {
0% { transform: translateX(0); }
100% { transform: translateX(-100%); }
}
.ticker-item {
display: inline-block;
margin-right: 3rem;
}
.ticker-item span { margin-left: 0.5rem; }
.ticker-positive { color: #10b981; }
.ticker-negative { color: #ef4444; }
/* Adjust nav for ticker */
nav { top: 30px; }
.main-content { padding-top: 80px; }
/* ========================================================= */
/* HERO SECTION */
/* ========================================================= */
.hero-layout {
display: flex;
gap: 4rem;
align-items: center;
margin-bottom: 4rem;
}
.hero-left { flex: 1.2; }
.hero-right { flex: 1; }
.hero-title {
font-size: 3.5rem;
line-height: 1.1;
margin-bottom: 1.5rem;
background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.hero-subtitle {
font-size: 1.2rem;
color: var(--text-muted);
margin-bottom: 2.5rem;
line-height: 1.6;
}
.hero-ctas {
display: flex;
gap: 1rem;
margin-bottom: 3rem;
}
.btn-primary, .btn-secondary {
padding: 0.8rem 1.5rem;
border-radius: 8px;
font-family: var(--font-heading);
font-weight: 600;
cursor: pointer;
transition: all 0.2s;
display: flex;
align-items: center;
gap: 0.5rem;
}
.btn-primary {
background: var(--accent-primary);
color: #fff;
border: none;
box-shadow: 0 4px 15px rgba(96, 165, 250, 0.2);
}
.btn-primary:hover {
background: #3b82f6;
transform: translateY(-2px);
}
.btn-secondary {
background: transparent;
color: var(--text-main);
border: 1px solid var(--panel-border);
}
.btn-secondary:hover {
background: rgba(255,255,255,0.05);
}
.integrity-badge {
display: flex;
align-items: flex-start;
gap: 1rem;
background: rgba(16, 185, 129, 0.05);
border: 1px solid rgba(16, 185, 129, 0.2);
padding: 1rem;
border-radius: 8px;
}
.integrity-badge strong { color: #10b981; display: block; margin-bottom: 0.2rem; }
.integrity-badge p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }
.hook-panel h3 { margin-bottom: 0.5rem; }
.comparison-bars { margin-top: 1.5rem; }
.comp-row { margin-bottom: 1rem; }
.comp-label { display: block; font-size: 0.9rem; color: #cbd5e1; margin-bottom: 0.3rem; }
.bar-bg { width: 100%; height: 24px; background: rgba(255,255,255,0.05); border-radius: 4px; overflow: hidden; }
.bar-fill { height: 100%; display: flex; align-items: center; padding: 0 10px; font-family: var(--font-mono); font-size: 0.8rem; font-weight: 600; }
.bar-fill.negative { background: rgba(239, 68, 68, 0.2); color: #fca5a5; }
.bar-fill.positive { background: rgba(16, 185, 129, 0.2); color: #6ee7b7; }
/* ========================================================= */
/* DUAL-PANE SANDBOX */
/* ========================================================= */
.sandbox-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 2rem;
margin-bottom: 2rem;
}
.panel-title {
font-size: 1.1rem;
color: #fff;
margin-bottom: 1.5rem;
padding-bottom: 0.5rem;
border-bottom: 1px solid var(--panel-border);
}
.live-metrics-row {
display: flex;
gap: 1rem;
margin-bottom: 1.5rem;
}
.metric-box {
flex: 1;
background: rgba(255,255,255,0.02);
border: 1px solid var(--panel-border);
padding: 1rem;
border-radius: 8px;
}
.m-label { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.m-val { display: block; font-size: 1.8rem; font-family: var(--font-mono); color: var(--accent-primary); font-weight: 600; }
.chart-wrapper {
width: 100%;
height: 250px;
margin-bottom: 1.5rem;
}
.horizon-ribbon-container { margin-top: 1rem; }
.horizon-ribbon {
width: 100%;
height: 30px;
border-radius: 6px;
overflow: hidden;
display: flex;
background: rgba(255,255,255,0.05);
}
.ribbon-placeholder {
width: 100%; text-align: center; line-height: 30px; font-size: 0.85rem; color: var(--text-muted);
}
.ribbon-segment {
height: 100%;
display: flex;
align-items: center;
justify-content: center;
font-size: 0.75rem;
color: #0f172a;
font-weight: 600;
transition: width 0.3s ease;
}
/* ========================================================= */
/* ANALYTICS SUITE */
/* ========================================================= */
.analytics-suite { margin-top: 3rem; }
.suite-tabs {
display: flex;
gap: 0.5rem;
border-bottom: 1px solid var(--panel-border);
margin-bottom: 1.5rem;
}
.suite-tab {
background: transparent;
border: none;
color: var(--text-muted);
padding: 0.8rem 1.5rem;
font-size: 0.95rem;
font-family: var(--font-heading);
cursor: pointer;
border-bottom: 2px solid transparent;
}
.suite-tab:hover { color: #fff; }
.suite-tab.active {
color: var(--accent-primary);
border-bottom: 2px solid var(--accent-primary);
}
.suite-content-container { min-height: 200px; padding: 2rem; }
.zoo-grid { grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); }
.zoo-section { margin-top: 1.5rem; }
.zoo-section h4 { color: #fff; font-size: 0.95rem; margin-bottom: 0.5rem; }
.zoo-section p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }
.positive-text { color: #6ee7b7 !important; }
.negative-text { color: #fca5a5 !important; }
/* ========================================================= */
/* AUTHENTICATION GATEWAY */
/* ========================================================= */
.auth-overlay {
position: fixed;
top: 0; left: 0; width: 100vw; height: 100vh;
background: rgba(15, 23, 42, 0.75);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
z-index: 9999;
display: flex;
align-items: center;
justify-content: center;
}
.auth-box {
max-width: 400px;
width: 100%;
text-align: center;
padding: 3rem 2rem;
animation: fadeIn 0.5s ease-out;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
/* ========================================================= */
/* INTERACTIVE TOOLTIPS */
/* ========================================================= */
.tooltip-anchor {
position: relative;
cursor: help;
}
.tooltip-box {
position: absolute;
bottom: 100%;
left: 50%;
transform: translateX(-50%) translateY(10px);
width: 250px;
background: rgba(15, 23, 42, 0.95);
border: 1px solid rgba(96, 165, 250, 0.3);
color: #cbd5e1;
padding: 1rem;
border-radius: 8px;
font-size: 0.85rem;
line-height: 1.5;
text-align: left;
box-shadow: 0 10px 25px rgba(0,0,0,0.5);
opacity: 0;
visibility: hidden;
transition: all 0.2s ease;
z-index: 100;
}
.tooltip-anchor:hover .tooltip-box {
opacity: 1;
visibility: visible;
transform: translateX(-50%) translateY(-10px);
}
/* ========================================================= */
/* MATRIX TERMINAL */
/* ========================================================= */
.matrix-terminal {
background: rgba(15, 23, 42, 0.95);
border: 1px solid rgba(96, 165, 250, 0.3);
border-radius: 8px;
width: 90%;
max-width: 700px;
min-height: 300px;
box-shadow: 0 0 40px rgba(96, 165, 250, 0.1);
overflow: hidden;
font-family: var(--font-mono);
}
.terminal-header {
background: rgba(0,0,0,0.5);
padding: 0.8rem 1rem;
display: flex;
justify-content: space-between;
font-size: 0.75rem;
color: #64748b;
border-bottom: 1px solid rgba(255,255,255,0.05);
}
.terminal-body {
padding: 1.5rem;
font-size: 0.9rem;
line-height: 1.8;
color: #10b981;
}
/* ═══════════════════════════════════════════════════════════
RESPONSIVE DESIGN — Mobile First
Breakpoints: 1024px (tablet), 768px (mobile), 480px (small phone)
═══════════════════════════════════════════════════════════ */
/* --- Hamburger Button (hidden on desktop) --- */
.hamburger-btn {
display: none;
background: none;
border: none;
cursor: pointer;
padding: 8px;
flex-direction: column;
gap: 5px;
align-items: center;
justify-content: center;
z-index: 100;
margin-right: 0.5rem;
}
.hamburger-btn span {
display: block;
width: 22px;
height: 2px;
background: #94a3b8;
border-radius: 2px;
transition: all 0.3s ease;
}
.hamburger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: #fff; }
.hamburger-btn.open span:nth-child(2) { opacity: 0; }
.hamburger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: #fff; }
/* --- Mobile Nav Overlay --- */
.mobile-nav-overlay {
display: none;
position: fixed;
inset: 0;
background: rgba(5, 8, 20, 0.7);
z-index: 35;
backdrop-filter: blur(4px);
}
.mobile-nav-overlay.active { display: block; }
/* --- Tablet (≤ 1024px) --- */
@media (max-width: 1024px) {
.hero-layout { flex-direction: column; }
.sandbox-grid { grid-template-columns: 1fr; }
.zoo-grid { grid-template-columns: 1fr 1fr; }
.suite-grid { grid-template-columns: 1fr 1fr; }
.main-content { padding: 2rem 2rem; }
.nav-links { gap: 1.5rem; }
.nav-link { font-size: 0.9rem; }
}
/* --- Mobile (≤ 768px) --- */
@media (max-width: 768px) {
/* Typography */
h1 { font-size: 1.9rem; }
.page-header h1 { font-size: 1.9rem; }
.hero-title { font-size: 1.8rem !important; line-height: 1.2; }
.hero-subtitle { font-size: 0.95rem; }
/* Nav — collapse to hamburger */
.hamburger-btn { display: flex; }
.nav-links {
position: fixed;
top: 0; right: -100%;
width: min(280px, 80vw);
height: 100vh;
background: rgba(10, 15, 30, 0.98);
backdrop-filter: blur(24px);
-webkit-backdrop-filter: blur(24px);
border-left: 1px solid var(--panel-border);
flex-direction: column;
gap: 0;
padding: 5rem 0 2rem 0;
z-index: 60;
transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
overflow-y: auto;
}
.nav-links.mobile-open { right: 0; }
.nav-link {
font-size: 1rem;
padding: 1rem 1.5rem;
border-bottom: 1px solid rgba(255,255,255,0.05);
width: 100%;
}
.nav-link.active::after { display: none; }
.nav-link.active { border-left: 3px solid var(--accent-primary); }
/* Ticker — smaller text */
.ticker-wrap { height: 28px; }
.ticker-item { font-size: 0.78rem; padding: 0 1.5rem; line-height: 28px; }
/* Top nav height */
.top-nav { height: 58px; top: 28px; padding: 0 1rem; }
.app-layout { margin-top: 86px; }
.sidebar { height: calc(100vh - 86px); top: 86px; }
.nav-logo { font-size: 1rem; }
/* Sidebar — always overlay on mobile */
.sidebar { width: 260px; left: -260px; z-index: 55; }
.sidebar.open { left: 0; box-shadow: 4px 0 30px rgba(0,0,0,0.5); }
.main-content { margin-left: 0 !important; max-width: 100vw !important; }
.main-content.sidebar-open { margin-left: 0 !important; }
/* Layout & Spacing */
.main-content { padding: 1.2rem 1rem 3rem 1rem; }
.glass-panel { padding: 1.5rem 1.2rem; border-radius: 12px; max-width: 100%; margin: 0; }
.page-header { margin-bottom: 1.5rem; }
/* Forms */
.form-grid { grid-template-columns: 1fr; gap: 1.2rem; }
.split-form-row { grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1rem; }
.toggles-container { flex-direction: column; align-items: flex-start !important; gap: 1rem !important; }
input[type="text"], input[type="number"], select {
padding: 0.85rem 1rem;
font-size: 16px; /* Prevent iOS zoom */
}
input[type="password"] { font-size: 16px; }
/* Range */
.range-container { flex-direction: column; align-items: stretch; height: auto; gap: 8px; }
.range-val { width: 100%; text-align: center; }
/* Buttons */
.btn-primary, .btn-secondary { width: 100%; justify-content: center; padding: 0.9rem 1.2rem; }
.hero-ctas { flex-direction: column; width: 100%; gap: 0.8rem; }
button.generate-btn { padding: 1rem; font-size: 1rem; margin-top: 1.5rem; }
/* Cards */
.cards-grid { grid-template-columns: 1fr; gap: 1rem; }
.info-card { padding: 1.5rem 1.2rem; }
.zoo-grid, .suite-grid { grid-template-columns: 1fr; }
.sandbox-grid { grid-template-columns: 1fr; }
/* Chat widget */
#chat-window {
position: fixed !important;
width: 100vw !important;
height: 100dvh !important;
max-height: 100dvh !important;
top: 0 !important;
left: 0 !important;
bottom: 0 !important;
right: 0 !important;
border-radius: 0 !important;
z-index: 1000 !important;
}
#chat-toggle-btn { bottom: 1.2rem; right: 1.2rem; }
/* Report iframe */
#reportContainer iframe { height: 85vh !important; }
/* Loading overlay text */
.loading-title { font-size: 1.2rem; }
.loading-text { font-size: 0.85rem; }
/* Expandable cards */
.expandable-card { padding: 1.2rem; }
.expandable-card.expanded { transform: none; }
}
/* --- Small phones (≤ 480px) --- */
@media (max-width: 480px) {
h1 { font-size: 1.5rem; }
.hero-title { font-size: 1.4rem !important; }
.glass-panel { padding: 1.2rem 1rem; }
.nav-logo span.logo-text { font-size: 0.9rem; }
.top-nav { padding: 0 0.75rem; }
.ticker-wrap { display: none; } /* Hide ticker on very small screens */
.top-nav { top: 0; }
.app-layout { margin-top: 58px; }
.sidebar { height: calc(100vh - 58px); top: 58px; }
.info-card { padding: 1.2rem 1rem; }
.info-card h3 { font-size: 1.1rem; }
.page-header { margin-bottom: 1rem; }
.main-content { padding: 1rem 0.75rem 3rem 0.75rem; }
/* Make portfolio input tags wrap nicely */
.ticker-tag { font-size: 0.75rem; padding: 3px 8px; }
}
/* --- Landscape phone --- */
@media (max-height: 500px) and (orientation: landscape) {
.top-nav { height: 50px; }
.ticker-wrap { display: none; }
.app-layout { margin-top: 50px; }
.glass-panel { padding: 1rem; }
}
/* --- NOVA Reasoning Toggle --- */
.nova-reasoning {
margin-bottom: 0.8rem;
border-radius: 8px;
background: rgba(0, 0, 0, 0.2);
border: 1px solid rgba(255, 255, 255, 0.05);
overflow: hidden;
}
.nova-reasoning summary {
cursor: pointer;
padding: 0.5rem 0.8rem;
font-size: 0.85rem;
color: #94a3b8;
font-weight: 500;
user-select: none;
outline: none;
transition: background 0.2s;
}
.nova-reasoning summary:hover {
background: rgba(255, 255, 255, 0.05);
color: #cbd5e1;
}
.nova-reasoning .reasoning-content {
padding: 0.8rem;
font-size: 0.75rem;
font-weight: 300;
color: #64748b;
border-top: 1px solid rgba(255, 255, 255, 0.05);
font-style: italic;
background: rgba(0, 0, 0, 0.3);
}
/* --- Top Dashboard Cards --- */
.dashboard-top-cards {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 1rem;
margin-bottom: 1.5rem;
padding: 0 1rem;
margin-top: 1rem;
}
.dashboard-card-link {
background: rgba(15, 23, 42, 0.6);
border: 1px solid rgba(255, 255, 255, 0.05);
border-radius: 12px;
padding: 1.2rem;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 0.8rem;
cursor: pointer;
color: #94a3b8;
transition: all 0.3s ease;
text-align: center;
font-weight: 500;
}
.dashboard-card-link svg {
color: #3b82f6;
width: 28px;
height: 28px;
}
.dashboard-card-link:hover {
background: rgba(255, 255, 255, 0.05);
border-color: rgba(255, 255, 255, 0.1);
color: #fff;
transform: translateY(-2px);
}
.dashboard-card-link.active {
background: rgba(59, 130, 246, 0.1);
border-color: rgba(59, 130, 246, 0.3);
color: #60a5fa;
}
@media (max-width: 1024px) {
.dashboard-top-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
.dashboard-top-cards { grid-template-columns: 1fr; }
}
/* --- Chat Expanded State --- */
#chat-window.chat-expanded {
width: 800px !important;
height: 80vh !important;
max-width: 95vw !important;
bottom: 50px !important;
right: 50px !important;
}
@media (max-width: 800px) {
#chat-window.chat-expanded {
width: 100% !important;
height: 100vh !important;
bottom: 0 !important;
right: 0 !important;
}
}
/* --- Tooltips --- */
[data-tooltip] {
position: relative;
}
[data-tooltip]:hover::before {
content: attr(data-tooltip);
position: absolute;
bottom: 100%;
left: 50%;
transform: translateX(-50%);
margin-bottom: 8px;
padding: 0.5rem 0.8rem;
background: rgba(15, 23, 42, 0.95);
color: #f8fafc;
font-size: 0.85rem;
white-space: pre-wrap;
width: max-content;
max-width: 250px;
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 6px;
z-index: 1000;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
pointer-events: none;
text-align: left;
font-weight: normal;
}
/* --- NEW NATIVE ACCORDION --- */
.native-glass-accordion {
background: rgba(30, 41, 59, 0.4);
border: 1px solid var(--panel-border);
border-radius: 16px;
margin-bottom: 1.5rem;
overflow: hidden;
transition: all 0.4s ease;
}
.native-glass-accordion[open] {
background: rgba(15, 23, 42, 0.95);
border-color: var(--accent-primary);
box-shadow: 0 10px 40px -10px rgba(59, 130, 246, 0.3);
}
.native-glass-accordion summary {
list-style: none;
padding: 2rem;
cursor: pointer;
position: relative;
display: block;
}
.native-glass-accordion summary::-webkit-details-marker {
display: none;
}
.native-glass-accordion[open] summary {
border-bottom: 1px solid rgba(255,255,255,0.1);
}
.native-glass-accordion .card-body {
padding: 1.5rem 2rem 2rem 2rem;
opacity: 1 !important;
max-height: none !important;
display: block !important;
visibility: visible !important;
}
.native-glass-accordion summary:hover {
background: rgba(30, 41, 59, 0.7);
}
.native-glass-accordion summary::before {
content: '';
position: absolute;
top: 0; left: 0; width: 100%; height: 100%;
background: radial-gradient(circle at center, rgba(96, 165, 250, 0.08) 0%, transparent 60%);
opacity: 0;
transition: opacity 0.4s ease;
pointer-events: none;
}
.native-glass-accordion summary:hover::before {
opacity: 1;
}
.native-glass-accordion[open] .card-expand-btn {
transform: rotate(180deg);
background: var(--accent-primary);
color: #fff;
box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}
/* --- NEW STATIC GLASS PANEL --- */
.static-glass-panel {
background: var(--panel-bg);
border: 1px solid var(--panel-border);
border-top: 1px solid var(--panel-border-top);
border-radius: 16px;
padding: 2.5rem;
backdrop-filter: blur(24px);
-webkit-backdrop-filter: blur(24px);
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
margin-bottom: 2rem;
display: block !important;
opacity: 1 !important;
visibility: visible !important;
position: relative;
}
/* --- RESPONSIVE GRIDS --- */
.hft-grid, .benchmark-grid { display: grid; gap: 1.5rem; }
.hft-grid { grid-template-columns: 2fr 1fr; height: 350px; margin-bottom: 1.5rem; }
.benchmark-grid { grid-template-columns: 2fr 1fr; height: 400px; }
.table-responsive {
overflow-x: auto;
width: 100%;
margin-bottom: 1rem;
}
@media (max-width: 768px) {
.hft-grid, .benchmark-grid {
grid-template-columns: 1fr;
height: auto;
}
.hft-grid > div, .benchmark-grid > div {
min-height: 350px;
}
.pro-header h1 {
font-size: 2rem;
text-align: center;
}
#options-chain-container > div {
grid-template-columns: 1fr !important;
}
}
/* --- AI STRATEGY RENDERING --- */
.ai-strategy-output {
font-family: var(--font-sans);
line-height: 1.6;
}
.ai-strategy-output h3 {
color: #10b981;
margin-top: 1.5rem;
margin-bottom: 0.5rem;
font-family: var(--font-heading);
}
.ai-strategy-output h4 {
color: #60a5fa;
margin-top: 1rem;
margin-bottom: 0.5rem;
}
.ai-strategy-output p {
margin-bottom: 1rem;
color: #cbd5e1;
}
.ai-strategy-output ul {
margin-left: 1.5rem;
margin-bottom: 1rem;
color: #cbd5e1;
}
.ai-strategy-output li {
margin-bottom: 0.25rem;
}
.ai-strategy-output strong {
color: #f8fafc;
}
/* Replaces the [RECOMMENDED] text with a sleek badge */
.ai-strategy-output .recommended-badge {
background: rgba(16, 185, 129, 0.2);
color: #34d399;
border: 1px solid rgba(16, 185, 129, 0.5);
padding: 0.1rem 0.5rem;
border-radius: 4px;
font-size: 0.8rem;
font-weight: 600;
text-transform: uppercase;
vertical-align: middle;
margin-left: 0.5rem;
display: inline-block;
}
/* --- EASTER EGG: THE QUANT'S TERMINAL --- */
.crt-overlay {
position: fixed;
top: 0; left: 0; width: 100vw; height: 100vh;
background-color: #000;
z-index: 99999;
display: none;
flex-direction: column;
padding: 2rem;
font-family: 'Courier New', Courier, monospace;
color: #33ff33;
text-shadow: 0 0 5px #33ff33, 0 0 10px #33ff33;
overflow: hidden;
}
.crt-scanlines {
position: absolute;
top: 0; left: 0; width: 100%; height: 100%;
background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0) 50%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.25));
background-size: 100% 4px;
pointer-events: none;
z-index: 2;
animation: scanline-scroll 10s linear infinite;
}
.crt-vignette {
position: absolute;
top: 0; left: 0; width: 100%; height: 100%;
background: radial-gradient(circle, transparent 50%, rgba(0,0,0,0.7) 100%);
pointer-events: none;
z-index: 3;
}
.crt-curve {
position: relative;
width: 100%; height: 100%;
z-index: 1;
animation: crt-flicker 0.15s infinite;
}
.crt-text-line {
font-size: 1.2rem;
margin-bottom: 0.5rem;
white-space: pre;
line-height: 1.5;
}
.crt-cursor {
display: inline-block;
width: 12px; height: 1.2rem;
background-color: #33ff33;
animation: blink-cursor 1s step-end infinite;
vertical-align: bottom;
box-shadow: 0 0 5px #33ff33;
}
.crt-flash {
animation: crt-flash-anim 150ms ease-out;
}
.crt-poweroff {
animation: crt-poweroff-anim 0.6s ease-in forwards;
}
.crt-badge {
margin-left: 0.5rem;
font-size: 1.2rem;
vertical-align: middle;
}
@keyframes scanline-scroll {
0% { background-position: 0 0; }
100% { background-position: 0 400px; }
}
@keyframes blink-cursor {
0%, 100% { opacity: 1; }
50% { opacity: 0; }
}
@keyframes crt-flicker {
0% { opacity: 0.95; }
50% { opacity: 0.98; }
100% { opacity: 0.92; }
}
@keyframes crt-flash-anim {
0% { opacity: 0; background-color: #fff; }
50% { opacity: 1; background-color: #fff; }
100% { opacity: 1; background-color: #000; }
}
@keyframes crt-poweroff-anim {
0% { transform: scale(1, 1); opacity: 1; }
40% { transform: scale(1, 0.005); opacity: 1; background-color: #fff; box-shadow: 0 0 50px #fff; }
70% { transform: scale(0.005, 0.005); opacity: 1; background-color: #fff; }
100% { transform: scale(0, 0); opacity: 0; }
}
/* --- EASTER EGG V2 EXTENSIONS --- */
.crt-matrix-canvas {
position: absolute;
top: 0; left: 0; width: 100%; height: 100%;
z-index: 0;
opacity: 0.15;
pointer-events: none;
}
.crt-content-container {
position: relative;
z-index: 2;
display: flex;
flex-direction: column;
height: 100%;
overflow-y: auto;
padding-bottom: 2rem;
}
.crt-glitch {
animation: crt-glitch-anim 0.2s cubic-bezier(.25, .46, .45, .94) both infinite;
}
.crt-prompt-line {
display: flex;
align-items: center;
margin-top: 1rem;
}
.crt-prompt {
margin-right: 0.5rem;
}
.crt-input {
background: transparent;
border: none;
color: #33ff33;
font-family: 'Courier New', Courier, monospace;
font-size: 1.2rem;
outline: none;
flex: 1;
text-shadow: 0 0 5px #33ff33, 0 0 10px #33ff33;
}
.crt-text-line.highlight {
color: #fff;
text-shadow: 0 0 5px #fff;
}
@keyframes crt-glitch-anim {
0% { transform: translate(0); text-shadow: 0 0 5px #33ff33; }
20% { transform: translate(-5px, 2px); text-shadow: -2px 0 red, 2px 0 cyan; }
40% { transform: translate(-5px, -2px); text-shadow: -2px 0 red, 2px 0 cyan; }
60% { transform: translate(5px, 2px); text-shadow: -2px 0 red, 2px 0 cyan; }
80% { transform: translate(5px, -2px); text-shadow: -2px 0 red, 2px 0 cyan; }
100% { transform: translate(0); text-shadow: 0 0 5px #33ff33; }
}
.crt-progress-bar {
display: inline-block;
width: 200px;
height: 1.2rem;
border: 1px solid #33ff33;
margin-left: 1rem;
vertical-align: middle;
position: relative;
}
.crt-progress-fill {
height: 100%;
background-color: #33ff33;
width: 0%;
transition: width 0.1s linear;
}