:root {
    --bg-body: #050511;
    --glass: rgba(20, 20, 35, 0.6);
    --border: rgba(255, 255, 255, 0.1);
    --primary: #00f2ff;
    --secondary: #7000ff;
    --text-main: #ffffff;
    --text-muted: #8b9bb4;
    --gradient-main: linear-gradient(135deg, var(--secondary), var(--primary));
}

body {
    background-color: var(--bg-body);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(112, 0, 255, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(0, 242, 255, 0.08) 0%, transparent 20%);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.glass-panel, .stat-card {
    background: var(--glass);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(0, 242, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 242, 255, 0.4);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: rgba(5, 5, 17, 0.8);
    backdrop-filter: blur(15px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.5);
}

.logo img {
    height: 40px;
    filter: drop-shadow(0 0 8px rgba(0, 242, 255, 0.3));
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    padding: 40px;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    margin: 10px 0;
    color: var(--primary);
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.3);
}

.stat-label {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

th, td {
    text-align: left;
    padding: 16px;
    border-bottom: 1px solid var(--border);
}

th {
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

input {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border);
    padding: 14px;
    border-radius: 10px;
    color: white;
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 16px;
    transition: border-color 0.3s;
}

input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.2);
}

.tree-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px;
}

.tree-children {
    display: flex;
    justify-content: center;
}

@media (max-width: 768px) {
    .navbar {
        padding: 15px 20px;
    }
    .grid-container {
        padding: 20px;
        grid-template-columns: 1fr;
    }
}
