:root {
    --primary: #6366f1;
    --secondary: #a855f7;
    --bg: #f5f5f7;
    --white: #ffffff;
    --text: #1d1d1f;
    --gray: #86868b;
    --glass: rgba(255, 255, 255, 0.7);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'SF Pro Display', sans-serif; }
body { background: var(--bg); color: var(--text); line-height: 1.5; }

/* --- NAV --- */
nav {
    position: sticky; top: 15px; z-index: 1000;
    margin: 0 20px; padding: 15px 30px;
    background: var(--glass); backdrop-filter: blur(20px);
    border-radius: 20px; border: 1px solid rgba(255,255,255,0.4);
    display: flex; justify-content: space-between; align-items: center;
}
.logo { font-size: 22px; font-weight: 800; background: linear-gradient(to right, #6366f1, #a855f7); -webkit-background-clip: text; -webkit-text-fill-color: transparent; text-decoration: none; }

/* --- BENTO GRID --- */
.container { max-width: 1200px; margin: 40px auto; padding: 0 20px; }
.bento-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 220px; gap: 20px;
}
.bento-card {
    background: var(--white); border-radius: 30px; padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03); transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.02); overflow: hidden; position: relative;
}
.bento-card:hover { transform: scale(1.02) translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.bento-card.large { grid-column: span 2; grid-row: span 2; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; }

/* --- ADMIN & FORMS --- */
.admin-panel { background: var(--white); padding: 40px; border-radius: 40px; box-shadow: var(--shadow); }
input, textarea, select {
    width: 100%; padding: 15px; margin-bottom: 15px;
    border-radius: 15px; border: 1px solid #e2e8f0; background: #f9fafb; outline: none;
}
.btn-action {
    background: var(--primary); color: white; padding: 15px 30px;
    border: none; border-radius: 50px; font-weight: 700; cursor: pointer; transition: 0.3s;
}
.btn-action:hover { opacity: 0.9; transform: scale(1.05); }

/* --- MODAL --- */
.modal {
    display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5);
    backdrop-filter: blur(10px); z-index: 2000; align-items: center; justify-content: center;
}
.modal-content { background: white; padding: 40px; border-radius: 35px; width: 400px; }