/* Существующие стили */
:root {
    --body-bg: #F5F5F5;
    --bg-primary: #fff;
    --bg-secondary: #f5f5f5;
    --link-color: #606A7D;
    --link-hover-color: #FF5722;
    --text-color: #606A7D;
    --text-primary: #333;
    --text-secondary: #666;
    --accent-color: #ff5722;
    --header-bg: #fff;
    --card-bg: #fff;
    --card-shadow: 0 1px 3px rgba(0,0,0,0.1);
    --sidebar-width: 200px;
    --container-width: 1480px;
    --border-color: #F0F0F0;
}
.dark-mode {
    --body-bg: #202529;
    --bg-primary: #252B30;
    --bg-secondary: #1e1e1e;
    --bg-form: #282F34;
    --link-color: #D2D9E6;
    --link-hover-color: #F8AB2E;
    --text-color: #ced0d4;
    --text-primary: #fff;
    --text-secondary: #ccc;
    --accent-color: #F8AB2E;
    --header-bg: #252B30;
    --card-bg: #2D343A;
    --card-shadow: 0 1px 3px rgba(0,0,0,0.3);
    --border-color:#2E353C;
}
*,:after,:before {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    -webkit-text-size-adjust: 100%;
    line-height: 1.15;
}
body {
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-style: normal;
    font-size: .85rem;
    margin: 0;
    padding: 0;
    background-color: var(--body-bg);
    color: var(--text-primary);
    transition: background-color .2s ease;
    line-height: 1.4;
}
h1,h2,h3,h4,h5,h6 {
    font-weight: 300;
    margin-bottom: .5rem;
    margin-top: 0;
}
a {
    border: none;
    color: var(--link-color);
    font-weight: 300;
    outline: none;
    text-decoration: none;
    transition: all ease-in-out .2s;
}
a:hover {
    color: var(--link-hover-color);
    text-decoration: none;
}
.clearfix:after {
    clear: both;
    content: ' ';
    display: table;
}
.left {
    float: left !important;
}
.right {
    float: right !important;
}
.header-container {
    background-color: var(--header-bg);
    box-shadow: 0 1px 2px #00000021;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}
.header {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 12px 20px 0;
}
.full-width .header {
    max-width: 100%;
    padding: 12px 40px 0;
}
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
    width: 180px;
    height: 45px;
    background-size: cover;
    background-position: center;
    background-image: url(/img/logo.png);
}
.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    margin-right: 15px;
}
.search-container {
    flex: 1;
    max-width:700px;
    margin: 0 15px;
}
.search-form {
    display: flex;
    border-radius: 5px;
    overflow: hidden;
    position: relative;box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06);
}
.search-input {
    padding: 8px 35px 8px 15px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    width: 100%;
}
.search-button {
    position: absolute;
    right:15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
}
.controls {
    display: flex;
    align-items: center;
    gap: 10px;
}
.width-toggle {
    background: var(--bg-secondary);
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: .9rem;
}
.theme-toggle {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 5px;
}
.header-menu {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
    padding: 10px 0;
}
.menu-left, .menu-right {
    display: flex;
    gap: 25px;
}
.menu-item {
    color: var(--text-primary);
    text-decoration: none;
    font-size: .95rem;
    padding: 5px 0;
}
.menu-item:hover {
    color: var(--accent-color);
}
.container {
    display: flex;
    max-width: var(--container-width);
    margin: 0 auto;
    background-color: var(--bg-primary);
    box-shadow: 0 1px 2px #00000021;
}
.full-width .container {
    max-width: 100%;
}
.sidebar {
    width: var(--sidebar-width);
    padding: 10px;
    border-right: 1px solid var(--border-color);
    position: sticky;
    top: 110px;
    height: calc(100vh - 110px);
    overflow-y: auto;
    transition: transform .3s ease;
}
.sidebar-category a {
    padding: 5px 14px;
    color: var(--text-primary);
    cursor: pointer;
    font-size: .85rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.sidebar-category a:hover {
    background: rgba(255,87,34,0.1);
    border-radius: 4px;
}
.sidebar-category.active {
    background: var(--accent-color);
    color: #fff !important;
    border-radius: 4px;
}
.toggle-button {
    background: var(--accent-color);
    border: none;
    border-radius: 5px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.13);
    color: #FFF;
    cursor: pointer;
    display: block;
    font-size: 14px;
    margin-top: 10px;
    padding: 5px;
    text-align: center;
    width: 100%;
}
.toggle-button:hover {
    opacity: .8;
}
.main-content {
    flex: 1;
    padding: 15px;
}
.video-section {
    margin-bottom: 1rem;
}
.section-title {
    font-size: 1.35rem !important;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--accent-color);
}
.section-desc {
    font-size: .85rem !important;
    padding-bottom: 8px;
}
.section-info {
    font-size: .75rem;
}
.category-name {
    padding: 10px;
    margin: 0;
    font-size: 1rem;
    color: var(--text-primary);
}
.category-desc {
    padding: 0 10px 10px;
    margin: 0;
    font-size: .8rem;
    color: var(--text-secondary);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.video-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 1200px) {
    .video-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
@media (max-width: 992px) {
    .video-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 576px) {
    .video-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}
.video-card {
    overflow: hidden;
    padding: 8px;
}
.video-card:nth-child(5n) {
    border-right: 0 !important;
}
.thumbnail {
    position: relative;
    padding-top: 58.25%;
    background: #252B30;
    overflow: hidden;
}
.thumbnail img, .thumbnail video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 3px;
}
.thumbnail video {
    opacity: 0;
    transition: opacity .3s;
}
.thumbnail:hover video {
    opacity: 1;
}
.video-preview {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity .3s;
}
.thumbnail:hover .video-preview {
    opacity: 1;
}
.thumbnail:hover img {
    opacity: 0;
}
.duration {
    opacity: 1;
    position: absolute;
    bottom: 6px;
    right: 6px;
    background-color: rgba(0,0,0,0.7);
    color: white;
    padding: 2px 6px;
    border-radius: 2px;
    font-size: .75rem;
}
.duration:hover {
    opacity: 0;
}
.ribbon-4 {
	position: absolute;
	right:10px;
	top: -3px;
	filter: drop-shadow(2px 3px 2px rgba(0, 0, 0, 0.5));
}
.ribbon-4 span {
	display: block;
	color: #fff;
	font-size: 11px;
	text-align: center;
	background:#F8AB2E;
	width:25px;
	line-height:29px;
	clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
}
.video-info {
    padding: 5px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.video-title {
    font-size: .95rem;
    margin-top: 6px;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.created_at {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.video-meta {
    display: flex;
    justify-content: space-between;
    color: var(--text-secondary);
    font-size: .8rem;
}
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 98;
    display: none;
}
.separator {
    margin: 10px 0;
    border-top: 1px solid var(--border-color);
}
@media (max-width: 992px) {
    .menu-toggle {
        display: block;
    }
    .sidebar {
        position: fixed;
        top: 110px;
        left: 0;
        z-index: 99;
        transform: translateX(-100%);
    }
    .sidebar.active {
        transform: translateX(0);
    }
    .sidebar-overlay.active {
        display: block;
    }
    .main-content {
        margin-left: 0;
    }
}
@media (max-width: 768px) {
    .header-top {
        flex-wrap: wrap;
    }
    .menu-toggle {
        order: 1;
    }
    .logo {
        order: 2;
        flex: 1;
    }
    .search-container {
        order: 4;
        flex: 1 0 100%;
        margin: 15px 0 0;
    }
    .controls {
        order: 3;
    }
    .header-menu {
        flex-direction: column;
        gap: 10px;
    }
    .menu-left, .menu-right {
        justify-content: space-around;
    }
}
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap:15px;
    margin-top:15px;
}
.category-card {
    background: var(--card-bg);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform .3s ease;
}
.category-card:hover {
    transform: translateY(-1px);
}
.category-thumbnail {
    position: relative;
    padding-top: 57.25%;
    background-color: #282F34;
}
.category-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.placeholder-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #282F34;
    color: var(--accent-color);
    font-size: 2rem;
}
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 30px;
    flex-wrap: wrap;
}
.pagination .btn {
    padding: 5px 10px;
    border-radius: 4px;
    text-decoration: none;
}
.pagination .btn.primary {
    background-color: var(--accent-color);
    color: white;
}
.pagination .btn.default {
    background-color: var(--bg-secondary);
    color: var(--text-primary);
}
.pagination .btn.black {
    background-color: var(--text-primary);
    color: white;
}
.pagination-info {
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: .9rem;
}
.footer {
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    padding: 20px;
    max-width: var(--container-width);
    margin: 0 auto;
    border-top: 1px solid var(--border-color);
}
.footer-container {
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}
.footer-section {
    flex: 1;
    min-width: 250px;
    margin: 10px;
}
.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}
.footer-section p {
    margin-bottom: 5px;
}
.social-link {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin: 0 5px;
    text-decoration: none;
}
.footer-bottom {
    margin-top: 20px;
    border-top: 1px solid var(--border-color);
    padding-top: 10px;
    text-align: center;
}
.category-list .hidden {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .3s ease, opacity .3s ease;
}
.category-list .hidden.visible {
    max-height: 100px;
    opacity: 1;
}
.btn {
    border: none;
    cursor: pointer;
    font-size: 16px;
    padding: 10px 20px;
    margin: 5px 0;
    transition: all .3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1), 0 1px 3px rgba(0,0,0,0.06);
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    user-select: none;
    border-radius: 4px;
}
.btn-light {
    background: #ffffff;
    color: #333333;
}
.btn-light:hover {
    background: #252B30;
    color: var(--accent-color);
    transform: translateY(-1px);
}
.btn-light:active {
    background: #e0e0e0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
}
.btn-dark {
    background: #282F34;
    color: #ffffff;
}
.btn-dark:hover {
    background: #2C3439;
    color: var(--accent-color);
}
.btn-dark:active {
    background: #555555;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
}
.btn-small {
    font-size: 14px;
    padding: 8px 16px;
}
.btn-large {
    font-size: 18px;
    padding: 12px 24px;
}
.btn-xlarge {
    font-size: 20px;
    padding: 15px 30px;
}
.btn-group {
    display: flex;
    flex-wrap: wrap;
    margin: 10px 0;
}
.btn-group .btn {
    margin-right: 0;
    border-radius: 0;
}
.btn-group .btn:first-child {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}
.btn-group .btn:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    margin-right: 4px;
}
.input-field {
    display: block;
    width: 100%;
    margin-bottom: 20px;
    padding: 10px 15px;
    font-size: 16px;
    border: 2px solid #ccc;
    border-radius: 4px;
    transition: all .3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.input-field:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0,123,255,0.2);
}
.input-field-small {
    font-size: 14px;
    padding: 8px 12px;
}
.input-field-large {
    font-size: 18px;
    padding: 12px 18px;
}
.light .input-field {
    background: #ffffff;
    color: #333333;
    border-color: #ddd;
}
.light .input-field:focus {
    border-color: #007bff;
}
.dark .input-field {
    background: #333333;
    color: #ffffff;
    border-color: #444444;
}
.dark .input-field:focus {
    border-color: #007bff;
}
.theme-container {
    width: 100%;
    max-width: 500px;
    margin-bottom: 40px;
    padding: 20px;
    border-radius: 12px;
}
.btn.single {
    border-radius: 4px;
}
.user-info {
    padding: 10px;
    display: grid;
    grid-template-columns: 150px 1fr;
    grid-template-rows: auto;
    gap: 20px;
    align-items: start;
    max-width: 100%;
    margin: 0 auto;
}
.avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eee;
}
.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.default-avatar i {
    font-size: 60px;
    color: #777;
}
.details {
    margin-top: 0;
}
.details p {
    margin: 5px 0;
}
@media (max-width: 768px) {
    .user-info {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
    }
    .avatar {
        justify-self: center;
    }
    .details {
        text-align: center;
    }
}
.avatar-mini img, .avatar img {
    height: 150px;
    width: 150px;
    border: 3px solid #2E343A;
    border-radius: 50% !important;
    background-color: var(--header-bg);
    box-shadow: 0 1px 2px #00000021;
    object-fit: cover;
}
.avatar-mini img {
    height: 40px;
    width: 40px;
    border: 2px solid #2E343A;
    border-radius: 50% !important;
}
select, textarea, input[type="text"], input[type="password"], input[type="file"], input[type="date"], input[type="number"], input[type="email"], input[type="url"] {
    display: inline-block;
    width: 100%;
    vertical-align: middle;
    border-radius: 4px;
    -webkit-transition: border .2s linear 0s;
    transition: border .2s linear 0s;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
table {
    border-spacing: 0;
    width: 100% !important;
    border-collapse: collapse;
}
td, th {
    padding: 8px;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}
.video-card {
    position: relative;
}
.video-card .admin-actions-overlay {
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    opacity: 0;
    transition: opacity .3s ease;
    z-index: 10;
}
.video-card:hover .admin-actions-overlay {
    opacity: 1;
}
.admin-actions-overlay a {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .2s ease;
}
.admin-actions-overlay a:hover {
    transform: scale(1.1);
}
.admin-actions-overlay a.edit-btn {
    background: rgba(0,123,255,0.8);
}
.admin-actions-overlay a.delete-btn {
    background: rgba(220,53,69,0.8);
}
.admin-actions-overlay svg {
    width: 11px;
    height: 11px;
    fill: white;
}
.fa-eye {
    margin-right: 3px;
    color: var(--text-secondary);
    font-size: .8em;
}
.btn i {
    margin:0 5px;
}
.sidebar-category i {
    text-align: center;
}
.admin-actions-overlay a i {
    font-size: 10px;
}
.header .fa {
    font-size: .8rem;
}
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
    width: 100%;
}
.post-card {
    background: var(--card-bg);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform .3s ease;
    padding: 15px;
}
.post-card:hover {
    transform: translateY(-3px);
}
.post-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-primary);
}
.post-excerpt {
    font-size: .9rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}
.post-meta {
    font-size: .8rem;
    color: var(--text-secondary);
}
.post-full {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: var(--card-bg);
    border-radius: 5px;
    box-shadow: var(--card-shadow);
}
.post-content {
    margin-top: 20px;
    line-height: 1.6;
}
.thumbnail{position:relative;padding-top:58.25%;background-color:#2A2F35;border-radius:4px;overflow:hidden}
.thumbnail img,.thumbnail video{position:absolute;top:0;left:0;width:100%;height:100%;object-fit:cover;transition:opacity .3s ease}
.thumbnail.preview-play img{opacity:0}
.video-loading-placeholder{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,0.1);display:flex;align-items:center;justify-content:center;z-index:2}
.video-loading-placeholder:after{content:"";width:30px;height:30px;border:3px solid rgba(255,255,255,0.3);border-radius:50%;border-top-color:var(--accent-color);animation:spin 1s ease-in-out infinite}
@keyframes spin {
to{transform:rotate(360deg)}
}
.thumbnail.preview-play img{opacity:0;transition:opacity .3s ease}
/* Новые стили для textarea и input */
textarea, input[type="text"], input[type="search"], input[type="password"], input[type="file"], input[type="date"], input[type="number"], input[type="email"], input[type="url"] {
    display: inline-block;
    width: 100%;
    vertical-align: middle;
    border-radius: 4px;
    transition: border .2s linear 0s, background-color .2s linear 0s, color .2s linear 0s;
    box-sizing: border-box;
    padding:8px 15px;
    margin-bottom: 10px;
    margin-top:5px;
    font-size: 14px;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    background-color: var(--bg-form);
    background-clip: padding-box; /* Для поддержки автозаполнения */
}

input[type="search"]{margin-top:0!important;margin-bottom:0!important;}
/* Стили для автозаполнения */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s, color 5000s ease-in-out 0s;
    -webkit-background-clip: text;
    -webkit-text-fill-color: var(--text-primary);
    background-color: var(--bg-form);
}

textarea:-webkit-autofill,
textarea:-webkit-autofill:hover, 
textarea:-webkit-autofill:focus, 
textarea:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s, color 5000s ease-in-out 0s;
    -webkit-background-clip: text;
    -webkit-text-fill-color: var(--text-primary);
    background-color: var(--bg-form);
}

/* Стили для фокуса */
textarea:focus, input[type="text"]:focus, input[type="search"]:focus, input[type="password"]:focus, input[type="file"]:focus, input[type="date"]:focus, input[type="number"]:focus, input[type="email"]:focus, input[type="url"]:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 8px rgba(255,87,34,0.2);
}
label {
    cursor: default;margin-top:10px;margin-bottom:5px;
}
/* Темные стили для фокуса */
.dark-mode textarea:focus, .dark-mode input[type="text"]:focus, .dark-mode input[type="password"]:focus, .dark-mode input[type="file"]:focus, .dark-mode input[type="date"]:focus, .dark-mode input[type="number"]:focus, .dark-mode input[type="email"]:focus, .dark-mode input[type="url"]:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 8px rgba(255,165,0,0.2);
}

.pagination-container { margin: 20px 0; text-align: center; }
.pagination-info { margin-bottom: 8px; }
.pagination .btn, .pagination .btn-primary {
    display: inline-block; margin-right: 4px; padding: 6px 12px;
    border-radius: 4px; text-decoration: none;
    border: 1px solid #ccc; color: #333;
}
.pagination .btn-primary, .pagination .btn:hover {
    background-color: #ff5722; color: white; border-color: #ff5722;
}
.pagination .btn.current {
    pointer-events: none; background-color: #ff7043;
    color: white; border-color: #ff5722;
}
.pagination .dots {
    display: inline-block; padding: 6px 12px; color: #999;
}
.notification {
    position: fixed;
    top: 20px;          /* Оставляем верхнее положение */
    right: 20px;         /* Оставляем правое положение */
    padding: 15px 20px;
    border-radius: 4px;
    color: white;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    animation: slideIn 0.3s ease-out;
}

.notification.success {
    background-color: #4CAF50;
}

.notification.error {
    background-color: #F44336;
}

.notification.fade-out {
    animation: fadeOut 0.5s ease-out;
    opacity: 0;
}

@keyframes slideIn {
    from { transform: translateY(-100px); opacity: 0; }  /* Изменяем на translateY(-100px) для появления сверху вниз */
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}
