body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: #0f172a;
    color: #e2e8f0;
    overflow-x: hidden;
}

/* Splash */
#loader {
    position: fixed;
    inset: 0;
    background: #0f172a;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    animation: fadeOut 1s ease 1.5s forwards;
}

@keyframes fadeOut {
    to { opacity: 0; visibility: hidden; }
}

/* Layout */
.app {
    display: flex;
    height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 220px;
    background: #020617;
    padding: 20px;
}

.sidebar h2 {
    color: #38bdf8;
}

.sidebar div {
    margin-top: 10px;
    cursor: pointer;
}

/* Main */
.main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Topbar */
.topbar {
    padding: 10px;
    background: #020617;
}

.topbar input {
    width: 100%;
    padding: 8px;
    background: #1e293b;
    border: none;
    color: white;
}

/* Grid */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    padding: 20px;
}

/* Cards */
.card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    padding: 15px;
    border-radius: 10px;
    transition: 0.3s;
    opacity: 0;
    transform: translateY(20px);
    animation: cardIn 0.5s ease forwards;
}

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

.card:hover {
    transform: scale(1.05);
}

/* Button */
.card button {
    margin-top: 10px;
    padding: 5px;
    background: #38bdf8;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
