* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: radial-gradient(circle at top, #1f2937 0%, #020617 55%, #000000 100%);
    min-height: 100vh;
    color: #e5e7eb;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.35);
    padding: 20px 0;
    margin-bottom: 30px;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #9ca3af;
    transition: all 0.3s ease;
    text-decoration: none;
    background: rgba(59, 130, 246, 0.1);
}

.social-icon:hover {
    transform: translateY(-2px);
    color: #ffffff;
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

.social-vk:hover {
    background: #0077ff;
    box-shadow: 0 4px 12px rgba(0, 119, 255, 0.4);
}

.social-youtube:hover {
    background: #ff0000;
    box-shadow: 0 4px 12px rgba(255, 0, 0, 0.4);
}

.social-telegram:hover {
    background: #0088cc;
    box-shadow: 0 4px 12px rgba(0, 136, 204, 0.4);
}

.social-tiktok:hover {
    background: #000000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.social-ok:hover {
    background: #ee8208;
    box-shadow: 0 4px 12px rgba(238, 130, 8, 0.4);
}

.social-whatsapp:hover {
    background: #25d366;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

header h1 {
    color: #e5e7eb;
    font-size: 28px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.site-logo img {
    height: 40px;
    width: auto;
    display: block;
}

.category-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 1600px) {
    .category-cards {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1200px) {
    .category-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .category-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .category-cards {
        grid-template-columns: 1fr;
    }
}

.category-card {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(55,65,81,0.85) 0%, rgba(15,23,42,0.95) 100%);
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.3);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 35px rgba(56, 189, 248, 0.55);
}

.category-card-inner {
    text-align: center;
    padding: 10px 20px;
}

.category-card-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.category-card-subtitle {
    font-size: 13px;
    opacity: 0.9;
}

.ad-block {
    background: rgba(15, 23, 42, 0.95);
    border-radius: 10px;
    box-shadow: 0 0 18px rgba(59, 130, 246, 0.3);
    padding: 15px;
    margin: 15px 0;
    font-size: 14px;
    color: #e5e7eb;
}

.ad-header {
    margin-bottom: 20px;
}

.ad-footer {
    margin-top: 20px;
    margin-bottom: 10px;
}

.main-with-sidebar {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.main-content {
    flex: 1;
}

.sidebar {
    width: 280px;
    max-width: 100%;
}

body.theme-malosolka .main-with-sidebar {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 20px;
}

nav {
    display: flex;
    gap: 20px;
}

nav a {
    color: #9ca3af;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #60a5fa;
}

main {
    padding: 20px 0 60px;
}

.filters-section {
    margin-bottom: 30px;
}

.categories-filter {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.category-btn {
    padding: 10px 20px;
    background: #ecf0f1;
    color: #555;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.category-btn:hover {
    background: #bdc3c7;
    color: #2c3e50;
}

.category-btn.active {
    background: #3498db;
    color: white;
    border-color: #2980b9;
}

.category-btn.back-btn {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.2) 0%, rgba(234, 179, 8, 0.1) 100%);
    color: #fbbf24;
    border: 2px solid rgba(234, 179, 8, 0.5);
    box-shadow: 0 0 15px rgba(234, 179, 8, 0.3);
}

.category-btn.back-btn:hover {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.3) 0%, rgba(234, 179, 8, 0.2) 100%);
    color: #fbbf24;
    box-shadow: 0 0 25px rgba(234, 179, 8, 0.5);
    transform: translateX(-2px);
}

.search-box {
    background: rgba(15, 23, 42, 0.95);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.search-box form {
    display: flex;
    gap: 10px;
}

.search-box input {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
}

.search-box input:focus {
    outline: none;
    border-color: #3498db;
}

.search-box button {
    padding: 12px 30px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.search-box button:hover {
    background: #2980b9;
}

.movies-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

@media (max-width: 1600px) {
    .movies-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1200px) {
    .movies-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .movies-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .movies-grid {
        grid-template-columns: 1fr;
    }
}

.movie-card {
    background: rgba(15, 23, 42, 0.9);
    border-radius: 12px;
    border: 2px solid #fbbf24;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(251, 191, 36, 0.25);
    transition: transform 0.3s, box-shadow 0.3s;
    width: 300px;
}

.movie-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 28px rgba(251, 191, 36, 0.5);
}

.movie-poster {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.movie-poster-placeholder {
    width: 100%;
    height: 240px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: 500;
}

.movie-poster-placeholder.large {
    height: 500px;
    font-size: 24px;
}

.movie-info {
    padding: 12px;
}

.movie-info h2 {
    color: #e5e7eb;
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.3;
}

.movie-category {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 6px;
}

.movie-year {
    color: #9ca3af;
    font-size: 12px;
    margin-bottom: 4px;
}

.movie-rating {
    color: #fbbf24;
    font-weight: 600;
    margin: 6px 0;
    font-size: 13px;
}

.btn-view {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #1d4ed8, #38bdf8);
    color: white;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 600;
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.7);
    transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
}

.btn-view:hover {
    background: linear-gradient(135deg, #38bdf8, #1d4ed8);
    box-shadow: 0 0 26px rgba(56, 189, 248, 0.9);
    transform: translateY(-1px);
}

.no-movies {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 10px;
    color: #7f8c8d;
}

.movie-detail {
    background: rgba(15, 23, 42, 0.96);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
}

.movie-detail-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.movie-detail-info {
    padding: 30px;
}

.movie-detail-info h1 {
    color: #e5e7eb;
    margin-bottom: 20px;
    font-size: 32px;
}

.movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid #eee;
}

.meta-item {
    color: #e5e7eb;
    font-size: 14px;
}

.category-badge {
    background: #3498db;
    color: white;
    padding: 6px 15px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 13px;
}

.movie-description {
    margin-bottom: 30px;
}

.movie-description h2 {
    color: #e5e7eb;
    margin-bottom: 15px;
    font-size: 20px;
}

.movie-description p {
    color: #d1d5db;
    line-height: 1.6;
}

.movie-video {
    margin-bottom: 30px;
}

.movie-video h2 {
    color: #e5e7eb;
    margin-bottom: 15px;
    font-size: 20px;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Для произвольного HTML */
.video-container.html-content {
    padding-bottom: 0;
    height: auto;
    min-height: 400px;
}

.video-container.html-content > * {
    max-width: 100%;
    height: auto;
}

.movie-actions {
    margin-top: 30px;
}

.movie-reactions {
    margin-top: 10px;
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.movie-reactions form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.reaction-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: rgba(15, 23, 42, 0.8);
    color: #e5e7eb;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s, transform 0.1s, border-color 0.2s;
}

.reaction-btn span {
    font-weight: 600;
}

.reaction-btn:hover {
    background: rgba(30, 64, 175, 0.9);
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.6);
    border-color: rgba(129, 140, 248, 0.9);
    transform: translateY(-1px);
}

.reaction-btn.active {
    background: linear-gradient(135deg, #22c55e, #4ade80);
    color: #022c22;
    border-color: transparent;
    box-shadow: 0 0 16px rgba(34, 197, 94, 0.8);
}

.reaction-btn.watch-later {
    border-color: rgba(250, 204, 21, 0.7);
}

.reaction-btn.watch-later.active {
    background: linear-gradient(135deg, #facc15, #f97316);
    color: #451a03;
    box-shadow: 0 0 16px rgba(250, 204, 21, 0.9);
}

.btn-back {
    display: inline-block;
    padding: 12px 25px;
    background: #95a5a6;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-back:hover {
    background: #7f8c8d;
}

/* Стили для комментариев */
.comments-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #e2e8f0;
}

.comments-section h2 {
    color: #e5e7eb;
    font-size: 24px;
    margin-bottom: 25px;
    font-weight: 700;
}

.comment-message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.comment-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.comment-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.comment-form {
    background: rgba(15, 23, 42, 0.9);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 2px solid rgba(59, 130, 246, 0.3);
}

.comment-form .form-group {
    margin-bottom: 20px;
}

.comment-form label {
    display: block;
    margin-bottom: 8px;
    color: #e5e7eb;
    font-weight: 500;
    font-size: 14px;
}

.comment-form input[type="text"],
.comment-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #3a3a3a;
    border-radius: 8px;
    font-size: 15px;
    background: rgba(2, 44, 34, 0.8);
    color: #e5e7eb;
    font-family: inherit;
    box-sizing: border-box;
}

.comment-form input[type="text"]:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

.comment-form textarea {
    resize: vertical;
    min-height: 100px;
}

.comment-form small {
    display: block;
    margin-top: 5px;
    color: #9ca3af;
    font-size: 12px;
}

.btn-submit-comment {
    padding: 12px 28px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-submit-comment:hover {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
    transform: translateY(-2px);
}

.comments-list {
    margin-top: 30px;
}

.no-comments {
    text-align: center;
    color: #9ca3af;
    padding: 40px 20px;
    font-style: italic;
}

.comment-item {
    background: rgba(15, 23, 42, 0.7);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid #3b82f6;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.comment-author {
    color: #3b82f6;
    font-size: 16px;
    font-weight: 700;
}

.comment-date {
    color: #9ca3af;
    font-size: 13px;
}

.comment-text {
    color: #e5e7eb;
    line-height: 1.6;
    font-size: 15px;
}

footer {
    background: rgba(15, 23, 42, 0.95);
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
    color: #9ca3af;
}

.footer-text {
    margin-bottom: 10px;
    font-size: 13px;
    color: #9ca3af;
}

.footer-about {
    margin-bottom: 8px;
}

.footer-rights {
    font-size: 12px;
}

@media (max-width: 768px) {
    .movie-detail {
        grid-template-columns: 1fr;
    }
    
    .movie-detail-poster {
        height: 400px;
    }
    
    header .container {
        flex-direction: column;
        gap: 15px;
    }

    .movies-grid {
        grid-template-columns: 1fr;
    }

    .main-with-sidebar {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }
}

/* ============================================
   ЗЕЛЕНАЯ АНИМИРОВАННАЯ ТЕМА
   ============================================ */

body.theme-green {
    background: radial-gradient(circle at top, #064e3b 0%, #022c22 50%, #000000 100%);
    color: #d1fae5;
}

body.theme-green header {
    background: rgba(6, 78, 59, 0.95);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.4);
    animation: headerGlow 3s ease-in-out infinite;
}

@keyframes headerGlow {
    0%, 100% { box-shadow: 0 0 30px rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 0 45px rgba(16, 185, 129, 0.7); }
}

body.theme-green header h1 {
    color: #10b981;
    text-shadow: 0 0 15px rgba(16, 185, 129, 0.6);
    animation: logoPulse 2s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

body.theme-green nav a {
    color: #6ee7b7;
    transition: all 0.3s;
}

body.theme-green nav a:hover {
    color: #10b981;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.8);
    transform: translateY(-2px);
}

body.theme-green .ad-block {
    background: rgba(6, 78, 59, 0.9);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
    border: 2px solid rgba(16, 185, 129, 0.3);
    animation: adBlockPulse 4s ease-in-out infinite;
}

@keyframes adBlockPulse {
    0%, 100% { border-color: rgba(16, 185, 129, 0.3); }
    50% { border-color: rgba(16, 185, 129, 0.6); }
}

body.theme-green .category-cards {
    gap: 25px;
}

body.theme-green .category-card {
    width: 100%;
    height: 200px;
    border-radius: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(5, 150, 105, 0.3) 100%);
    border: 3px solid #10b981;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.5), inset 0 0 20px rgba(16, 185, 129, 0.1);
    animation: cardFloat 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

body.theme-green .category-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(16, 185, 129, 0.3), transparent);
    animation: cardShine 3s linear infinite;
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(1deg); }
}

@keyframes cardShine {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

body.theme-green .category-card:hover {
    transform: translateY(-10px) scale(1.05) rotate(2deg);
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.8), inset 0 0 30px rgba(16, 185, 129, 0.2);
    border-color: #34d399;
    animation: cardHover 0.5s ease-out;
}

@keyframes cardHover {
    0% { transform: translateY(0) scale(1) rotate(0deg); }
    100% { transform: translateY(-10px) scale(1.05) rotate(2deg); }
}

body.theme-green .category-card-inner {
    position: relative;
    z-index: 1;
}

body.theme-green .category-card-title {
    color: #10b981;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.8);
    font-size: 22px;
    animation: titleGlow 2s ease-in-out infinite;
}

@keyframes titleGlow {
    0%, 100% { text-shadow: 0 0 10px rgba(16, 185, 129, 0.8); }
    50% { text-shadow: 0 0 20px rgba(16, 185, 129, 1); }
}

body.theme-green .category-card-subtitle {
    color: #6ee7b7;
    font-weight: 600;
}

body.theme-green .categories-filter {
    background: rgba(6, 78, 59, 0.9);
    border: 2px solid rgba(16, 185, 129, 0.4);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

body.theme-green .category-btn {
    padding: 12px 24px;
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    text-decoration: none;
    border-radius: 0;
    font-weight: 600;
    border: 3px solid #10b981;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    min-width: 120px;
    text-align: center;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
    animation: buttonPulse 2s ease-in-out infinite;
}

@keyframes buttonPulse {
    0%, 100% { box-shadow: 0 0 15px rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 0 25px rgba(16, 185, 129, 0.7); }
}

body.theme-green .category-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

body.theme-green .category-btn:hover::before {
    width: 300px;
    height: 300px;
}

body.theme-green .category-btn:hover {
    background: rgba(16, 185, 129, 0.4);
    color: #ffffff;
    border-color: #34d399;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.8);
    transform: scale(1.1) rotate(2deg);
    animation: buttonHover 0.3s ease-out;
}

@keyframes buttonHover {
    0% { transform: scale(1) rotate(0deg); }
    100% { transform: scale(1.1) rotate(2deg); }
}

body.theme-green .category-btn span {
    position: relative;
    z-index: 1;
}

body.theme-green .category-btn.active {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: #022c22;
    border-color: #6ee7b7;
    box-shadow: 0 0 35px rgba(16, 185, 129, 1);
    animation: activeButton 1.5s ease-in-out infinite;
}

@keyframes activeButton {
    0%, 100% { transform: scale(1); box-shadow: 0 0 35px rgba(16, 185, 129, 1); }
    50% { transform: scale(1.05); box-shadow: 0 0 45px rgba(16, 185, 129, 1.2); }
}

body.theme-green .category-btn.back-btn {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.3) 0%, rgba(5, 150, 105, 0.2) 100%);
    color: #10b981;
    border-color: #10b981;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

body.theme-green .category-btn.back-btn:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.5) 0%, rgba(5, 150, 105, 0.4) 100%);
    color: #ffffff;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.8);
    transform: translateX(-5px) scale(1.05);
}

body.theme-green .search-box {
    background: rgba(6, 78, 59, 0.9);
    border: 2px solid rgba(16, 185, 129, 0.4);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

body.theme-green .search-box input {
    background: rgba(2, 44, 34, 0.8);
    border: 2px solid #10b981;
    color: #d1fae5;
    border-radius: 0;
}

body.theme-green .search-box input:focus {
    border-color: #34d399;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
    outline: none;
}

body.theme-green .search-box button {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: #022c22;
    border: 2px solid #6ee7b7;
    border-radius: 0;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.6);
    transition: all 0.3s;
}

body.theme-green .search-box button:hover {
    background: linear-gradient(135deg, #34d399, #10b981);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.9);
    transform: scale(1.05);
}

body.theme-green .movie-card {
    background: rgba(6, 78, 59, 0.9);
    border-radius: 0;
    border: 3px solid #10b981;
    overflow: hidden;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.5), inset 0 0 20px rgba(16, 185, 129, 0.1);
    width: 300px;
    animation: movieCardFloat 4s ease-in-out infinite;
    position: relative;
}

@keyframes movieCardFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(1deg); }
}

body.theme-green .movie-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(16, 185, 129, 0.2), transparent);
    animation: movieCardShine 4s linear infinite;
    z-index: 0;
}

@keyframes movieCardShine {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

body.theme-green .movie-card:hover {
    transform: translateY(-8px) scale(1.03) rotate(2deg);
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.8), inset 0 0 30px rgba(16, 185, 129, 0.2);
    border-color: #34d399;
    animation: movieCardHover 0.5s ease-out;
}

@keyframes movieCardHover {
    0% { transform: translateY(0) scale(1) rotate(0deg); }
    100% { transform: translateY(-8px) scale(1.03) rotate(2deg); }
}

body.theme-green .movie-poster {
    position: relative;
    z-index: 1;
    filter: brightness(0.9) contrast(1.1);
    transition: filter 0.3s;
}

body.theme-green .movie-card:hover .movie-poster {
    filter: brightness(1) contrast(1.2);
}

body.theme-green .movie-info {
    position: relative;
    z-index: 1;
    background: rgba(2, 44, 34, 0.7);
    padding: 12px;
}

body.theme-green .movie-info h2 {
    font-size: 16px;
    margin-bottom: 8px;
}

body.theme-green .movie-info h2 {
    color: #10b981;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
}

body.theme-green .movie-category {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: #022c22;
    border-radius: 0;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

body.theme-green .movie-year {
    color: #6ee7b7;
    font-size: 12px;
    margin-bottom: 4px;
}

body.theme-green .movie-rating {
    color: #fbbf24;
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.6);
}

body.theme-green .btn-view {
    background: linear-gradient(135deg, #10b981, #34d399);
    color: #022c22;
    border-radius: 0;
    border: 2px solid #6ee7b7;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.6);
    font-weight: 700;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

body.theme-green .btn-view::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

body.theme-green .btn-view:hover::before {
    width: 300px;
    height: 300px;
}

body.theme-green .btn-view:hover {
    background: linear-gradient(135deg, #34d399, #10b981);
    box-shadow: 0 0 35px rgba(16, 185, 129, 0.9);
    transform: scale(1.1) rotate(2deg);
    border-color: #10b981;
}

body.theme-green footer {
    background: rgba(6, 78, 59, 0.95);
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.3);
    border-top: 2px solid rgba(16, 185, 129, 0.4);
}

body.theme-green .footer-text {
    color: #6ee7b7;
}

body.theme-green .no-movies {
    background: rgba(6, 78, 59, 0.9);
    border: 2px solid rgba(16, 185, 129, 0.4);
    color: #6ee7b7;
    border-radius: 0;
}

/* Анимация появления карточек */
body.theme-green .movie-card,
body.theme-green .category-card {
    animation: cardAppear 0.6s ease-out;
}

@keyframes cardAppear {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Задержка анимации для каждой карточки */
body.theme-green .movie-card:nth-child(1) { animation-delay: 0.1s; }
body.theme-green .movie-card:nth-child(2) { animation-delay: 0.2s; }
body.theme-green .movie-card:nth-child(3) { animation-delay: 0.3s; }
body.theme-green .movie-card:nth-child(4) { animation-delay: 0.4s; }
body.theme-green .movie-card:nth-child(5) { animation-delay: 0.5s; }
body.theme-green .movie-card:nth-child(6) { animation-delay: 0.6s; }

body.theme-green .category-card:nth-child(1) { animation-delay: 0.1s; }
body.theme-green .category-card:nth-child(2) { animation-delay: 0.2s; }
body.theme-green .category-card:nth-child(3) { animation-delay: 0.3s; }
body.theme-green .category-card:nth-child(4) { animation-delay: 0.4s; }

/* ============================================
   ЗОЛОТАЯ АНИМИРОВАННАЯ ТЕМА (ТЕМНО-КРАСНЫЙ ФОН)
   ============================================ */

body.theme-gold {
    background: radial-gradient(circle at top, #8b0000 0%, #5c0000 50%, #3d0000 100%);
    color: #f4d03f;
}

body.theme-gold header {
    background: rgba(139, 0, 0, 0.95);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
    animation: headerGlowGoldRed 3s ease-in-out infinite;
}

@keyframes headerGlowGoldRed {
    0%, 100% { box-shadow: 0 0 30px rgba(212, 175, 55, 0.4), 0 0 15px rgba(220, 20, 60, 0.5); }
    50% { box-shadow: 0 0 45px rgba(212, 175, 55, 0.7), 0 0 25px rgba(220, 20, 60, 0.8); }
}

body.theme-gold header h1 {
    color: #d4af37;
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
    animation: logoPulseGold 2s ease-in-out infinite;
}

@keyframes logoPulseGold {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

body.theme-gold nav a {
    color: #f4d03f;
    transition: all 0.3s;
}

body.theme-gold nav a:hover {
    color: #d4af37;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
    transform: translateY(-2px);
}

body.theme-gold .ad-block {
    background: rgba(139, 0, 0, 0.9);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3), 0 0 10px rgba(220, 20, 60, 0.4);
    border: 2px solid rgba(212, 175, 55, 0.3);
    animation: adBlockPulseGoldRed 4s ease-in-out infinite;
}

@keyframes adBlockPulseGoldRed {
    0%, 100% { border-color: rgba(212, 175, 55, 0.3); box-shadow: 0 0 20px rgba(212, 175, 55, 0.3), 0 0 10px rgba(220, 20, 60, 0.4); }
    50% { border-color: rgba(212, 175, 55, 0.6); box-shadow: 0 0 30px rgba(212, 175, 55, 0.5), 0 0 20px rgba(220, 20, 60, 0.6); }
}

body.theme-gold .category-cards {
    gap: 20px;
}

body.theme-gold .category-card {
    width: 100%;
    height: 140px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(184, 134, 11, 0.3) 100%);
    border: 3px solid #d4af37;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.5), inset 0 0 20px rgba(212, 175, 55, 0.1);
    animation: cardFloatGold 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

body.theme-gold .category-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.3), transparent);
    animation: cardShineGold 3s linear infinite;
}

@keyframes cardFloatGold {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(1deg); }
}

@keyframes cardShineGold {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

body.theme-gold .category-card:hover {
    transform: translateY(-10px) scale(1.05) rotate(2deg);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.8), inset 0 0 30px rgba(212, 175, 55, 0.2);
    border-color: #f4d03f;
    animation: cardHoverGold 0.5s ease-out;
}

@keyframes cardHoverGold {
    0% { transform: translateY(0) scale(1) rotate(0deg); }
    100% { transform: translateY(-10px) scale(1.05) rotate(2deg); }
}

body.theme-gold .category-card-inner {
    position: relative;
    z-index: 1;
    padding: 8px 15px;
}

body.theme-gold .category-card-title {
    color: #d4af37;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
    font-size: 18px;
    margin-bottom: 4px;
    animation: titleGlowGoldRed 2s ease-in-out infinite;
}

@keyframes titleGlowGoldRed {
    0%, 100% { text-shadow: 0 0 10px rgba(212, 175, 55, 0.8), 0 0 5px rgba(220, 20, 60, 0.6); }
    50% { text-shadow: 0 0 20px rgba(212, 175, 55, 1), 0 0 15px rgba(220, 20, 60, 0.9); }
}

body.theme-gold .category-card-subtitle {
    color: #f4d03f;
    font-weight: 600;
    font-size: 12px;
}

body.theme-gold .categories-filter {
    background: rgba(139, 0, 0, 0.9);
    border: 2px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

body.theme-gold .category-btn {
    padding: 10px 20px;
    background: rgba(212, 175, 55, 0.2);
    color: #d4af37;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    border: 3px solid #d4af37;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    min-width: 100px;
    text-align: center;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    animation: buttonPulseGoldRed 2s ease-in-out infinite;
}

@keyframes buttonPulseGoldRed {
    0%, 100% { box-shadow: 0 0 15px rgba(212, 175, 55, 0.4), 0 0 8px rgba(220, 20, 60, 0.5); }
    50% { box-shadow: 0 0 25px rgba(212, 175, 55, 0.7), 0 0 15px rgba(220, 20, 60, 0.8); }
}

body.theme-gold .category-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

body.theme-gold .category-btn:hover::before {
    width: 300px;
    height: 300px;
}

body.theme-gold .category-btn:hover {
    background: rgba(212, 175, 55, 0.4);
    color: #ffffff;
    border-color: #f4d03f;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.8), 0 0 20px rgba(220, 20, 60, 0.6);
    transform: scale(1.1);
    animation: buttonHoverGoldRed 0.3s ease-out;
}

@keyframes buttonHoverGoldRed {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

body.theme-gold .category-btn span {
    position: relative;
    z-index: 1;
}

body.theme-gold .category-btn.active {
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    color: #5c0000;
    border-color: #f4d03f;
    box-shadow: 0 0 35px rgba(212, 175, 55, 1), 0 0 20px rgba(220, 20, 60, 0.7);
    animation: activeButtonGoldRed 1.5s ease-in-out infinite;
}

@keyframes activeButtonGoldRed {
    0%, 100% { transform: scale(1); box-shadow: 0 0 35px rgba(212, 175, 55, 1), 0 0 20px rgba(220, 20, 60, 0.7); }
    50% { transform: scale(1.05); box-shadow: 0 0 45px rgba(212, 175, 55, 1.2), 0 0 30px rgba(220, 20, 60, 0.9); }
}

body.theme-gold .category-btn.back-btn {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.3) 0%, rgba(184, 134, 11, 0.2) 100%);
    color: #d4af37;
    border-color: #d4af37;
    border-radius: 50px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5), 0 0 10px rgba(220, 20, 60, 0.4);
}

body.theme-gold .category-btn.back-btn:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.5) 0%, rgba(184, 134, 11, 0.4) 100%);
    color: #ffffff;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.8), 0 0 20px rgba(220, 20, 60, 0.6);
    transform: translateX(-5px) scale(1.05);
}

body.theme-gold .search-box {
    background: rgba(139, 0, 0, 0.9);
    border: 2px solid rgba(212, 175, 55, 0.4);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

body.theme-gold .search-box input {
    background: rgba(92, 0, 0, 0.8);
    border: 2px solid #d4af37;
    color: #f4d03f;
    border-radius: 0;
}

body.theme-gold .search-box input:focus {
    border-color: #f4d03f;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
    outline: none;
}

body.theme-gold .search-box button {
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    color: #5c0000;
    border: 2px solid #f4d03f;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6), 0 0 10px rgba(220, 20, 60, 0.5);
    transition: all 0.3s;
    animation: buttonPulseGoldRed 2s ease-in-out infinite;
}

body.theme-gold .search-box button:hover {
    background: linear-gradient(135deg, #f4d03f, #d4af37);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.9), 0 0 20px rgba(220, 20, 60, 0.7);
    transform: scale(1.05);
}

body.theme-gold .movie-card {
    background: rgba(139, 0, 0, 0.9);
    border-radius: 0;
    border: 3px solid #d4af37;
    overflow: hidden;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.5), inset 0 0 20px rgba(212, 175, 55, 0.1);
    width: 300px;
    animation: movieCardFloatGold 4s ease-in-out infinite;
    position: relative;
}

@keyframes movieCardFloatGold {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-5px) rotate(1deg); }
}

body.theme-gold .movie-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(212, 175, 55, 0.2), transparent);
    animation: movieCardShineGold 4s linear infinite;
    z-index: 0;
}

@keyframes movieCardShineGold {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

body.theme-gold .movie-card:hover {
    transform: translateY(-8px) scale(1.03) rotate(2deg);
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.8), inset 0 0 30px rgba(212, 175, 55, 0.2);
    border-color: #f4d03f;
    animation: movieCardHoverGold 0.5s ease-out;
}

@keyframes movieCardHoverGold {
    0% { transform: translateY(0) scale(1) rotate(0deg); }
    100% { transform: translateY(-8px) scale(1.03) rotate(2deg); }
}

body.theme-gold .movie-poster {
    position: relative;
    z-index: 1;
    filter: brightness(0.9) contrast(1.1);
    transition: filter 0.3s;
}

body.theme-gold .movie-card:hover .movie-poster {
    filter: brightness(1) contrast(1.2);
}

body.theme-gold .movie-info {
    position: relative;
    z-index: 1;
    background: rgba(92, 0, 0, 0.7);
    padding: 12px;
}

body.theme-gold .movie-info h2 {
    color: #d4af37;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
    font-size: 16px;
    margin-bottom: 8px;
}

body.theme-gold .movie-category {
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    color: #5c0000;
    border-radius: 50px;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5), 0 0 5px rgba(220, 20, 60, 0.4);
}

body.theme-gold .movie-year {
    color: #f4d03f;
    font-size: 12px;
    margin-bottom: 4px;
}

body.theme-gold .movie-rating {
    color: #f4d03f;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

body.theme-gold .btn-view {
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    color: #5c0000;
    border-radius: 50px;
    border: 2px solid #f4d03f;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.6), 0 0 10px rgba(220, 20, 60, 0.5);
    font-weight: 700;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    animation: buttonPulseGoldRed 2s ease-in-out infinite;
}

body.theme-gold .btn-view::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

body.theme-gold .btn-view:hover::before {
    width: 300px;
    height: 300px;
}

body.theme-gold .btn-view:hover {
    background: linear-gradient(135deg, #f4d03f, #d4af37);
    box-shadow: 0 0 35px rgba(212, 175, 55, 0.9), 0 0 25px rgba(220, 20, 60, 0.7);
    transform: scale(1.1);
    border-color: #d4af37;
}

body.theme-gold footer {
    background: rgba(139, 0, 0, 0.95);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.3);
    border-top: 2px solid rgba(212, 175, 55, 0.4);
}

body.theme-gold .footer-text {
    color: #f4d03f;
}

body.theme-gold .no-movies {
    background: rgba(139, 0, 0, 0.9);
    border: 2px solid rgba(212, 175, 55, 0.4);
    color: #f4d03f;
    border-radius: 0;
}

/* Анимация появления карточек */
body.theme-gold .movie-card,
body.theme-gold .category-card {
    animation: cardAppearGold 0.6s ease-out;
}

@keyframes cardAppearGold {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Задержка анимации для каждой карточки */
body.theme-gold .movie-card:nth-child(1) { animation-delay: 0.1s; }
body.theme-gold .movie-card:nth-child(2) { animation-delay: 0.2s; }
body.theme-gold .movie-card:nth-child(3) { animation-delay: 0.3s; }
body.theme-gold .movie-card:nth-child(4) { animation-delay: 0.4s; }
body.theme-gold .movie-card:nth-child(5) { animation-delay: 0.5s; }
body.theme-gold .movie-card:nth-child(6) { animation-delay: 0.6s; }

body.theme-gold .category-card:nth-child(1) { animation-delay: 0.1s; }
body.theme-gold .category-card:nth-child(2) { animation-delay: 0.2s; }
body.theme-gold .category-card:nth-child(3) { animation-delay: 0.3s; }
body.theme-gold .category-card:nth-child(4) { animation-delay: 0.4s; }

/* ============================================
   ТЕМА В СТИЛЕ MALOSOLKA.ORG
   ============================================ */

body.theme-malosolka {
    background: #1a1a1a url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%231a1a1a"/><circle cx="20" cy="20" r="1" fill="%23333" opacity="0.3"/><circle cx="80" cy="40" r="1" fill="%23333" opacity="0.3"/><circle cx="40" cy="80" r="1" fill="%23333" opacity="0.3"/></svg>') repeat;
    color: #333333;
    font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    min-height: 100vh;
}

body.theme-malosolka main {
    background: transparent;
}

body.theme-malosolka .container {
    max-width: 1200px;
}

body.theme-malosolka header {
    background: #2d2d2d;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    padding: 15px 0;
    margin-bottom: 20px;
    border-bottom: 2px solid #444;
}

body.theme-malosolka header .container {
    background: transparent;
}

body.theme-malosolka header h1 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    text-shadow: none;
}

body.theme-malosolka nav a {
    color: #cccccc;
    padding: 8px 15px;
    background: #3a3a3a;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    border: 1px solid #555;
}

body.theme-malosolka nav a:hover {
    background: #4a4a4a;
    color: #ffffff;
    border-color: #666;
}

body.theme-malosolka .ad-block {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    margin: 15px 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    color: #333333;
}

body.theme-malosolka .ad-header {
    margin-bottom: 20px;
}

body.theme-malosolka .ad-middle {
    margin: 20px 0;
}

body.theme-malosolka .ad-footer {
    margin-top: 20px;
    margin-bottom: 20px;
}

body.theme-malosolka .category-cards {
    gap: 15px;
    margin-bottom: 25px;
}

body.theme-malosolka .category-card {
    width: 100%;
    height: 150px;
    border-radius: 5px;
    background: #ffffff;
    border: 1px solid #ddd;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
}

body.theme-malosolka .category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    border-color: #999;
}

body.theme-malosolka .category-card-inner {
    position: relative;
    z-index: 1;
    padding: 10px 15px;
}

body.theme-malosolka .category-card-title {
    color: #333333;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    text-shadow: none;
}

body.theme-malosolka .category-card-subtitle {
    color: #666666;
    font-size: 12px;
    font-weight: 500;
}

body.theme-malosolka .categories-filter {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

body.theme-malosolka .category-btn {
    padding: 8px 16px;
    background: #f5f5f5;
    color: #333333;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    border: 1px solid #ddd;
    transition: all 0.2s;
    font-size: 14px;
    display: inline-block;
    margin-right: 8px;
    margin-bottom: 8px;
}

body.theme-malosolka .category-btn:hover {
    background: #e8e8e8;
    color: #000000;
    border-color: #bbb;
}

body.theme-malosolka .category-btn.active {
    background: #4a90e2;
    color: #ffffff;
    border-color: #357abd;
}

body.theme-malosolka .category-btn.back-btn {
    background: #f5f5f5;
    color: #333333;
    border-color: #ddd;
}

body.theme-malosolka .category-btn.back-btn:hover {
    background: #e8e8e8;
    border-color: #bbb;
}

body.theme-malosolka .search-box {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

body.theme-malosolka .search-box input {
    background: #ffffff;
    border: 1px solid #ccc;
    color: #333333;
    border-radius: 4px;
    padding: 10px 12px;
}

body.theme-malosolka .search-box input:focus {
    border-color: #4a90e2;
    outline: none;
    box-shadow: 0 0 5px rgba(74, 144, 226, 0.3);
}

body.theme-malosolka .search-box button {
    background: #4a90e2;
    color: #ffffff;
    border: 1px solid #357abd;
    border-radius: 4px;
    font-weight: 600;
    padding: 10px 20px;
    transition: all 0.2s;
}

body.theme-malosolka .search-box button:hover {
    background: #357abd;
    border-color: #2a5d8f;
}

body.theme-malosolka .movies-grid {
    gap: 20px;
}

body.theme-malosolka .movie-card {
    background: #ffffff;
    border-radius: 5px;
    border: 1px solid #ddd;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    width: 100%;
    transition: all 0.2s;
}

body.theme-malosolka .movie-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    border-color: #bbb;
}

body.theme-malosolka .movie-poster {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

body.theme-malosolka .movie-poster-placeholder {
    width: 100%;
    height: 240px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
}

body.theme-malosolka .movie-info {
    padding: 12px;
    background: #ffffff;
}

body.theme-malosolka .movie-info h2 {
    color: #333333;
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 1.3;
    font-weight: 600;
}

body.theme-malosolka .movie-category {
    display: inline-block;
    background: #4a90e2;
    color: white;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 6px;
}

body.theme-malosolka .movie-year {
    color: #666666;
    font-size: 12px;
    margin-bottom: 4px;
}

body.theme-malosolka .movie-rating {
    color: #ff9800;
    font-weight: 600;
    margin: 6px 0;
    font-size: 13px;
}

body.theme-malosolka .btn-view {
    background: #4a90e2;
    color: #ffffff;
    border-radius: 4px;
    border: 1px solid #357abd;
    padding: 8px 16px;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.2s;
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
}

body.theme-malosolka .btn-view:hover {
    background: #357abd;
    border-color: #2a5d8f;
    transform: none;
}

body.theme-malosolka footer {
    background: #2d2d2d;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.3);
    border-top: 2px solid #444;
    padding: 20px 0;
    margin-top: 40px;
}

body.theme-malosolka footer p {
    color: #cccccc;
    text-align: center;
}

body.theme-malosolka .footer-text {
    color: #cccccc;
}

body.theme-malosolka .no-movies {
    background: #ffffff;
    border: 1px solid #ddd;
    color: #666666;
    border-radius: 5px;
    padding: 30px;
    text-align: center;
}

body.theme-malosolka .main-content {
    background: #ffffff;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    margin-bottom: 20px;
}

body.theme-malosolka .filters-section {
    background: transparent;
}

body.theme-malosolka .main-with-sidebar {
    gap: 20px;
    align-items: flex-start;
}

body.theme-malosolka .sidebar {
    background: #ffffff;
    border-radius: 5px;
    padding: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    position: sticky;
    top: 20px;
}

body.theme-malosolka .ad-sidebar {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    margin-bottom: 15px;
}

body.theme-malosolka .social-icon {
    background: #3a3a3a;
    color: #cccccc;
    border: 1px solid #555;
}

body.theme-malosolka .social-icon:hover {
    background: #4a4a4a;
    border-color: #666;
}

body.theme-malosolka .watching-slider-container {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

body.theme-malosolka .watching-slider-header {
    color: #333333;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

body.theme-malosolka .watching-item {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 5px;
}

body.theme-malosolka .watching-item:hover {
    border-color: #bbb;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

body.theme-malosolka .watching-count {
    color: #4a90e2;
}

body.theme-malosolka .watching-title-text {
    color: #333333;
}

body.theme-malosolka .watching-viewers {
    color: #666666;
}

body.theme-malosolka .comments-section {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    margin-top: 30px;
}

body.theme-malosolka .comment-form {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 15px;
    border-radius: 5px;
}

body.theme-malosolka .comment-form input[type="text"],
body.theme-malosolka .comment-form textarea {
    background: #ffffff;
    border: 1px solid #ccc;
    color: #333333;
}

body.theme-malosolka .comment-form input[type="text"]:focus,
body.theme-malosolka .comment-form textarea:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 5px rgba(74, 144, 226, 0.3);
}

body.theme-malosolka .btn-submit-comment {
    background: #4a90e2;
    color: #ffffff;
    border: 1px solid #357abd;
    border-radius: 4px;
}

body.theme-malosolka .btn-submit-comment:hover {
    background: #357abd;
}

body.theme-malosolka .comment-item {
    background: #f9f9f9;
    border-left: 3px solid #4a90e2;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 3px;
}

body.theme-malosolka .comment-author {
    color: #4a90e2;
}

body.theme-malosolka .copyright-info {
    background: #ffffff;
    border: 1px solid #ddd;
    color: #333333;
}

body.theme-malosolka .copyright-form-container {
    background: #ffffff;
    border: 1px solid #ddd;
}

body.theme-malosolka .copyright-form-container h2 {
    color: #333333;
}

body.theme-malosolka .copyright-form label {
    color: #333333;
}

body.theme-malosolka .copyright-form input[type="text"],
body.theme-malosolka .copyright-form input[type="email"],
body.theme-malosolka .copyright-form textarea {
    background: #ffffff;
    border: 1px solid #ccc;
    color: #333333;
}

body.theme-malosolka .copyright-form input[type="text"]:focus,
body.theme-malosolka .copyright-form input[type="email"]:focus,
body.theme-malosolka .copyright-form textarea:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 5px rgba(74, 144, 226, 0.3);
}

body.theme-malosolka .btn-submit {
    background: #4a90e2;
    color: #ffffff;
    border: 1px solid #357abd;
    border-radius: 4px;
}

body.theme-malosolka .btn-submit:hover {
    background: #357abd;
}

body.theme-malosolka .movie-detail {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    padding: 20px;
}

body.theme-malosolka .movie-detail-poster {
    background: #f5f5f5;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid #ddd;
}

body.theme-malosolka .movie-detail-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.theme-malosolka .movie-detail-poster .movie-poster-placeholder.large {
    width: 100%;
    height: 450px;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 16px;
}

body.theme-malosolka .movie-detail-info {
    padding: 0;
}

body.theme-malosolka .movie-detail-info h1 {
    color: #333333;
    margin-bottom: 20px;
    font-size: 28px;
    font-weight: 700;
}

body.theme-malosolka .movie-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

body.theme-malosolka .meta-item {
    color: #666666;
    font-size: 14px;
}

body.theme-malosolka .meta-item.category-badge {
    background: #4a90e2;
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 3px;
    font-weight: 600;
    font-size: 13px;
}

body.theme-malosolka .movie-reactions {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

body.theme-malosolka .reaction-btn {
    background: #f5f5f5;
    border: 1px solid #ddd;
    color: #333333;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 14px;
    margin-right: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

body.theme-malosolka .reaction-btn:hover {
    background: #e8e8e8;
    border-color: #bbb;
}

body.theme-malosolka .reaction-btn.active {
    background: #4a90e2;
    color: #ffffff;
    border-color: #357abd;
}

body.theme-malosolka .movie-description {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

body.theme-malosolka .movie-description h2 {
    color: #333333;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 700;
}

body.theme-malosolka .movie-description p {
    color: #666666;
    line-height: 1.6;
    font-size: 14px;
}

body.theme-malosolka .movie-video {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

body.theme-malosolka .movie-video h2 {
    color: #333333;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 700;
}

body.theme-malosolka .video-container {
    background: #000;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid #ddd;
}

body.theme-malosolka .video-container iframe {
    width: 100%;
    height: 500px;
    display: block;
}

body.theme-malosolka .movie-actions {
    margin-bottom: 25px;
}

body.theme-malosolka .btn-back {
    background: #4a90e2;
    color: #ffffff;
    border: 1px solid #357abd;
    border-radius: 4px;
    padding: 10px 20px;
    text-decoration: none;
    display: inline-block;
    font-weight: 600;
    transition: all 0.2s;
}

body.theme-malosolka .btn-back:hover {
    background: #357abd;
    border-color: #2a5d8f;
}

/* ============================================
   ТЕМА "РЫЖИЙ КОТ" (ОРАНЖЕВО-РЫЖИЕ ТОНА)
   ============================================ */

body.theme-cat {
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 25%, #ff8c42 50%, #ffa366 75%, #ff8c42 100%);
    background-size: 200% 200%;
    animation: catGradient 8s ease infinite;
    color: #2c1810;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
}

@keyframes catGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

body.theme-cat header {
    background: linear-gradient(135deg, #6A0DAD 0%, #8B00FF 25%, #9370DB 50%, #8B00FF 75%, #6A0DAD 100%);
    background-size: 200% 200%;
    animation: eggplantShine 3s ease infinite;
    box-shadow: 0 4px 30px rgba(138, 0, 255, 0.7), 0 0 60px rgba(138, 0, 255, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    padding: 0;
    margin-bottom: 30px;
    border-bottom: 3px solid #4B0082;
    position: relative;
    overflow: hidden;
}

@keyframes eggplantShine {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

body.theme-cat header .container {
    padding: 20px 0;
    position: relative;
    z-index: 2;
}

/* Анимированная шапка с котом */
body.theme-cat .cat-header-animation {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    z-index: 1;
    overflow: hidden;
}

body.theme-cat .cat-lying {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 100px;
}

body.theme-cat .cat-body {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 60px;
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);
    border-radius: 50px 50px 30px 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: catBodyBreathe 3s ease-in-out infinite;
}

@keyframes catBodyBreathe {
    0%, 100% { transform: translateX(-50%) scaleY(1); }
    50% { transform: translateX(-50%) scaleY(1.05); }
}

body.theme-cat .cat-head {
    position: absolute;
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 70px;
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);
    border-radius: 50% 50% 45% 45%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: catHeadMove 4s ease-in-out infinite;
}

body.theme-cat .cat-ears {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 25px;
}

body.theme-cat .cat-ear-left,
body.theme-cat .cat-ear-right {
    position: absolute;
    top: 0;
    width: 20px;
    height: 25px;
    background: linear-gradient(135deg, #ff6b35 0%, #ff4500 100%);
    border-radius: 50% 50% 0 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

body.theme-cat .cat-ear-left {
    left: 10px;
    transform: rotate(-20deg);
}

body.theme-cat .cat-ear-right {
    right: 10px;
    transform: rotate(20deg);
}

body.theme-cat .cat-eyes {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 15px;
}

body.theme-cat .cat-eye-left,
body.theme-cat .cat-eye-right {
    position: absolute;
    top: 0;
    width: 12px;
    height: 15px;
    background: #000000;
    border-radius: 50%;
    animation: catEyeBlink 3s ease-in-out infinite;
}

body.theme-cat .cat-eye-left {
    left: 10px;
}

body.theme-cat .cat-eye-right {
    right: 10px;
}

@keyframes catEyeBlink {
    0%, 90%, 100% { 
        height: 15px;
    }
    92%, 98% { 
        height: 2px;
    }
}

@keyframes catHeadMove {
    0%, 55%, 100% { 
        transform: translateX(-50%) rotate(0deg);
        bottom: 45px;
    }
    25% { 
        transform: translateX(-50%) rotate(-25deg) translateY(-8px);
        bottom: 35px;
    }
    40% { 
        transform: translateX(-50%) rotate(15deg) translateY(-5px);
        bottom: 38px;
    }
}

body.theme-cat .cat-mouth {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 15px;
    background: #ff4500;
    border-radius: 0 0 15px 15px;
    animation: catMouthOpen 2s ease-in-out infinite;
}

@keyframes catMouthOpen {
    0%, 70%, 100% { 
        height: 15px;
        bottom: 15px;
    }
    35% { 
        height: 25px;
        bottom: 10px;
    }
}

body.theme-cat .cat-tongue {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 0;
    background: #ff69b4;
    border-radius: 0 0 10px 10px;
    animation: catTongueLick 2s ease-in-out infinite;
    opacity: 0;
}

@keyframes catTongueLick {
    0%, 55%, 100% { 
        height: 0;
        opacity: 0;
        bottom: 10px;
    }
    25% { 
        height: 30px;
        opacity: 1;
        bottom: -10px;
        transform: translateX(-50%) rotate(-5deg);
    }
    35% { 
        height: 35px;
        opacity: 1;
        bottom: -12px;
        transform: translateX(-50%) rotate(5deg);
    }
    45% { 
        height: 28px;
        opacity: 0.8;
        bottom: -8px;
        transform: translateX(-50%) rotate(-3deg);
    }
}

body.theme-cat .cat-paws {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 30px;
}

body.theme-cat .cat-paw-left,
body.theme-cat .cat-paw-right {
    position: absolute;
    bottom: 0;
    width: 35px;
    height: 25px;
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);
    border-radius: 50% 50% 40% 40%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

body.theme-cat .cat-paw-left {
    left: 20px;
    animation: catPawLeftMove 4s ease-in-out infinite;
}

body.theme-cat .cat-paw-right {
    right: 20px;
    animation: catPawRightMove 4s ease-in-out infinite;
}

@keyframes catPawLeftMove {
    0%, 60%, 100% { 
        transform: translateY(0) rotate(0deg);
    }
    30% { 
        transform: translateY(-8px) rotate(-10deg);
    }
    45% { 
        transform: translateY(-5px) rotate(5deg);
    }
}

@keyframes catPawRightMove {
    0%, 60%, 100% { 
        transform: translateY(0) rotate(0deg);
    }
    30% { 
        transform: translateY(-8px) rotate(10deg);
    }
    45% { 
        transform: translateY(-5px) rotate(-5deg);
    }
}

body.theme-cat header h1 {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.5);
    font-weight: 700;
    font-size: 28px;
}

body.theme-cat header h1 img {
    max-height: 80px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
    transition: transform 0.3s;
}

body.theme-cat header h1 img:hover {
    transform: scale(1.05) rotate(2deg);
    animation: catLogoWiggle 0.5s ease-in-out;
}

@keyframes catLogoWiggle {
    0%, 100% { transform: scale(1.05) rotate(2deg); }
    25% { transform: scale(1.08) rotate(-2deg); }
    50% { transform: scale(1.05) rotate(2deg); }
    75% { transform: scale(1.08) rotate(-2deg); }
}

body.theme-cat nav a {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 25px;
    padding: 10px 20px;
    transition: all 0.3s;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(138, 0, 255, 0.3);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

body.theme-cat nav a:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(138, 0, 255, 0.6), 0 0 20px rgba(255, 255, 255, 0.4);
}

body.theme-cat .category-btn {
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);
    color: #ffffff;
    border: 2px solid #ff4500;
    border-radius: 25px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    user-select: none;
}

body.theme-cat .category-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

body.theme-cat .category-btn:hover::before {
    width: 300px;
    height: 300px;
}

body.theme-cat .category-btn:hover {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
    border-color: #ff6347;
}

body.theme-cat .category-btn.active {
    background: linear-gradient(135deg, #ff4500 0%, #ff6347 100%);
    border-color: #ff3300;
    box-shadow: 0 0 25px rgba(255, 69, 0, 0.8);
    animation: catPulse 2s ease-in-out infinite;
}

@keyframes catPulse {
    0%, 100% { box-shadow: 0 0 25px rgba(255, 69, 0, 0.8); }
    50% { box-shadow: 0 0 35px rgba(255, 69, 0, 1); }
}

body.theme-cat .category-btn.back-btn {
    background: linear-gradient(135deg, #ffa366 0%, #ff8c42 100%);
    border-color: #ff8c42;
}

body.theme-cat .category-btn.back-btn:hover {
    background: linear-gradient(135deg, #ff8c42 0%, #ffa366 100%);
}

body.theme-cat .cat-emoji {
    font-size: 20px;
    display: inline-block;
    animation: catBounce 1.5s ease-in-out infinite;
    filter: drop-shadow(2px 2px 3px rgba(0, 0, 0, 0.3));
}

@keyframes catBounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-5px) rotate(-5deg); }
    75% { transform: translateY(-5px) rotate(5deg); }
}

body.theme-cat .category-btn.active .cat-emoji {
    animation: catBounce 0.8s ease-in-out infinite;
}

body.theme-cat .ad-block {
    background: rgba(255, 255, 255, 0.95);
    border: 3px solid #ff8c42;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
    padding: 20px;
    margin: 20px 0;
    color: #2c1810;
}

body.theme-cat .category-cards {
    gap: 20px;
    margin-bottom: 30px;
}

body.theme-cat .category-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 248, 240, 0.95) 100%);
    border: 3px solid #ff8c42;
    border-radius: 15px;
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.4);
    transition: all 0.3s;
    overflow: hidden;
    position: relative;
}

body.theme-cat .category-card::before {
    content: '🐱';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 30px;
    opacity: 0.3;
    z-index: 1;
}

body.theme-cat .category-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 35px rgba(255, 107, 53, 0.6);
    border-color: #ff6347;
}

body.theme-cat .category-card:hover::before {
    opacity: 0.6;
    transform: rotate(15deg);
    transition: all 0.3s;
}

body.theme-cat .category-card-title {
    color: #ff6b35;
    font-weight: 700;
    font-size: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

body.theme-cat .category-card-subtitle {
    color: #ff8c42;
    font-weight: 600;
}

body.theme-cat .movie-card {
    background: rgba(255, 255, 255, 0.95);
    border: 3px solid #ff8c42;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
    transition: all 0.3s;
    overflow: hidden;
}

body.theme-cat .movie-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.5);
    border-color: #ff6347;
}

body.theme-cat .movie-info h2 {
    color: #ff6b35;
    font-weight: 700;
}

body.theme-cat .movie-category {
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);
    color: #ffffff;
    border-radius: 20px;
    font-weight: 600;
}

body.theme-cat .movie-rating {
    color: #ff6347;
    font-weight: 700;
}

body.theme-cat .btn-view {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    color: #ffffff;
    border: 2px solid #ff4500;
    border-radius: 25px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    transition: all 0.3s;
}

body.theme-cat .btn-view:hover {
    background: linear-gradient(135deg, #ff4500 0%, #ff6347 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 69, 0, 0.6);
}

body.theme-cat .search-box {
    background: rgba(255, 255, 255, 0.95);
    border: 3px solid #ff8c42;
    border-radius: 25px;
    padding: 15px;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
}

body.theme-cat .search-box input {
    background: #fff8f0;
    border: 2px solid #ff8c42;
    color: #2c1810;
    border-radius: 20px;
    padding: 12px 20px;
}

body.theme-cat .search-box input:focus {
    border-color: #ff6347;
    outline: none;
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.4);
}

body.theme-cat .search-box button {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    color: #ffffff;
    border: 2px solid #ff4500;
    border-radius: 20px;
    font-weight: 700;
    padding: 12px 25px;
}

body.theme-cat .search-box button:hover {
    background: linear-gradient(135deg, #ff4500 0%, #ff6347 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.5);
}

body.theme-cat footer {
    background: linear-gradient(135deg, #6A0DAD 0%, #8B00FF 25%, #9370DB 50%, #8B00FF 75%, #6A0DAD 100%);
    background-size: 200% 200%;
    animation: eggplantShine 3s ease infinite;
    box-shadow: 0 -4px 30px rgba(138, 0, 255, 0.7), 0 0 60px rgba(138, 0, 255, 0.4), inset 0 -1px 0 rgba(255, 255, 255, 0.3);
    border-top: 3px solid #4B0082;
    padding: 25px 0;
    margin-top: 40px;
}

body.theme-cat footer p {
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 255, 255, 0.4);
}

body.theme-cat .no-movies {
    background: rgba(255, 255, 255, 0.95);
    border: 3px solid #ff8c42;
    color: #ff6b35;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    font-weight: 600;
}

body.theme-cat .main-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
    border: 3px solid #ff8c42;
}

body.theme-cat .sidebar {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
    border: 3px solid #ff8c42;
}

body.theme-cat .social-icon {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(138, 0, 255, 0.3);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

body.theme-cat .social-icon:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 4px 15px rgba(138, 0, 255, 0.6), 0 0 15px rgba(255, 255, 255, 0.4);
}

body.theme-cat .watching-slider-container {
    background: rgba(255, 255, 255, 0.95);
    border: 3px solid #ff8c42;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
}

body.theme-cat .watching-slider-header {
    color: #ff6b35;
    border-bottom: 2px solid #ff8c42;
}

body.theme-cat .watching-item {
    background: rgba(255, 248, 240, 0.95);
    border: 2px solid #ff8c42;
    border-radius: 10px;
}

body.theme-cat .watching-item:hover {
    border-color: #ff6347;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

body.theme-cat .watching-count {
    color: #ff6347;
    font-weight: 700;
}

body.theme-cat .watching-title-text {
    color: #ff6b35;
    font-weight: 600;
}

body.theme-cat .comments-section {
    background: rgba(255, 255, 255, 0.95);
    border: 3px solid #ff8c42;
    border-radius: 15px;
    padding: 25px;
    margin-top: 30px;
}

body.theme-cat .comment-form {
    background: rgba(255, 248, 240, 0.95);
    border: 2px solid #ff8c42;
    padding: 20px;
    border-radius: 15px;
}

body.theme-cat .comment-form input[type="text"],
body.theme-cat .comment-form textarea {
    background: #ffffff;
    border: 2px solid #ff8c42;
    color: #2c1810;
    border-radius: 10px;
}

body.theme-cat .comment-form input[type="text"]:focus,
body.theme-cat .comment-form textarea:focus {
    border-color: #ff6347;
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.4);
}

body.theme-cat .btn-submit-comment {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    color: #ffffff;
    border: 2px solid #ff4500;
    border-radius: 20px;
    font-weight: 700;
}

body.theme-cat .btn-submit-comment:hover {
    background: linear-gradient(135deg, #ff4500 0%, #ff6347 100%);
}

body.theme-cat .comment-item {
    background: rgba(255, 248, 240, 0.95);
    border-left: 4px solid #ff8c42;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 10px;
}

body.theme-cat .comment-author {
    color: #ff6347;
    font-weight: 700;
}

body.theme-cat .movie-detail {
    background: rgba(255, 255, 255, 0.95);
    border: 3px solid #ff8c42;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
}

body.theme-cat .movie-detail-info h1 {
    color: #ff6b35;
    font-weight: 700;
}

body.theme-cat .meta-item.category-badge {
    background: linear-gradient(135deg, #ff8c42 0%, #ff6b35 100%);
    color: #ffffff;
}

body.theme-cat .reaction-btn {
    background: rgba(255, 248, 240, 0.95);
    border: 2px solid #ff8c42;
    color: #ff6b35;
    border-radius: 20px;
    font-weight: 600;
}

body.theme-cat .reaction-btn:hover {
    background: rgba(255, 107, 53, 0.2);
    border-color: #ff6347;
}

body.theme-cat .reaction-btn.active {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    color: #ffffff;
    border-color: #ff4500;
}

body.theme-cat .btn-back {
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
    color: #ffffff;
    border: 2px solid #ff4500;
    border-radius: 25px;
    font-weight: 700;
}

body.theme-cat .btn-back:hover {
    background: linear-gradient(135deg, #ff4500 0%, #ff6347 100%);
}

body.theme-malosolka .comment-date {
    color: #999999;
    font-size: 12px;
}

body.theme-malosolka .comment-text {
    color: #333333;
    margin-top: 8px;
    line-height: 1.5;
}

body.theme-malosolka .comment-status {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 10px;
}

body.theme-malosolka .comment-status.pending {
    background: #ffc107;
    color: #333333;
}

body.theme-malosolka .comment-status.approved {
    background: #28a745;
    color: #ffffff;
}

body.theme-malosolka .filters-section {
    background: transparent;
    margin-bottom: 20px;
}

body.theme-malosolka .search-box {
    display: flex;
    gap: 10px;
    align-items: center;
}

body.theme-malosolka .search-box input[type="text"] {
    flex: 1;
}

body.theme-malosolka .search-box button {
    white-space: nowrap;
}

body.theme-malosolka .categories-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.theme-malosolka .movie-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

body.theme-malosolka .movie-card-link:hover {
    text-decoration: none;
}

body.theme-malosolka .movie-card-link:visited {
    color: inherit;
}

/* Адаптивность для темы malosolka */
@media (max-width: 768px) {
    body.theme-malosolka .movie-detail {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    body.theme-malosolka .main-with-sidebar {
        flex-direction: column;
    }
    
    body.theme-malosolka .sidebar {
        width: 100%;
        position: static;
    }
    
    body.theme-malosolka .category-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    body.theme-malosolka .category-cards {
        grid-template-columns: 1fr;
    }
    
    body.theme-malosolka header .container {
        flex-direction: column;
        align-items: flex-start;
    }
    
    body.theme-malosolka .header-right {
        width: 100%;
        justify-content: space-between;
    }
}

/* ============================================
   СОВРЕМЕННАЯ ТЕМА (В СТИЛЕ КИНОТЕАТРА)
   ============================================ */

body.theme-modern {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
    color: #2d3748;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body.theme-modern header {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 20px 0;
    margin-bottom: 30px;
    border-radius: 0 0 25px 25px;
    border-bottom: 3px solid #e2e8f0;
}

body.theme-modern header h1 {
    color: #1a202c;
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.theme-modern .site-logo {
    color: #1a202c;
}

body.theme-modern nav a {
    color: #4a5568;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

body.theme-modern nav a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

body.theme-modern .ad-block {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #e2e8f0;
}

body.theme-modern .category-cards {
    gap: 20px;
    margin-bottom: 40px;
}

body.theme-modern .category-card {
    width: 100%;
    height: 200px;
    border-radius: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: #2d3748;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

body.theme-modern .category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.5s;
}

body.theme-modern .category-card:hover::before {
    left: 100%;
}

body.theme-modern .category-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.25);
    border-color: #667eea;
}

body.theme-modern .category-card-inner {
    text-align: center;
    padding: 20px;
    position: relative;
    z-index: 1;
}

body.theme-modern .category-card-title {
    color: #1a202c;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

body.theme-modern .category-card-subtitle {
    color: #667eea;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

body.theme-modern .categories-filter {
    background: #ffffff;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    margin-bottom: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    border: 1px solid #e2e8f0;
}

body.theme-modern .category-btn {
    padding: 12px 24px;
    background: #f7fafc;
    color: #4a5568;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    border: 2px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 120px;
    text-align: center;
    font-size: 14px;
}

body.theme-modern .category-btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
}

body.theme-modern .category-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border-color: #667eea;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

body.theme-modern .category-btn.back-btn {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: #ffffff;
    border-color: #f5576c;
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.3);
}

body.theme-modern .category-btn.back-btn:hover {
    background: linear-gradient(135deg, #f5576c 0%, #f093fb 100%);
    box-shadow: 0 6px 25px rgba(245, 87, 108, 0.5);
    transform: translateX(-3px) translateY(-2px);
}

body.theme-modern .search-box {
    background: #ffffff;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
}

body.theme-modern .search-box form {
    display: flex;
    gap: 12px;
}

body.theme-modern .search-box input {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 16px;
    background: #f7fafc;
    color: #2d3748;
    transition: all 0.3s;
}

body.theme-modern .search-box input:focus {
    outline: none;
    border-color: #667eea;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

body.theme-modern .search-box button {
    padding: 14px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

body.theme-modern .search-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.4);
}

body.theme-modern .movies-grid {
    gap: 25px;
}

body.theme-modern .movie-card {
    background: #ffffff;
    border-radius: 20px;
    border: 2px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 300px;
    position: relative;
}

body.theme-modern .movie-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.05), transparent);
    transition: left 0.5s;
    z-index: 0;
}

body.theme-modern .movie-card:hover::before {
    left: 100%;
}

body.theme-modern .movie-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
    border-color: #667eea;
}

body.theme-modern .movie-poster {
    position: relative;
    z-index: 1;
    transition: transform 0.3s;
}

body.theme-modern .movie-card:hover .movie-poster {
    transform: scale(1.05);
}

body.theme-modern .movie-info {
    position: relative;
    z-index: 1;
    background: #ffffff;
    padding: 12px;
}

body.theme-modern .movie-info h2 {
    color: #1a202c;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

body.theme-modern .movie-category {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

body.theme-modern .movie-year {
    color: #718096;
    font-size: 12px;
    margin-bottom: 4px;
}

body.theme-modern .movie-rating {
    color: #f6ad55;
    font-weight: 700;
    margin: 12px 0;
    font-size: 16px;
}

body.theme-modern .btn-view {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s;
    border: none;
    position: relative;
    overflow: hidden;
}

body.theme-modern .btn-view::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

body.theme-modern .btn-view:hover::before {
    width: 300px;
    height: 300px;
}

body.theme-modern .btn-view:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

body.theme-modern footer {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 40px 0 30px;
    margin-top: 60px;
    text-align: center;
    color: #4a5568;
    border-radius: 25px 25px 0 0;
    border-top: 3px solid #e2e8f0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
}

body.theme-modern .footer-text {
    color: #718096;
    font-size: 14px;
    margin-bottom: 15px;
}

body.theme-modern .footer-about,
body.theme-modern .footer-rights {
    color: #718096;
    line-height: 1.8;
}

body.theme-modern footer p {
    color: #a0aec0;
    font-size: 13px;
    margin-top: 20px;
}

body.theme-modern .no-movies {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    color: #718096;
    border-radius: 20px;
    padding: 60px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

body.theme-modern .movie-detail {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid #e2e8f0;
}

body.theme-modern .movie-detail-info {
    padding: 30px;
}

body.theme-modern .movie-detail-info h1 {
    color: #1a202c;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.theme-modern .movie-meta {
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 20px;
    margin-bottom: 25px;
}

body.theme-modern .meta-item {
    color: #4a5568;
}

body.theme-modern .category-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 8px 18px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 13px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

body.theme-modern .movie-description h2 {
    color: #1a202c;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

body.theme-modern .movie-description p {
    color: #4a5568;
    line-height: 1.8;
    font-size: 15px;
}

body.theme-modern .movie-video h2 {
    color: #1a202c;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

body.theme-modern .video-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 2px solid #e2e8f0;
}

body.theme-modern .reaction-btn {
    background: #f7fafc;
    color: #4a5568;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px 16px;
    transition: all 0.3s;
}

body.theme-modern .reaction-btn:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

body.theme-modern .reaction-btn.active {
    background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
    color: #ffffff;
    border-color: #48bb78;
    box-shadow: 0 4px 15px rgba(72, 187, 120, 0.3);
}

body.theme-modern .reaction-btn.watch-later.active {
    background: linear-gradient(135deg, #f6ad55 0%, #ed8936 100%);
    border-color: #f6ad55;
    box-shadow: 0 4px 15px rgba(246, 173, 85, 0.3);
}

body.theme-modern .btn-back {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 12px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    transition: all 0.3s;
}

body.theme-modern .btn-back:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(102, 126, 234, 0.4);
}

/* Анимация появления карточек для современной темы */
body.theme-modern .movie-card,
body.theme-modern .category-card {
    animation: modernCardAppear 0.5s ease-out;
}

@keyframes modernCardAppear {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Задержка анимации для каждой карточки */
body.theme-modern .movie-card:nth-child(1) { animation-delay: 0.05s; }
body.theme-modern .movie-card:nth-child(2) { animation-delay: 0.1s; }
body.theme-modern .movie-card:nth-child(3) { animation-delay: 0.15s; }
body.theme-modern .movie-card:nth-child(4) { animation-delay: 0.2s; }
body.theme-modern .movie-card:nth-child(5) { animation-delay: 0.25s; }
body.theme-modern .movie-card:nth-child(6) { animation-delay: 0.3s; }

body.theme-modern .category-card:nth-child(1) { animation-delay: 0.05s; }
body.theme-modern .category-card:nth-child(2) { animation-delay: 0.1s; }
body.theme-modern .category-card:nth-child(3) { animation-delay: 0.15s; }
body.theme-modern .category-card:nth-child(4) { animation-delay: 0.2s; }

/* ============================================
   ИГРОВАЯ ТЕМА (В СТИЛЕ ТОРРЕНТ-ТРЕКЕРА)
   ============================================ */

body.theme-gaming {
    background: #1a1a1a;
    color: #d4d4d4;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body.theme-gaming header {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    padding: 15px 0;
    margin-bottom: 25px;
    border-bottom: 3px solid #4a90e2;
}

body.theme-gaming header h1 {
    color: #4a90e2;
    font-size: 26px;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(74, 144, 226, 0.5);
}

body.theme-gaming .site-logo {
    color: #4a90e2;
}

body.theme-gaming nav a {
    color: #b0b0b0;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s;
    border: 1px solid transparent;
}

body.theme-gaming nav a:hover {
    background: #333333;
    color: #4a90e2;
    border-color: #4a90e2;
}

body.theme-gaming .ad-block {
    background: #252525;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #3a3a3a;
    color: #d4d4d4;
}

body.theme-gaming .category-cards {
    gap: 20px;
    margin-bottom: 30px;
}

body.theme-gaming .category-card {
    width: 100%;
    height: 200px;
    border-radius: 8px;
    background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
    color: #d4d4d4;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: all 0.3s;
    border: 2px solid #3a3a3a;
    position: relative;
    overflow: hidden;
}

body.theme-gaming .category-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

body.theme-gaming .category-card:hover::after {
    opacity: 1;
}

body.theme-gaming .category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
    border-color: #4a90e2;
    background: linear-gradient(135deg, #333333 0%, #252525 100%);
}

body.theme-gaming .category-card-inner {
    text-align: center;
    padding: 20px;
    position: relative;
    z-index: 1;
}

body.theme-gaming .category-card-title {
    color: #4a90e2;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

body.theme-gaming .category-card-subtitle {
    color: #b0b0b0;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body.theme-gaming .categories-filter {
    background: #252525;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    margin-bottom: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    border: 1px solid #3a3a3a;
}

body.theme-gaming .category-btn {
    padding: 10px 20px;
    background: #2a2a2a;
    color: #b0b0b0;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    border: 2px solid #3a3a3a;
    transition: all 0.3s;
    min-width: 120px;
    text-align: center;
    font-size: 14px;
}

body.theme-gaming .category-btn:hover {
    background: #333333;
    color: #4a90e2;
    border-color: #4a90e2;
    box-shadow: 0 0 10px rgba(74, 144, 226, 0.3);
}

body.theme-gaming .category-btn.active {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: #ffffff;
    border-color: #4a90e2;
    box-shadow: 0 0 15px rgba(74, 144, 226, 0.5);
}

body.theme-gaming .category-btn.back-btn {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #ffffff;
    border-color: #e74c3c;
    box-shadow: 0 0 10px rgba(231, 76, 60, 0.4);
}

body.theme-gaming .category-btn.back-btn:hover {
    background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
    box-shadow: 0 0 15px rgba(231, 76, 60, 0.6);
    transform: translateX(-3px);
}

body.theme-gaming .search-box {
    background: #252525;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    border: 1px solid #3a3a3a;
}

body.theme-gaming .search-box form {
    display: flex;
    gap: 10px;
}

body.theme-gaming .search-box input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #3a3a3a;
    border-radius: 5px;
    font-size: 16px;
    background: #1a1a1a;
    color: #d4d4d4;
    transition: all 0.3s;
}

body.theme-gaming .search-box input:focus {
    outline: none;
    border-color: #4a90e2;
    background: #252525;
    box-shadow: 0 0 10px rgba(74, 144, 226, 0.3);
}

body.theme-gaming .search-box input::placeholder {
    color: #666666;
}

body.theme-gaming .search-box button {
    padding: 12px 28px;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.4);
}

body.theme-gaming .search-box button:hover {
    background: linear-gradient(135deg, #357abd 0%, #4a90e2 100%);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.6);
    transform: translateY(-2px);
}

body.theme-gaming .movies-grid {
    gap: 20px;
}

body.theme-gaming .movie-card {
    background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
    border-radius: 8px;
    border: 2px solid #3a3a3a;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: all 0.3s;
    width: 300px;
    position: relative;
}

body.theme-gaming .movie-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
}

body.theme-gaming .movie-card:hover::before {
    opacity: 1;
}

body.theme-gaming .movie-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
    border-color: #4a90e2;
    background: linear-gradient(135deg, #333333 0%, #252525 100%);
}

body.theme-gaming .movie-poster {
    position: relative;
    z-index: 1;
    filter: brightness(0.9);
    transition: filter 0.3s;
}

body.theme-gaming .movie-card:hover .movie-poster {
    filter: brightness(1);
}

body.theme-gaming .movie-info {
    position: relative;
    z-index: 1;
    background: transparent;
    padding: 12px;
}

body.theme-gaming .movie-info h2 {
    color: #4a90e2;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
}

body.theme-gaming .movie-category {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: #ffffff;
    padding: 5px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 8px;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.4);
}

body.theme-gaming .movie-year {
    color: #999999;
    font-size: 12px;
    margin-bottom: 4px;
}

body.theme-gaming .movie-rating {
    color: #f39c12;
    font-weight: 700;
    margin: 10px 0;
    font-size: 15px;
    text-shadow: 0 0 5px rgba(243, 156, 18, 0.5);
}

body.theme-gaming .btn-view {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 24px;
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.4);
    transition: all 0.3s;
    border: none;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

body.theme-gaming .btn-view:hover {
    background: linear-gradient(135deg, #357abd 0%, #4a90e2 100%);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.6);
    transform: translateY(-2px);
}

body.theme-gaming footer {
    background: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    padding: 30px 0 25px;
    margin-top: 50px;
    text-align: center;
    color: #b0b0b0;
    border-top: 3px solid #4a90e2;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
}

body.theme-gaming .footer-text {
    color: #999999;
    font-size: 13px;
    margin-bottom: 12px;
}

body.theme-gaming .footer-about,
body.theme-gaming .footer-rights {
    color: #999999;
    line-height: 1.7;
}

body.theme-gaming footer p {
    color: #666666;
    font-size: 12px;
    margin-top: 15px;
}

body.theme-gaming .no-movies {
    background: #252525;
    border: 2px solid #3a3a3a;
    color: #b0b0b0;
    border-radius: 8px;
    padding: 60px 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

body.theme-gaming .movie-detail {
    background: linear-gradient(135deg, #2a2a2a 0%, #1f1f1f 100%);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    border: 2px solid #3a3a3a;
}

body.theme-gaming .movie-detail-info {
    padding: 30px;
}

body.theme-gaming .movie-detail-info h1 {
    color: #4a90e2;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(74, 144, 226, 0.5);
}

body.theme-gaming .movie-meta {
    border-bottom: 2px solid #3a3a3a;
    padding-bottom: 20px;
    margin-bottom: 25px;
}

body.theme-gaming .meta-item {
    color: #b0b0b0;
}

body.theme-gaming .category-badge {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.4);
}

body.theme-gaming .movie-description h2 {
    color: #4a90e2;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

body.theme-gaming .movie-description p {
    color: #d4d4d4;
    line-height: 1.7;
    font-size: 14px;
}

body.theme-gaming .movie-video h2 {
    color: #4a90e2;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

body.theme-gaming .video-container {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    border: 2px solid #3a3a3a;
}

body.theme-gaming .reaction-btn {
    background: #2a2a2a;
    color: #b0b0b0;
    border: 2px solid #3a3a3a;
    border-radius: 5px;
    padding: 8px 14px;
    transition: all 0.3s;
    font-weight: 600;
    font-size: 12px;
}

body.theme-gaming .reaction-btn:hover {
    background: #333333;
    color: #4a90e2;
    border-color: #4a90e2;
    box-shadow: 0 0 10px rgba(74, 144, 226, 0.3);
}

body.theme-gaming .reaction-btn.active {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    color: #ffffff;
    border-color: #27ae60;
    box-shadow: 0 0 10px rgba(39, 174, 96, 0.4);
}

body.theme-gaming .reaction-btn.watch-later.active {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    border-color: #f39c12;
    box-shadow: 0 0 10px rgba(243, 156, 18, 0.4);
}

body.theme-gaming .btn-back {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.4);
    transition: all 0.3s;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

body.theme-gaming .btn-back:hover {
    background: linear-gradient(135deg, #357abd 0%, #4a90e2 100%);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.6);
    transform: translateY(-2px);
}

/* Анимация появления карточек для игровой темы */
body.theme-gaming .movie-card,
body.theme-gaming .category-card {
    animation: gamingCardAppear 0.4s ease-out;
}

@keyframes gamingCardAppear {
    0% {
        opacity: 0;
        transform: translateY(15px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Задержка анимации для каждой карточки */
body.theme-gaming .movie-card:nth-child(1) { animation-delay: 0.05s; }
body.theme-gaming .movie-card:nth-child(2) { animation-delay: 0.1s; }
body.theme-gaming .movie-card:nth-child(3) { animation-delay: 0.15s; }
body.theme-gaming .movie-card:nth-child(4) { animation-delay: 0.2s; }
body.theme-gaming .movie-card:nth-child(5) { animation-delay: 0.25s; }
body.theme-gaming .movie-card:nth-child(6) { animation-delay: 0.3s; }

body.theme-gaming .category-card:nth-child(1) { animation-delay: 0.05s; }
body.theme-gaming .category-card:nth-child(2) { animation-delay: 0.1s; }
body.theme-gaming .category-card:nth-child(3) { animation-delay: 0.15s; }
body.theme-gaming .category-card:nth-child(4) { animation-delay: 0.2s; }

/* Стили иконок соцсетей для разных тем */
body.theme-green .social-icon {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 2px solid rgba(16, 185, 129, 0.4);
}

body.theme-green .social-icon:hover {
    background: rgba(16, 185, 129, 0.4);
    border-color: #10b981;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.6);
}

body.theme-modern .social-icon {
    background: #f7fafc;
    color: #4a5568;
    border: 2px solid #e2e8f0;
}

body.theme-modern .social-icon:hover {
    background: #ffffff;
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

body.theme-gaming .social-icon {
    background: #2a2a2a;
    color: #b0b0b0;
    border: 2px solid #3a3a3a;
}

body.theme-gaming .social-icon:hover {
    background: #333333;
    border-color: #4a90e2;
    box-shadow: 0 0 10px rgba(74, 144, 226, 0.4);
}

body.theme-gold .social-icon {
    background: rgba(212, 175, 55, 0.1);
    color: #f4d03f;
    border: 2px solid rgba(212, 175, 55, 0.3);
}

body.theme-gold .social-icon:hover {
    background: rgba(212, 175, 55, 0.3);
    border-color: #d4af37;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

@media (max-width: 768px) {
    .header-right {
        flex-direction: column;
        gap: 15px;
    }
    
    .social-icons {
        order: -1;
    }
}

/* Стили комментариев для разных тем */
body.theme-green .comments-section {
    border-top-color: rgba(16, 185, 129, 0.3);
}

body.theme-green .comment-form {
    background: rgba(6, 78, 59, 0.9);
    border-color: rgba(16, 185, 129, 0.4);
}

body.theme-green .comment-form input[type="text"],
body.theme-green .comment-form textarea {
    background: rgba(2, 44, 34, 0.8);
    border-color: rgba(16, 185, 129, 0.4);
    color: #d1fae5;
}

body.theme-green .comment-form input[type="text"]:focus,
body.theme-green .comment-form textarea:focus {
    border-color: #10b981;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
}

body.theme-green .btn-submit-comment {
    background: linear-gradient(135deg, #10b981, #34d399);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

body.theme-green .btn-submit-comment:hover {
    background: linear-gradient(135deg, #34d399, #10b981);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
}

body.theme-green .comment-item {
    background: rgba(6, 78, 59, 0.7);
    border-left-color: #10b981;
}

body.theme-green .comment-author {
    color: #10b981;
}

body.theme-modern .comments-section {
    border-top-color: #e2e8f0;
}

body.theme-modern .comment-form {
    background: #ffffff;
    border-color: #e2e8f0;
}

body.theme-modern .comment-form input[type="text"],
body.theme-modern .comment-form textarea {
    background: #f7fafc;
    border-color: #e2e8f0;
    color: #2d3748;
}

body.theme-modern .comment-form input[type="text"]:focus,
body.theme-modern .comment-form textarea:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

body.theme-modern .btn-submit-comment {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

body.theme-modern .comment-item {
    background: #ffffff;
    border-left-color: #667eea;
}

body.theme-modern .comment-author {
    color: #667eea;
}

body.theme-gaming .comments-section {
    border-top-color: #3a3a3a;
}

body.theme-gaming .comment-form {
    background: #252525;
    border-color: #3a3a3a;
}

body.theme-gaming .comment-form input[type="text"],
body.theme-gaming .comment-form textarea {
    background: #1a1a1a;
    border-color: #3a3a3a;
    color: #d4d4d4;
}

body.theme-gaming .comment-form input[type="text"]:focus,
body.theme-gaming .comment-form textarea:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 10px rgba(74, 144, 226, 0.3);
}

body.theme-gaming .btn-submit-comment {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.4);
}

body.theme-gaming .comment-item {
    background: #252525;
    border-left-color: #4a90e2;
}

body.theme-gaming .comment-author {
    color: #4a90e2;
}

body.theme-gold .comments-section {
    border-top-color: rgba(212, 175, 55, 0.3);
}

body.theme-gold .comment-form {
    background: rgba(139, 0, 0, 0.9);
    border-color: rgba(212, 175, 55, 0.4);
}

body.theme-gold .comment-form input[type="text"],
body.theme-gold .comment-form textarea {
    background: rgba(92, 0, 0, 0.8);
    border-color: rgba(212, 175, 55, 0.4);
    color: #f4d03f;
}

body.theme-gold .comment-form input[type="text"]:focus,
body.theme-gold .comment-form textarea:focus {
    border-color: #d4af37;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

body.theme-gold .btn-submit-comment {
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

body.theme-gold .btn-submit-comment:hover {
    background: linear-gradient(135deg, #f4d03f, #d4af37);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

body.theme-gold .comment-item {
    background: rgba(139, 0, 0, 0.7);
    border-left-color: #d4af37;
}

body.theme-gold .comment-author {
    color: #d4af37;
}

body.theme-gold .copyright-info {
    background: rgba(139, 0, 0, 0.9);
    border-color: rgba(212, 175, 55, 0.4);
    color: #f4d03f;
}

body.theme-gold .copyright-form-container {
    background: rgba(139, 0, 0, 0.9);
    border-color: rgba(212, 175, 55, 0.4);
}

body.theme-gold .copyright-form-container h2 {
    color: #d4af37;
}

body.theme-gold .copyright-form-container > p {
    color: #f4d03f;
}

body.theme-gold .copyright-form .form-info {
    background: rgba(212, 175, 55, 0.1);
    color: #f4d03f;
    border-left-color: #d4af37;
}

body.theme-gold .copyright-form label {
    color: #f4d03f;
}

body.theme-gold .copyright-form input[type="text"],
body.theme-gold .copyright-form input[type="email"],
body.theme-gold .copyright-form textarea {
    background: rgba(92, 0, 0, 0.8);
    border-color: rgba(212, 175, 55, 0.4);
    color: #f4d03f;
}

body.theme-gold .copyright-form input[type="text"]:focus,
body.theme-gold .copyright-form input[type="email"]:focus,
body.theme-gold .copyright-form textarea:focus {
    border-color: #d4af37;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

body.theme-gold .btn-submit {
    background: linear-gradient(135deg, #d4af37, #f4d03f);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

body.theme-gold .btn-submit:hover {
    background: linear-gradient(135deg, #f4d03f, #d4af37);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

/* Стили для страницы правообладателей */
.copyright-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 20px;
}

.copyright-page h1 {
    color: #e5e7eb;
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

.copyright-info {
    background: rgba(15, 23, 42, 0.9);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    color: #d1d5db;
    line-height: 1.8;
    border: 2px solid rgba(59, 130, 246, 0.3);
}

.copyright-form-container {
    background: rgba(15, 23, 42, 0.9);
    padding: 30px;
    border-radius: 12px;
    border: 2px solid rgba(59, 130, 246, 0.3);
}

.copyright-form-container h2 {
    color: #e5e7eb;
    font-size: 24px;
    margin-bottom: 15px;
}

.copyright-form-container > p {
    color: #9ca3af;
    margin-bottom: 25px;
    line-height: 1.6;
}

.copyright-form .form-info {
    background: rgba(59, 130, 246, 0.1);
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    color: #60a5fa;
    border-left: 4px solid #3b82f6;
}

.copyright-form .form-group {
    margin-bottom: 20px;
}

.copyright-form label {
    display: block;
    margin-bottom: 8px;
    color: #e5e7eb;
    font-weight: 500;
    font-size: 14px;
}

.copyright-form input[type="text"],
.copyright-form input[type="email"],
.copyright-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #3a3a3a;
    border-radius: 8px;
    font-size: 15px;
    background: rgba(2, 44, 34, 0.8);
    color: #e5e7eb;
    font-family: inherit;
    box-sizing: border-box;
}

.copyright-form input[type="text"]:focus,
.copyright-form input[type="email"]:focus,
.copyright-form textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

.copyright-form textarea {
    resize: vertical;
    min-height: 150px;
}

.copyright-form small {
    display: block;
    margin-top: 5px;
    color: #9ca3af;
    font-size: 12px;
}

.btn-submit {
    padding: 14px 30px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    width: 100%;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
    transform: translateY(-2px);
}

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Стили для страницы правообладателей - тема Green */
body.theme-green .copyright-info {
    background: rgba(6, 78, 59, 0.9);
    border-color: rgba(16, 185, 129, 0.4);
    color: #d1fae5;
}

body.theme-green .copyright-form-container {
    background: rgba(6, 78, 59, 0.9);
    border-color: rgba(16, 185, 129, 0.4);
}

body.theme-green .copyright-form-container h2 {
    color: #10b981;
}

body.theme-green .copyright-form-container > p {
    color: #6ee7b7;
}

body.theme-green .copyright-form .form-info {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
    border-left-color: #10b981;
}

body.theme-green .copyright-form label {
    color: #d1fae5;
}

body.theme-green .copyright-form input[type="text"],
body.theme-green .copyright-form input[type="email"],
body.theme-green .copyright-form textarea {
    background: rgba(2, 44, 34, 0.8);
    border-color: rgba(16, 185, 129, 0.4);
    color: #d1fae5;
}

body.theme-green .copyright-form input[type="text"]:focus,
body.theme-green .copyright-form input[type="email"]:focus,
body.theme-green .copyright-form textarea:focus {
    border-color: #10b981;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
}

body.theme-green .btn-submit {
    background: linear-gradient(135deg, #10b981, #34d399);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

body.theme-green .btn-submit:hover {
    background: linear-gradient(135deg, #34d399, #10b981);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
}

/* Стили для страницы правообладателей - тема Modern */
body.theme-modern .copyright-info {
    background: #ffffff;
    border-color: #e2e8f0;
    color: #2d3748;
}

body.theme-modern .copyright-form-container {
    background: #ffffff;
    border-color: #e2e8f0;
}

body.theme-modern .copyright-form-container h2 {
    color: #667eea;
}

body.theme-modern .copyright-form-container > p {
    color: #718096;
}

body.theme-modern .copyright-form .form-info {
    background: #f7fafc;
    color: #667eea;
    border-left-color: #667eea;
}

body.theme-modern .copyright-form label {
    color: #2d3748;
}

body.theme-modern .copyright-form input[type="text"],
body.theme-modern .copyright-form input[type="email"],
body.theme-modern .copyright-form textarea {
    background: #f7fafc;
    border-color: #e2e8f0;
    color: #2d3748;
}

body.theme-modern .copyright-form input[type="text"]:focus,
body.theme-modern .copyright-form input[type="email"]:focus,
body.theme-modern .copyright-form textarea:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

body.theme-modern .btn-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

body.theme-modern .btn-submit:hover {
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Стили для страницы правообладателей - тема Gaming */
body.theme-gaming .copyright-info {
    background: #252525;
    border-color: #3a3a3a;
    color: #d4d4d4;
}

body.theme-gaming .copyright-form-container {
    background: #252525;
    border-color: #3a3a3a;
}

body.theme-gaming .copyright-form-container h2 {
    color: #4a90e2;
}

body.theme-gaming .copyright-form-container > p {
    color: #b0b0b0;
}

body.theme-gaming .copyright-form .form-info {
    background: rgba(74, 144, 226, 0.1);
    color: #6ba3e8;
    border-left-color: #4a90e2;
}

body.theme-gaming .copyright-form label {
    color: #d4d4d4;
}

body.theme-gaming .copyright-form input[type="text"],
body.theme-gaming .copyright-form input[type="email"],
body.theme-gaming .copyright-form textarea {
    background: #1a1a1a;
    border-color: #3a3a3a;
    color: #d4d4d4;
}

body.theme-gaming .copyright-form input[type="text"]:focus,
body.theme-gaming .copyright-form input[type="email"]:focus,
body.theme-gaming .copyright-form textarea:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 10px rgba(74, 144, 226, 0.3);
}

body.theme-gaming .btn-submit {
    background: linear-gradient(135deg, #4a90e2 0%, #357abd 100%);
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.4);
}

body.theme-gaming .btn-submit:hover {
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.6);
}

/* Стили для админ-панели - черный текст везде */
body .admin-container {
    background: #ffffff !important;
    padding: 30px !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1) !important;
}

body .admin-container,
body .admin-container * {
    color: #000000 !important;
}

body .admin-container h1,
body .admin-container h2,
body .admin-container h3,
body .admin-container h4,
body .admin-container h5,
body .admin-container h6 {
    color: #000000 !important;
}

body .admin-container p,
body .admin-container span,
body .admin-container div,
body .admin-container td,
body .admin-container th,
body .admin-container label,
body .admin-container input,
body .admin-container textarea,
body .admin-container select {
    color: #000000 !important;
}

body .admin-container .admin-table {
    color: #000000 !important;
}

body .admin-container .admin-table td,
body .admin-container .admin-table th {
    color: #000000 !important;
}

body .admin-container .admin-table th {
    color: #ffffff !important;
    background: #2c3e50 !important;
}

body .admin-container a {
    color: #0000ff !important;
}

body .admin-container a:hover {
    color: #0000cc !important;
}

body .admin-container .alert-success,
body .admin-container .alert-error {
    color: #000000 !important;
}

body .admin-container .alert-success {
    background: #d4edda !important;
    color: #155724 !important;
}

body .admin-container .alert-error {
    background: #f8d7da !important;
    color: #721c24 !important;
}

body .admin-container .no-comments-admin,
body .admin-container .no-messages {
    color: #000000 !important;
}

body .admin-container .status-filter-btn {
    color: #000000 !important;
    background: #ecf0f1 !important;
}

body .admin-container .status-filter-btn.active {
    color: #ffffff !important;
    background: #3498db !important;
}

body .admin-container .btn-action,
body .admin-container .btn-admin {
    color: #ffffff !important;
}

body .admin-container .message-status,
body .admin-container .comment-status {
    color: #000000 !important;
}

body .admin-container .status-new,
body .admin-container .status-pending {
    background: #fff3cd !important;
    color: #856404 !important;
}

body .admin-container .status-read,
body .admin-container .status-approved {
    background: #d1ecf1 !important;
    color: #0c5460 !important;
}

body .admin-container .status-resolved {
    background: #d4edda !important;
    color: #155724 !important;
}

body .admin-container .status-rejected {
    background: #f8d7da !important;
    color: #721c24 !important;
}

body .admin-container .movie-link {
    color: #0000ff !important;
}

body .admin-container .stats-info {
    color: #000000 !important;
}

body .admin-container .stats-info p,
body .admin-container .stats-info strong {
    color: #000000 !important;
}

body .admin-container .warning-text {
    color: #856404 !important;
    background: #fff3cd !important;
}

body .admin-container .warning-text strong {
    color: #721c24 !important;
}

body .admin-container .clear-section {
    color: #000000 !important;
}

body .admin-container .clear-section h3 {
    color: #000000 !important;
}

body .admin-container .danger-zone {
    color: #000000 !important;
}

body .admin-container .danger-zone h3 {
    color: #e74c3c !important;
}

body .admin-container .form-group label {
    color: #000000 !important;
}

body .admin-container input[type="text"],
body .admin-container input[type="email"],
body .admin-container input[type="password"],
body .admin-container textarea,
body .admin-container select {
    color: #000000 !important;
    background: #ffffff !important;
}

body .admin-container .messages-table,
body .admin-container .comments-table {
    color: #000000 !important;
}

body .admin-container .messages-table td,
body .admin-container .comments-table td {
    color: #000000 !important;
}

body .admin-container .messages-table th,
body .admin-container .comments-table th {
    color: #ffffff !important;
    background: #f8f9fa !important;
}

body .admin-container .message-text-cell,
body .admin-container .comment-text-cell {
    color: #000000 !important;
}

/* Слайдер "Сейчас смотрят" */
.watching-slider-container {
    background: rgba(15, 23, 42, 0.95);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 0 25px rgba(59, 130, 246, 0.3);
}

.watching-slider-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #e5e7eb;
    font-weight: 600;
    font-size: 18px;
}

.watching-icon {
    font-size: 24px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.watching-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
}

.watching-slider-track {
    display: flex;
    gap: 15px;
    animation: slide 30s linear infinite;
    width: fit-content;
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.watching-slider:hover .watching-slider-track {
    animation-play-state: paused;
}

.watching-item {
    flex-shrink: 0;
    width: 180px;
    background: rgba(30, 41, 59, 0.8);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 2px solid transparent;
}

.watching-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
    border-color: rgba(59, 130, 246, 0.5);
}

.watching-poster {
    position: relative;
    display: block;
    width: 100%;
    height: 120px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.9);
}

.watching-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.watching-item:hover .watching-poster img {
    transform: scale(1.1);
}

.watching-poster-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: #60a5fa;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(15, 23, 42, 0.8) 100%);
}

.watching-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.watching-item:hover .watching-overlay {
    opacity: 1;
}

.watching-play-icon {
    font-size: 32px;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.watching-info {
    padding: 8px;
    color: #e5e7eb;
}

.watching-title-text {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #ffffff;
}

.watching-viewers {
    font-size: 10px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    gap: 4px;
}

.watching-count {
    color: #60a5fa;
    font-weight: 600;
}

/* Стили для слайдера в разных темах */
body.theme-green .watching-slider-container {
    background: rgba(6, 78, 59, 0.95);
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.3);
}

body.theme-green .watching-item {
    background: rgba(2, 44, 34, 0.8);
    border-color: transparent;
}

body.theme-green .watching-item:hover {
    border-color: rgba(16, 185, 129, 0.5);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.5);
}

body.theme-green .watching-count {
    color: #10b981;
}

body.theme-modern .watching-slider-container {
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

body.theme-modern .watching-slider-header {
    color: #2d3748;
}

body.theme-modern .watching-item {
    background: #f7fafc;
    border-color: #e2e8f0;
}

body.theme-modern .watching-item:hover {
    border-color: #667eea;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.2);
}

body.theme-modern .watching-info {
    color: #2d3748;
}

body.theme-modern .watching-title-text {
    color: #1a202c;
}

body.theme-modern .watching-viewers {
    color: #718096;
}

body.theme-modern .watching-count {
    color: #667eea;
}

body.theme-gaming .watching-slider-container {
    background: #1a1a1a;
    box-shadow: 0 0 25px rgba(74, 144, 226, 0.3);
}

body.theme-gaming .watching-item {
    background: #252525;
    border-color: #3a3a3a;
}

body.theme-gaming .watching-item:hover {
    border-color: #4a90e2;
    box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
}

body.theme-gaming .watching-count {
    color: #4a90e2;
}

body.theme-gold .watching-slider-container {
    background: rgba(139, 0, 0, 0.95);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.3);
}

body.theme-gold .watching-item {
    background: rgba(92, 0, 0, 0.8);
    border-color: transparent;
}

body.theme-gold .watching-item:hover {
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
}

body.theme-gold .watching-count {
    color: #d4af37;
}

body.theme-gold .watching-slider-header {
    color: #f4d03f;
}

body.theme-gold .watching-title-text {
    color: #f4d03f;
}

body.theme-gold .watching-viewers {
    color: #d4af37;
}

/* Стили для страницы правообладателей */
.copyright-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 20px;
}

.copyright-page h1 {
    color: #e5e7eb;
    font-size: 32px;
    margin-bottom: 30px;
    text-align: center;
}

.copyright-info {
    background: rgba(15, 23, 42, 0.9);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    color: #d1d5db;
    line-height: 1.8;
    border: 2px solid rgba(59, 130, 246, 0.3);
}

.copyright-form-container {
    background: rgba(15, 23, 42, 0.9);
    padding: 30px;
    border-radius: 12px;
    border: 2px solid rgba(59, 130, 246, 0.3);
}

.copyright-form-container h2 {
    color: #e5e7eb;
    font-size: 24px;
    margin-bottom: 15px;
}

.copyright-form-container > p {
    color: #9ca3af;
    margin-bottom: 25px;
    line-height: 1.6;
}

.copyright-form .form-info {
    background: rgba(59, 130, 246, 0.1);
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    color: #60a5fa;
    border-left: 4px solid #3b82f6;
}

.copyright-form .form-group {
    margin-bottom: 20px;
}

.copyright-form label {
    display: block;
    margin-bottom: 8px;
    color: #e5e7eb;
    font-weight: 500;
    font-size: 14px;
}

.copyright-form input[type="text"],
.copyright-form input[type="email"],
.copyright-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #3a3a3a;
    border-radius: 8px;
    font-size: 15px;
    background: rgba(2, 44, 34, 0.8);
    color: #e5e7eb;
    font-family: inherit;
    box-sizing: border-box;
}

.copyright-form input[type="text"]:focus,
.copyright-form input[type="email"]:focus,
.copyright-form textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.3);
}

.copyright-form textarea {
    resize: vertical;
    min-height: 150px;
}

.copyright-form small {
    display: block;
    margin-top: 5px;
    color: #9ca3af;
    font-size: 12px;
}

.btn-submit {
    padding: 14px 30px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
    width: 100%;
}

.btn-submit:hover {
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
    transform: translateY(-2px);
}

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}