/* Общие стили */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background-color: #f5f7fa;
            color: #333;
            line-height: 1.6;
        }
        
        a {
            text-decoration: none;
            color: #3498db;
        }
        
        a:hover {
            color: #2980b9;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        
        /* Шапка с фоновым изображением */
        header {
            background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.9)), url('https://images.unsplash.com/photo-1531297484001-80022131f5a1?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1120&q=80');
            background-size: cover;
            background-position: center;
            color: white;
            padding: 60px 0 30px;
            margin-bottom: 30px;
        }
        
        .header-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }
        
        .logo {
            font-size: 36px;
            font-weight: bold;
            margin-bottom: 15px;
        }
        
        .logo a {
            color: white;
        }
        
        .tagline {
            font-size: 18px;
            margin-bottom: 25px;
            max-width: 600px;
        }
        
        nav {
            width: 100%;
            padding-top:20px;
        }
        
        nav ul {
            display: flex;
            justify-content: center;
            list-style: none;
            flex-wrap: wrap;
        }
        
        nav ul li {
            margin: 0 15px;
        }
        
        nav ul li a {
            color: white;
            font-weight: 500;
            font-size: 16px;
            padding: 8px 0;
            display: block;
            border-bottom: 2px solid transparent;
            transition: border-color 0.3s;
        }
        
        nav ul li a:hover, nav ul li a.active {
            border-color: #3498db;
        }
        
        .search-form {
            margin-top: 25px;
            width: 100%;
            max-width: 500px;
        }
        
        .search-form input {
            width: 100%;
            padding: 12px 20px;
            border: none;
            border-radius: 30px;
            font-size: 16px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        
        .search-form button {
            position: absolute;
            right: 5px;
            top: 5px;
            background: #3498db;
            border: none;
            color: white;
            padding: 7px 15px;
            border-radius: 30px;
            cursor: pointer;
            transition: background 0.3s;
        }
        
        .search-form button:hover {
            background: #2980b9;
        }
        
        .search-container {
            position: relative;
        }
        
        /* Основной контент */
        .main-content {
            display: flex;
            margin: 20px 0 40px;
        }
        
        /* Основной контент слева */
        .forum-content {
            flex: 1;
            margin-right: 20px;
        }
        
        .forum-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
        }
        
        .forum-title {
            font-size: 24px;
            font-weight: 600;
        }
        
        .new-topic-btn {
            background-color: #3498db;
            color: white;
            border: none;
            padding: 10px 15px;
            border-radius: 4px;
            cursor: pointer;
            font-weight: 500;
            transition: background 0.3s;
        }
        
        .new-topic-btn:hover {
            background-color: #2980b9;
        }
        
        /* Список категорий */
        .category {
            background: white;
            border-radius: 5px;
            margin-bottom: 20px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
            overflow: hidden;
        }
        
        .category-header {
            background-color: #f8f9fa;
            padding: 15px;
            border-bottom: 1px solid #eee;
            font-weight: 600;
        }
        
        .forum-list {
            width: 100%;
            border-collapse: collapse;
        }
        
        .forum-list th {
            text-align: left;
            padding: 15px;
            background-color: #f8f9fa;
            border-bottom: 1px solid #eee;
            font-weight: 600;
        }
        
        .forum-list td {
            padding: 15px;
            border-bottom: 1px solid #eee;
        }
        
        .forum-info {
            width: 60%;
        }
        
        .forum-title {
            font-weight: 500;
            margin-bottom: 5px;
        }
        
        .forum-desc {
            font-size: 14px;
            color: #666;
        }
        
        .forum-stats, .forum-latest {
            width: 20%;
            font-size: 14px;
        }
        
        .latest-post {
            display: flex;
            align-items: center;
        }
        
        .latest-avatar {
            width: 30px;
            height: 30px;
            border-radius: 50%;
            background-color: #3498db;
            margin-right: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
        }
        
        .latest-info {
            flex: 1;
        }
        
        .latest-topic {
            font-weight: 500;
            margin-bottom: 3px;
        }
        
        .latest-meta {
            font-size: 12px;
            color: #666;
        }
        
        /* Боковая панель справа */
        .sidebar {
            flex: 0 0 300px;
        }
        
        .sidebar-widget {
            background: white;
            border-radius: 5px;
            padding: 20px;
            margin-bottom: 20px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
        }
        
        .sidebar-widget h3 {
            margin-bottom: 15px;
            padding-bottom: 10px;
            border-bottom: 1px solid #eee;
            display: flex;
            align-items: center;
        }
        
        .sidebar-widget h3 i {
            margin-right: 10px;
            color: #3498db;
        }
        
        .sidebar-widget ul {
            list-style: none;
        }
        
        .sidebar-widget ul li {
            margin-bottom: 10px;
            padding-bottom: 10px;
            border-bottom: 1px solid #f5f5f5;
        }
        
        .sidebar-widget ul li:last-child {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: none;
        }
        
        .tags a {
            display: inline-block;
            background: #f1f8ff;
            color: #3498db;
            padding: 5px 10px;
            border-radius: 3px;
            margin: 0 5px 5px 0;
            font-size: 14px;
        }
        
        .tags a:hover {
            background: #3498db;
            color: white;
        }
        
        .user-stats {
            display: flex;
            justify-content: space-between;
            margin-bottom: 15px;
        }
        
        .stat {
            text-align: center;
            flex: 1;
        }
        
        .stat-value {
            font-size: 24px;
            font-weight: bold;
            color: #3498db;
        }
        
        .stat-label {
            font-size: 12px;
            color: #666;
        }
        
        /* Подвал */
        footer {
            background-color: #2c3e50;
            color: white;
            padding: 40px 0 20px;
            margin-top: 40px;
        }
        
        .footer-content {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
        }
        
        .footer-section {
            flex: 1;
            min-width: 250px;
            margin-bottom: 20px;
        }
        
        .footer-section h3 {
            margin-bottom: 20px;
            font-size: 18px;
            position: relative;
            padding-bottom: 10px;
        }
        
        .footer-section h3:after {
            content: '';
            position: absolute;
            left: 0;
            bottom: 0;
            width: 40px;
            height: 2px;
            background: #3498db;
        }
        
        .footer-section ul {
            list-style: none;
        }
        
        .footer-section ul li {
            margin-bottom: 10px;
        }
        
        .footer-section a {
            color: #ddd;
            transition: color 0.3s;
        }
        
        .footer-section a:hover {
            color: #3498db;
        }
        
        .social-links {
            display: flex;
            margin-top: 15px;
        }
        
        .social-links a {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            background: rgba(255,255,255,0.1);
            border-radius: 50%;
            margin-right: 10px;
            transition: background 0.3s;
        }
        
        .social-links a:hover {
            background: #3498db;
        }
        
        .footer-bottom {
            text-align: center;
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid #34495e;
            color: #bdc3c7;
            font-size: 14px;
        }
        
        /* Адаптивность */
        @media (max-width: 992px) {
            .main-content {
                flex-direction: column;
            }
            
            .forum-content {
                margin-right: 0;
                margin-bottom: 30px;
            }
            
            .sidebar {
                flex: 1;
            }
        }
        
        @media (max-width: 768px) {
            .forum-list th:nth-child(3),
            .forum-list td:nth-child(3) {
                display: none;
            }
            
            .forum-header {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .new-topic-btn {
                margin-top: 10px;
            }
            
            nav ul li {
                margin: 5px 10px;
            }
            
            .header-content {
                padding: 0 10px;
            }
            
            .footer-content {
                flex-direction: column;
            }
        }
        
        @media (max-width: 480px) {
            .forum-list th:nth-child(2),
            .forum-list td:nth-child(2) {
                display: none;
            }
            
            .logo {
                font-size: 28px;
            }
            
            .tagline {
                font-size: 16px;
            }
        }