/* Torrent Browser Styles */
.torrent-browser {
    background-color: #fff;
    color: #D22C20;
    padding: 20px;
    font-family: 'Open Sans', sans-serif;
    min-height: calc(100vh - 200px);
}

.torrent-header {
    text-align: center;
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(199, 39, 2, 0.15);
    border-radius: 10px;
}

.torrent-header h1 {
    color: #D22C20;
    font-size: 32px;
    margin-bottom: 5px;
    
}

.torrent-header p {
    color: #D22C20;
    font-size: 16px;
}

.torrent-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 10px;
}

.torrent-nav-item {
    padding: 10px 20px;
    font-weight: 600;
    color: #D22C20;
    cursor: pointer;
    transition: all 0.3s;
    background: rgba(245, 67, 56, 0.2);
    border-radius: 6px;
}

.torrent-nav-item.active {
    color: #D22C20;
    background: rgba(245, 67, 56, 0.3);
    
}

.torrent-nav-item:hover {
    color: #D22C20;
    background: rgba(245, 67, 56, 0.25);
}

.torrent-categories {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

/* Removed card look */
.category-section {
    background: transparent;
    border-radius: 0;
    padding: 10px 0;
    box-shadow: none;
    border: none;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 5px;
}

.category-title {
    color: #D22C20;
    font-size: 18px;
    font-weight: 700;
}

.category-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.category-item {
    display: flex;
    justify-content: space-between;
    padding: 8px;
    font-size: 14px;
    transition: background 0.2s;
    border-radius: 4px;
}

.category-item:hover {
    background: rgba(245, 67, 56, 0.2);
}

.item-name {
    color: #D22C20;
}

.item-count {
    color: #D22C20;
    font-weight: 600;
}

.mobile-category-select {
    display: none;
    width: 100%;
    padding: 12px;
    background-color: #C72702;
    color: #F2E30F;
    border-radius: 6px;
    margin-bottom: 20px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .torrent-nav {
        display: none;
    }

    .mobile-category-select {
        display: block;
    }

    .torrent-categories {
        grid-template-columns: 1fr;
    }

    .category-content {
        grid-template-columns: 1fr;
    }

    .torrent-header h1 {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .torrent-browser {
        padding: 10px;
    }

    .category-section {
        padding: 10px 0;
    }
}
