* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #111827;
    color: white;
    font-family: Arial, sans-serif;
}

.app-container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 240px;
    background: #172033;
    padding: 25px 18px;
    flex-shrink: 0;
}

.sidebar h3 {
    color: #c4a5ff;
    margin-bottom: 35px;
}

.sidebar nav a {
    display: block;
    padding: 13px;
    margin-bottom: 8px;
    text-decoration: none;
    color: #cbd5e1;
    border-radius: 8px;
}

.sidebar nav a:hover,
.sidebar nav a.active {
    background: #34415c;
    color: white;
}

.main-content {
    flex: 1;
    padding: 30px;
    min-width: 0;
}

.topbar {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.topbar span {
    color: #94a3b8;
}

.stat-card {
    background: #1e293b;
    padding: 25px;
    border-radius: 14px;
    border: 1px solid #334155;
}

.stat-card h5 {
    color: #a5b4fc;
}

.stat-card h2 {
    margin-top: 12px;
    font-size: 35px;
}

.project-card {
    background: #1e293b;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #334155;
}

@media(max-width: 768px) {
    .app-container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    .sidebar nav {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
    }

    .sidebar nav a {
        margin: 0;
    }

    .main-content {
        padding: 18px;
    }
}

.splash {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #111827;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-align: center;
    padding: 24px;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.splash img {
    width: 96px;
    height: 96px;
    border-radius: 22px;
}

.splash h1 {
    margin: 8px 0 0;
    font-size: 32px;
    color: #c4a5ff;
}

.splash p {
    margin: 0;
    color: #94a3b8;
}

.splash-hide {
    opacity: 0;
    visibility: hidden;
}