:root {
    --primary: #6c5ce7;
    --bg: #f0f2f5;
    --glass: rgba(255, 255, 255, 0.8);
    --text: #2d3436;
}

* { box-sizing: border-box; margin: 0; padding: 0; font-family: 'Segoe UI', sans-serif; }

body {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    display: flex;
    height: 100vh;
    color: var(--text);
}

/* Sidebar Navigation */
.sidebar {
    width: 260px;
    background: white;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 10px rgba(0,0,0,0.05);
}

.logo { font-size: 1.5rem; font-weight: bold; color: var(--primary); margin-bottom: 40px; }

.sidebar ul { list-style: none; }
.sidebar li { margin-bottom: 15px; }

.sidebar a {
    text-decoration: none;
    color: #636e72;
    font-weight: 600;
    padding: 12px;
    display: block;
    border-radius: 10px;
    transition: 0.3s;
}

.sidebar a:hover, .sidebar a.active {
    background: var(--primary);
    color: white;
}

/* Main Content Wrapper */
.main-content {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-y: auto;
}

/* Welcome Header */
.top-header { text-align: center; margin-bottom: 30px; }
.top-header h1 { font-size: 2.5rem; }

/* The Glass Card */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 30px;
    width: 100%;
    max-width: 700px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.3);
}

.message-bubble {
    background: white;
    padding: 20px;
    border-radius: 15px;
    margin: 20px 0;
    font-style: italic;
    color: var(--primary);
    min-height: 60px;
}

.chat-buttons { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

button {
    padding: 12px 24px;
    border: none;
    border-radius: 30px;
    background: var(--primary);
    color: white;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

button:hover { transform: scale(1.05); filter: brightness(1.1); }

/* Resource Grid */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    width: 100%;
}

.res-card {
    background: white;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    transition: 0.3s;
}

.res-card:hover { transform: translateY(-10px); }
