.main-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Terminal CTA hero */
.terminal-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
}

.terminal-cta h1 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.terminal-cta p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    white-space: nowrap;
}

.big-count {
    font-size: 4rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

@media (max-width: 600px) {
    .terminal-cta { flex-direction: column; text-align: center; }
}

:root {
    --bg-base: #0f172a;
    --bg-glass: rgba(30, 41, 59, 0.7);
    --border-glass: rgba(255, 255, 255, 0.1);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #00ffcc;
    --accent-hover: #00e6b8;
    --danger: #ef4444;
    --success: #10b981;
    --warning: #f59e0b;
    --orb-1: #3b82f6;
    --orb-2: #8b5cf6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-base);
    color: var(--text-main);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Background Effects */
.bg-grid {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -1;
    pointer-events: none;
}

.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -2;
    opacity: 0.4;
    animation: float 20s infinite ease-in-out alternate;
}

.orb-1 {
    width: 400px; height: 400px;
    background: var(--orb-1);
    top: -100px; left: -100px;
}

.orb-2 {
    width: 500px; height: 500px;
    background: var(--orb-2);
    bottom: -100px; right: -100px;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.1); }
}

/* Layout */
.app-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    margin-bottom: 2rem;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: 2px;
}

.logo span {
    color: var(--accent);
}

.breadcrumb {
    color: var(--text-muted);
    font-size: 1rem;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg-base);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 255, 204, 0.3);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(8px);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

.btn-full {
    width: 100%;
}

.mt-4 { margin-top: 1rem; }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.flex-align { display: flex; align-items: center; gap: 0.5rem; }

/* Grid */
.top-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.bottom-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

/* Glass Cards */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.card-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.card-header.space-between {
    justify-content: space-between;
}

.card-icon {
    font-size: 1.5rem;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.card-body {
    padding: 1.5rem;
}

.card-body.p-0 {
    padding: 0;
}

/* Portfolio Specific */
.balance-main {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
}

.currency {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
    margin-right: 0.25rem;
}

.trend {
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    background: rgba(255,255,255,0.05);
}

.trend.positive { color: var(--success); }
.trend.negative { color: var(--danger); }

.asset-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.asset-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
}

.asset-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.asset-icon {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    font-weight: bold;
}

.asset-name { font-weight: 600; }
.asset-amt { color: var(--text-muted); font-size: 0.85rem; }

.asset-value { text-align: right; }
.asset-val-usd { font-weight: 600; }

/* Skeleton */
.skeleton-row {
    height: 60px;
    background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.03) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    border-radius: 12px;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Sentiment Meter */
.sentiment-meter {
    margin-bottom: 2rem;
}

.meter-track {
    height: 12px;
    background: linear-gradient(to right, var(--danger), var(--warning), var(--success));
    border-radius: 6px;
    position: relative;
    margin-bottom: 0.5rem;
}

.meter-fill {
    height: 100%;
    background: rgba(0,0,0,0.5);
    position: absolute;
    right: 0;
    border-radius: 0 6px 6px 0;
}

.meter-indicator {
    position: absolute;
    top: -6px;
    width: 4px;
    height: 24px;
    background: white;
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(255,255,255,0.8);
    transform: translateX(-50%);
    transition: left 0.5s ease-out;
}

.meter-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.sentiment-analysis h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: var(--accent);
}

.sentiment-analysis p {
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Data Table */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th {
    text-align: left;
    padding: 1rem 1.5rem;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border-glass);
    background: rgba(0,0,0,0.2);
}

.data-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--border-glass);
}

.data-table tr:last-child td { border-bottom: none; }

.status-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}
.status-running { background: rgba(16,185,129,0.2); color: var(--success); }
.status-stopped { background: rgba(148,163,184,0.2); color: var(--text-muted); }
.status-failed { background: rgba(239,68,68,0.2); color: var(--danger); }

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.glass-modal {
    background: var(--bg-glass);
    backdrop-filter: blur(24px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    width: 100%;
    max-width: 400px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.modal-overlay.active .glass-modal {
    transform: translateY(0);
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-btn {
    background: none; border: none; color: var(--text-muted);
    font-size: 1.2rem; cursor: pointer;
}

.modal-body { padding: 1.5rem; }

.form-group { margin-bottom: 1.5rem; }
.form-group label {
    display: block; margin-bottom: 0.5rem; color: var(--text-muted); font-size: 0.9rem;
}
.glass-input {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    color: white;
    outline: none;
    font-family: inherit;
    font-size: 1rem;
}
.glass-input:focus { border-color: var(--accent); }
.glass-input option { background: var(--bg-base); }

/* Animations */
.animate-in { opacity: 0; }
.fade-up { transform: translateY(20px); }

@keyframes fadeUpIn {
    to { opacity: 1; transform: translateY(0); }
}

.delay-1 { animation: fadeUpIn 0.6s ease forwards 0.1s; }
.delay-2 { animation: fadeUpIn 0.6s ease forwards 0.2s; }
.delay-3 { animation: fadeUpIn 0.6s ease forwards 0.3s; }

/* Responsive */
@media (max-width: 768px) {
    .top-grid { grid-template-columns: 1fr; }
    .data-table { display: block; overflow-x: auto; }
}
