:root {
    --bg-primary: #0a0a0a;
    --bg-secondary: #1a1a1a;
    --bg-card: #222222;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --accent: #4CAF50;
    --accent-hover: #45a049;
    --border: #333333;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Сетка сборок */
.builds-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

@media (min-width: 1200px) {
    .builds-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Карточка сборки */
.build-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border);
}

.build-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.build-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.build-content {
    padding: 20px;
}

.build-title {
    margin: 0 0 10px 0;
    font-size: 1.2rem;
    line-height: 1.4;
}

.build-excerpt {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.5;
}

/* Кнопки */
.build-buttons {
    display: flex;
    gap: 10px;
    padding: 0 20px 20px;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    flex: 1;
    transition: all 0.3s ease;
}

.btn-download {
    background: var(--accent);
    color: white;
}

.btn-download:hover {
    background: var(--accent-hover);
}

.btn-torrent {
    background: #FF5722;
    color: white;
}

.btn-torrent:hover {
    background: #E64A19;
}

/* Фильтр */
.builds-filter {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.filter-group {
    margin-bottom: 15px;
}

.filter-group label {
    display: block;
    margin-bottom: 5px;
    color: var(--text-secondary);
}

.filter-group select,
.filter-group input {
    width: 100%;
    padding: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text-primary);
}

/* Меню */
.main-menu {
    display: flex;
    align-items: center;
}

.menu-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 20px;
}

.menu-list a {
    color: var(--text-primary);
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.menu-list a:hover {
    background: var(--bg-secondary);
}

/* Адаптивность */
@media (max-width: 768px) {
    .builds-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .menu-list {
        flex-direction: column;
        gap: 10px;
    }
    
    .header-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .builds-grid {
        grid-template-columns: 1fr;
    }
    
    .build-buttons {
        flex-direction: column;
    }
}