/* === Общие настройки === */
body {
    background-color: #181526;
    color: #e0e0e0;
    font-family: 'Segoe UI', sans-serif;
    font-size: 14px;
    margin: 0;
    padding: 0;
}

/* === Ссылки === */
a {
    color: #d283ff;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* === Заголовки === */
h1, h2, h3, h4 {
    color: #ffffff;
    border-bottom: 1px solid #2c233b;
    padding-bottom: 4px;
}

/* === Обёртка и контейнеры === */
.pun {
    background-color: #1f1b2f;
    border: 1px solid #302b44;
    border-radius: 6px;
    margin: 15px auto;
    padding: 15px;
    max-width: 960px;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
}

/* === Заголовок форума === */
#brdheader {
    background: #2d2542;
    padding: 15px;
    text-align: center;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    border-radius: 6px 6px 0 0;
}

/* === Меню === */
#brdmenu {
    background-color: #272033;
    border-bottom: 2px solid #3f3559;
    padding: 10px;
    text-align: center;
}
#brdmenu a {
    margin: 0 10px;
    color: #c4b7ec;
}

/* === Темы и посты === */
.pun .post {
    background-color: #252037;
    border: 1px solid #3b3155;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 4px;
}
.post-author {
    color: #a89ad2;
    font-weight: bold;
}

/* === Таблицы === */
.pun table {
    width: 100%;
    border-collapse: collapse;
}
.pun th {
    background-color: #3a2e56;
    color: #fff;
    padding: 8px;
}
.pun td {
    padding: 10px;
    border-bottom: 1px solid #40365a;
}

/* === Формы === */
input, textarea, select {
    background-color: #2a223b;
    color: #fff;
    border: 1px solid #463b63;
    padding: 5px 8px;
    border-radius: 4px;
}
input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #a46eff;
}

/* === Кнопки === */
input[type="submit"], input[type="button"] {
    background-color: #a46eff;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
}
input[type="submit"]:hover {
    background-color: #8d57e6;
}

/* === Footer === */
#brdfooter {
    text-align: center;
    padding: 20px;
    font-size: 12px;
    color: #888;
}
