* { box-sizing: border-box; }

body {
    margin: 0; padding: 0; background-color: #0d0d12; color: #fff;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background-image: radial-gradient(circle at top, #1a1a24, #0d0d12);
    min-height: 100vh;
}

/* === ЭКРАН ЛОГИНА === */
#login-screen {
    height: 100vh; display: flex; flex-direction: column;
    justify-content: center; align-items: center;
}
.login-box {
    background: #15151c; padding: 40px; border-radius: 20px;
    border: 1px solid #2a2a35; text-align: center;
    box-shadow: 0 0 50px rgba(176, 38, 255, 0.2);
}
.login-box h1 { margin-top: 0; color: #b026ff; letter-spacing: 2px; }
.login-box input {
    width: 100%; padding: 15px; margin-bottom: 20px;
    background: #0d0d12; border: 1px solid #b026ff; color: white;
    border-radius: 10px; font-size: 1.2rem; text-align: center;
}
.btn {
    background: linear-gradient(45deg, #7a10b3, #b026ff);
    border: none; color: white; padding: 12px 30px; border-radius: 10px;
    font-weight: bold; cursor: pointer; text-transform: uppercase; transition: 0.3s;
}
.btn:hover { box-shadow: 0 0 20px #b026ff; }
.btn-red { background: linear-gradient(45deg, #b3102c, #ff2660); }
.btn-red:hover { box-shadow: 0 0 20px #ff2660; }

/* === ПАНЕЛЬ УПРАВЛЕНИЯ === */
#admin-dashboard { display: none; padding: 20px; max-width: 1400px; margin: 0 auto; }

nav.admin-nav {
    display: flex; justify-content: space-between; align-items: center;
    background: #15151c; padding: 20px; border-radius: 15px;
    border: 1px solid #2a2a35; margin-bottom: 30px;
}
.tabs { display: flex; gap: 20px; }
.tab-btn {
    background: transparent; border: 1px solid rgba(255,255,255,0.2);
    color: white; padding: 10px 20px; border-radius: 10px; cursor: pointer;
    font-weight: bold; transition: 0.3s;
}
.tab-btn.active { background: #b026ff; border-color: #b026ff; box-shadow: 0 0 15px rgba(176,38,255,0.5); }

.admin-section { display: none; }
.admin-section.active { display: block; }

/* === СЕТКА РИСУНКОВ (СТЕНА) === */
.drawings-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}
.art-card {
    background: #15151c; border: 1px solid #2a2a35; border-radius: 15px;
    padding: 15px; text-align: center;
}
.art-card img { width: 100%; height: auto; border-radius: 10px; background: #222; margin-bottom: 15px; }
.art-actions { display: flex; flex-direction: column; gap: 10px; }
.art-actions button { width: 100%; }

/* === ДОСКА ПОЧЁТА === */
.honor-grid { display: flex; gap: 20px; }
.honor-col {
    flex: 1; background: #15151c; border: 1px solid #2a2a35;
    border-radius: 15px; padding: 20px;
}
.honor-col h3 { text-align: center; border-bottom: 1px solid #333; padding-bottom: 10px; }
.honor-item {
    display: flex; justify-content: space-between; align-items: center;
    background: #222; padding: 10px 15px; border-radius: 10px; margin-bottom: 10px;
}
.honor-item button { background: transparent; border: none; color: #ff2660; cursor: pointer; font-size: 1.2rem; }
.add-honor-form {
    display: flex; flex-direction: column; gap: 10px; margin-top: 20px;
    border-top: 1px solid #333; padding-top: 20px;
}
.add-honor-form input {
    background: #0d0d12; border: 1px solid #333; color: white;
    padding: 10px; border-radius: 5px;
}

/* === ТЮРЬМА (БАН-ЛИСТ) === */
.ban-list { background: #15151c; border-radius: 15px; padding: 20px; border: 1px solid #2a2a35; }
.ban-item {
    display: flex; justify-content: space-between; align-items: center;
    background: #222; padding: 15px; border-radius: 10px; margin-bottom: 10px;
}