:root {
    --bg: #09090b;
    --card: rgba(24, 24, 27, 0.4);
    --primary: #06b6d4;
    --secondary: #8b5cf6;
    --text: #ffffff;
    --border: rgba(255, 255, 255, 0.05);
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.dark-mode {
    background: linear-gradient(135deg, #09090b 0%, #171717 100%);
    min-height: 100vh;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    height: 80px;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo .v7 {
    color: var(--primary);
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.container {
    padding: 0 40px 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.card {
    padding: 24px;
}

.label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

.value {
    font-family: 'Outfit', sans-serif;
    font-size: 32px;
    font-weight: 700;
    margin-top: 10px;
}

.glass {
    background: var(--card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.live-feed {
    margin-top: 20px;
}

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

h2 {
    font-family: 'Outfit', sans-serif;
    margin: 0;
    font-size: 20px;
}

.btn-filter {
    background: transparent;
    border: 1px solid var(--border);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    margin-left: 10px;
    cursor: pointer;
    font-weight: 600;
}

.btn-filter.active {
    background: var(--primary);
    border-color: var(--primary);
}

.table-container {
    padding: 24px;
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    text-align: left;
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    padding-bottom: 16px;
}

td {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    font-size: 14px;
    font-weight: 500;
}

.symbol-cell { font-weight: 700; color: var(--primary); }
.type-long { color: #10b981; }
.type-short { color: #f43f5e; }

.status-badge {
    background: rgba(6, 182, 212, 0.1);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
}

.pulse .dot {
    height: 8px;
    width: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(6, 182, 212, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(6, 182, 212, 0); }
}

.loader {
    text-align: center;
    padding: 40px;
    color: rgba(255, 255, 255, 0.5);
}
