/* ===== КНОПКА ТЕМЫ ===== */
.theme-eblan {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    border: none;
    border-radius: 30%;
    right: 30px;
    bottom: 30px;
    width: 64px;
    height: 64px;
    cursor: pointer;
    background-color: white;
    transition: filter 0.3s ease, transform 0.1s ease, background-color 0.4s ease;
}

.theme-eblan:hover {
    filter: brightness(0.8);
}

.theme-eblan:active {
    filter: brightness(1.2);
    transform: scale(0.95);
}

body.theme .theme-eblan {
    background-color: #161616;
}

body.theme .theme-eblan img {
    filter: invert(1);
}

/* ===== ПЕРЕХОДЫ ===== */
body {
    transition: background 0.2s;
}

.main {
    transition: background 0.2s;
}

/* ===== ТЁМНАЯ ТЕМА ===== */
body.theme {
    background: url('../img/theme.png') no-repeat center center;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.2s;
}

body.theme .main {
    background: #161616;
    color: white;
    border: 3px solid rgba(255, 255, 255, 0.1);
    transition: background 0.2s;
}

body.theme .post-body {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

body.theme .views {
    color: rgba(255, 255, 255, 0.5);
}

body.theme .views .icon-views {
    fill: rgba(255, 255, 255, 0.5);
}

body.theme .likes img {
    filter: invert(1);
}

body.theme .comments img {
    filter: invert(1);
}
